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;
171
Contract.ThrowIfFalse(
AnalysisScope
.TextDocument is Document);
173
var analysisScope =
AnalysisScope
.WithAnalyzers([analyzer]).WithSpan(span);
194
if (
AnalysisScope
.TextDocument is not Document)
197
return await GetCompilerAnalyzerDiagnosticsInProcessAsync(
AnalysisScope
.Span).ConfigureAwait(false);
204
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
210
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)
224
var span =
AnalysisScope
.Span;
225
var document = (Document)
AnalysisScope
.TextDocument;
240
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
246
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)