1 write to Project
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticAnalysisResultBuilder.cs (1)
35Project = project;
19 references to Project
Microsoft.CodeAnalysis.Workspaces (19)
Diagnostics\DiagnosticAnalysisResult.cs (1)
184builder.Project,
Diagnostics\DiagnosticAnalysisResultBuilder.cs (18)
59Contract.ThrowIfTrue(Project.SupportsCompilation); 74var diagnosticDocumentId = Project.GetDocumentForExternalLocation(diagnostic.Location); 78AddDocumentDiagnostic(ref lazyLocals, Project.GetTextDocument(diagnosticDocumentId), diagnostic); 83AddDocumentDiagnostic(ref _lazyNonLocals, Project.GetTextDocument(diagnosticDocumentId), diagnostic); 88AddOtherDiagnostic(DiagnosticData.Create(Project.Solution, diagnostic, Project)); 95AddOtherDiagnostic(DiagnosticData.Create(Project.Solution, diagnostic, Project)); 155var diagnosticDocumentId = Project.GetDocumentForExternalLocation(diagnostic.Location); 158AddDocumentDiagnostic(ref _lazyNonLocals, Project.GetRequiredTextDocument(diagnosticDocumentId), diagnostic); 162AddOtherDiagnostic(DiagnosticData.Create(Project.Solution, diagnostic, Project)); 168AddOtherDiagnostic(DiagnosticData.Create(Project.Solution, diagnostic, Project)); 176AddDocumentDiagnostic(ref lazyLocals, Project.GetDocument(diagnosticTree), diagnostic); 181AddDocumentDiagnostic(ref _lazyNonLocals, Project.GetDocument(diagnosticTree), diagnostic); 186AddOtherDiagnostic(DiagnosticData.Create(Project.Solution, diagnostic, Project));