4 instantiations of DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
231var analysisScope = new DocumentAnalysisScope(document, span, projectAnalyzers, hostAnalyzers, kind);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (1)
183? new DocumentAnalysisScope(_document, _span, projectAnalyzers, hostAnalyzers, _analysisKind!.Value)
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\DocumentAnalysisScope.cs (2)
63=> new(TextDocument, span, ProjectAnalyzers, HostAnalyzers, Kind); 66=> new(TextDocument, Span, projectAnalyzers, hostAnalyzers, Kind);
23 references to DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (16)
Diagnostics\Service\DocumentAnalysisExecutor.cs (8)
24/// Executes analyzers on a document for computing local syntax/semantic/additional file diagnostics for a specific <see cref="DocumentAnalysisScope"/>. 40DocumentAnalysisScope analysisScope, 63public DocumentAnalysisScope AnalysisScope { get; } 65public DocumentAnalysisExecutor With(DocumentAnalysisScope analysisScope) 152private async Task<ImmutableDictionary<DiagnosticAnalyzer, DiagnosticAnalysisResult>> GetAnalysisResultAsync(DocumentAnalysisScope analysisScope, CancellationToken cancellationToken) 176var analysisScope = _compilationBasedProjectAnalyzersInAnalysisScope.Contains(analyzer) 213var analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedProjectAnalyzersInAnalysisScope, _compilationBasedHostAnalyzersInAnalysisScope); 249var analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedProjectAnalyzersInAnalysisScope, _compilationBasedHostAnalyzersInAnalysisScope);
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer.IncrementalMemberEditAnalyzer.cs (2)
54var analysisScope = executor.AnalysisScope; 171var analysisScope = executor.AnalysisScope;
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
231var analysisScope = new DocumentAnalysisScope(document, span, projectAnalyzers, hostAnalyzers, kind);
Diagnostics\Service\EngineV2\InProcOrRemoteHostAnalyzerRunner.cs (5)
37DocumentAnalysisScope documentAnalysisScope, 53DocumentAnalysisScope? documentAnalysisScope, 81DocumentAnalysisScope? documentAnalysisScope, 124DocumentAnalysisScope? documentAnalysisScope, 158DocumentAnalysisScope? documentAnalysisScope,
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (1)
182var documentAnalysisScope = _document != null
Microsoft.CodeAnalysis.Workspaces (6)
Diagnostics\DocumentAnalysisScope.cs (2)
62public DocumentAnalysisScope WithSpan(TextSpan? span) 65public DocumentAnalysisScope WithAnalyzers(ImmutableArray<DiagnosticAnalyzer> projectAnalyzers, ImmutableArray<DiagnosticAnalyzer> hostAnalyzers)
Diagnostics\Extensions.cs (4)
109DocumentAnalysisScope? documentAnalysisScope, 322DocumentAnalysisScope? documentAnalysisScope, 335DocumentAnalysisScope? documentAnalysisScope, 370DocumentAnalysisScope? documentAnalysisScope,