1 instantiation of DocumentAnalysisExecutor
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor.cs (1)
69
=>
new
(analysisScope, _compilationWithAnalyzers, _diagnosticAnalyzerRunner, _isExplicit, _logPerformanceInfo, _onAnalysisException);
14 references to DocumentAnalysisExecutor
Microsoft.CodeAnalysis.LanguageServer.Protocol (14)
ExternalAccess\VSMac\AnalyzerHelper.cs (1)
12
=>
DocumentAnalysisExecutor
.CreateAnalyzerLoadFailureDiagnostic(e, fullPath, projectId, language);
Features\Diagnostics\DocumentAnalysisExecutor.cs (1)
68
public
DocumentAnalysisExecutor
With(DocumentAnalysisScope analysisScope)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.Executor.cs (5)
158
builder.AddSyntaxDiagnostics(tree, await
DocumentAnalysisExecutor
.ComputeDocumentDiagnosticAnalyzerDiagnosticsAsync(documentAnalyzer, document, AnalysisKind.Syntax, compilation, cancellationToken).ConfigureAwait(false));
159
builder.AddSemanticDiagnostics(tree, await
DocumentAnalysisExecutor
.ComputeDocumentDiagnosticAnalyzerDiagnosticsAsync(documentAnalyzer, document, AnalysisKind.Semantic, compilation, cancellationToken).ConfigureAwait(false));
163
builder.AddExternalSyntaxDiagnostics(document.Id, await
DocumentAnalysisExecutor
.ComputeDocumentDiagnosticAnalyzerDiagnosticsAsync(documentAnalyzer, document, AnalysisKind.Syntax, compilation, cancellationToken).ConfigureAwait(false));
164
builder.AddExternalSemanticDiagnostics(document.Id, await
DocumentAnalysisExecutor
.ComputeDocumentDiagnosticAnalyzerDiagnosticsAsync(documentAnalyzer, document, AnalysisKind.Semantic, compilation, cancellationToken).ConfigureAwait(false));
172
builder.AddCompilationDiagnostics(await
DocumentAnalysisExecutor
.ComputeProjectDiagnosticAnalyzerDiagnosticsAsync(projectAnalyzer, project, compilation, cancellationToken).ConfigureAwait(false));
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.IncrementalMemberEditAnalyzer.cs (2)
49
DocumentAnalysisExecutor
executor,
166
DocumentAnalysisExecutor
executor,
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnostics.cs (1)
139
if (!
DocumentAnalysisExecutor
.IsAnalyzerEnabledForProject(analyzer, project, this.GlobalOptions))
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (4)
27
DocumentAnalysisExecutor
executor,
42
DocumentAnalysisExecutor
executor,
68
.WhereAsArray(a =>
DocumentAnalysisExecutor
.IsAnalyzerEnabledForProject(a, document.Project, GlobalOptions));
239
var
executor = new DocumentAnalysisExecutor(analysisScope, compilationWithAnalyzers, _diagnosticAnalyzerRunner, isExplicit, logPerformanceInfo);