2 instantiations of DocumentAnalysisExecutor
Microsoft.CodeAnalysis.Features (2)
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
310
var executor = new
DocumentAnalysisExecutor
(this, analysisScope, compilationWithAnalyzers, logPerformanceInfo);
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
68
=>
new
(_diagnosticAnalyzerService, analysisScope, _compilationWithAnalyzers, _logPerformanceInfo, _onAnalysisException);
9 references to DocumentAnalysisExecutor
Microsoft.CodeAnalysis.Features (9)
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
134
if (!
DocumentAnalysisExecutor
.IsAnalyzerEnabledForProject(analyzer, project, this._globalOptions))
Diagnostics\Service\DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.cs (2)
55
DocumentAnalysisExecutor
executor,
172
DocumentAnalysisExecutor
executor,
Diagnostics\Service\DiagnosticAnalyzerService_ComputeDiagnosticAnalysisResults.cs (2)
135
var syntaxDiagnostics = await
DocumentAnalysisExecutor
.ComputeDocumentDiagnosticAnalyzerDiagnosticsAsync(documentAnalyzer, textDocument, AnalysisKind.Syntax, compilation, tree, cancellationToken).ConfigureAwait(false);
136
var semanticDiagnostics = await
DocumentAnalysisExecutor
.ComputeDocumentDiagnosticAnalyzerDiagnosticsAsync(documentAnalyzer, textDocument, AnalysisKind.Semantic, compilation, tree, cancellationToken).ConfigureAwait(false);
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (3)
27
DocumentAnalysisExecutor
executor,
61
.WhereAsArray(a =>
DocumentAnalysisExecutor
.IsAnalyzerEnabledForProject(a, project, _globalOptions));
310
var
executor = new DocumentAnalysisExecutor(this, analysisScope, compilationWithAnalyzers, logPerformanceInfo);
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
67
public
DocumentAnalysisExecutor
With(DocumentAnalysisScope analysisScope)