3 instantiations of DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
315
var analysisScope = new
DocumentAnalysisScope
(document, span, analyzers, kind);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\DocumentAnalysisScope.cs (2)
58
=>
new
(TextDocument, span, Analyzers, Kind);
61
=>
new
(TextDocument, Span, analyzers, Kind);
15 references to DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (12)
Diagnostics\Service\DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.cs (2)
60
var
analysisScope = executor.AnalysisScope;
177
var
analysisScope = executor.AnalysisScope;
Diagnostics\Service\DiagnosticAnalyzerService_CoreAnalyze.cs (1)
28
DocumentAnalysisScope
? documentAnalysisScope,
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
315
var
analysisScope = new DocumentAnalysisScope(document, span, analyzers, kind);
Diagnostics\Service\DocumentAnalysisExecutor.cs (8)
26
/// Executes analyzers on a document for computing local syntax/semantic/additional file diagnostics for a specific <see cref="
DocumentAnalysisScope
"/>.
42
DocumentAnalysisScope
analysisScope,
59
public
DocumentAnalysisScope
AnalysisScope { get; }
61
public DocumentAnalysisExecutor With(
DocumentAnalysisScope
analysisScope)
149
DocumentAnalysisScope
analysisScope)
173
var
analysisScope = AnalysisScope.WithAnalyzers([analyzer]).WithSpan(span);
204
var
analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
240
var
analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
Microsoft.CodeAnalysis.Workspaces (3)
Diagnostics\DocumentAnalysisScope.cs (2)
57
public
DocumentAnalysisScope
WithSpan(TextSpan? span)
60
public
DocumentAnalysisScope
WithAnalyzers(ImmutableArray<DiagnosticAnalyzer> analyzers)
Diagnostics\Extensions.cs (1)
108
DocumentAnalysisScope
? documentAnalysisScope,