1 write to AnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
48
AnalysisScope
= analysisScope;
19 references to AnalysisScope
Microsoft.CodeAnalysis.Features (19)
Diagnostics\Service\DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.cs (2)
60
var analysisScope = executor.
AnalysisScope
;
177
var analysisScope = executor.
AnalysisScope
;
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
30
foreach (var analyzer in executor.
AnalysisScope
.Analyzers)
Diagnostics\Service\DocumentAnalysisExecutor.cs (16)
79
Contract.ThrowIfFalse(
AnalysisScope
.Analyzers.Contains(analyzer));
81
var textDocument =
AnalysisScope
.TextDocument;
82
var span =
AnalysisScope
.Span;
83
var kind =
AnalysisScope
.Kind;
188
Contract.ThrowIfFalse(
AnalysisScope
.TextDocument is Document);
190
var analysisScope =
AnalysisScope
.WithAnalyzers([analyzer]).WithSpan(span);
211
if (
AnalysisScope
.TextDocument is not Document)
214
return await GetCompilerAnalyzerDiagnosticsInProcessAsync(
AnalysisScope
.Span).ConfigureAwait(false);
221
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
227
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)
241
var span =
AnalysisScope
.Span;
242
var document = (Document)
AnalysisScope
.TextDocument;
257
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
263
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)