1 write to AnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
47
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)
70
Contract.ThrowIfFalse(
AnalysisScope
.Analyzers.Contains(analyzer));
72
var textDocument =
AnalysisScope
.TextDocument;
73
var span =
AnalysisScope
.Span;
74
var kind =
AnalysisScope
.Kind;
179
Contract.ThrowIfFalse(
AnalysisScope
.TextDocument is Document);
181
var analysisScope =
AnalysisScope
.WithAnalyzers([analyzer]).WithSpan(span);
202
if (
AnalysisScope
.TextDocument is not Document)
205
return await GetCompilerAnalyzerDiagnosticsInProcessAsync(
AnalysisScope
.Span).ConfigureAwait(false);
212
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
218
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)
232
var span =
AnalysisScope
.Span;
233
var document = (Document)
AnalysisScope
.TextDocument;
248
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
254
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)