1 write to AnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
48
AnalysisScope
= analysisScope;
22 references to AnalysisScope
Microsoft.CodeAnalysis.Features (22)
Diagnostics\Service\DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.cs (2)
60
var analysisScope = executor.
AnalysisScope
;
177
var analysisScope = executor.
AnalysisScope
;
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (2)
31
foreach (var analyzer in executor.
AnalysisScope
.ProjectAnalyzers.ConcatFast(executor.
AnalysisScope
.HostAnalyzers))
Diagnostics\Service\DocumentAnalysisExecutor.cs (18)
76
Contract.ThrowIfFalse(
AnalysisScope
.ProjectAnalyzers.Contains(analyzer) ||
AnalysisScope
.HostAnalyzers.Contains(analyzer));
78
var textDocument =
AnalysisScope
.TextDocument;
79
var span =
AnalysisScope
.Span;
80
var kind =
AnalysisScope
.Kind;
177
RoslynDebug.Assert(
AnalysisScope
.TextDocument is Document);
180
?
AnalysisScope
.WithAnalyzers([analyzer], []).WithSpan(span)
181
:
AnalysisScope
.WithAnalyzers([], [analyzer]).WithSpan(span);
204
if (
AnalysisScope
.TextDocument is not Document)
207
return await GetCompilerAnalyzerDiagnosticsInProcessAsync(
AnalysisScope
.Span).ConfigureAwait(false);
214
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedProjectAnalyzersInAnalysisScope, _compilationBasedHostAnalyzersInAnalysisScope);
220
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)
234
var span =
AnalysisScope
.Span;
235
var document = (Document)
AnalysisScope
.TextDocument;
250
var analysisScope =
AnalysisScope
.WithAnalyzers(_compilationBasedProjectAnalyzersInAnalysisScope, _compilationBasedHostAnalyzersInAnalysisScope);
256
? diagnosticAnalysisResult.GetDocumentDiagnostics(
AnalysisScope
.TextDocument.Id,
AnalysisScope
.Kind)