4 instantiations of DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
309var analysisScope = new DocumentAnalysisScope(document, span, projectAnalyzers, hostAnalyzers, kind);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (1)
180? 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);
19 references to DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (12)
Diagnostics\Service\DiagnosticAnalyzerService.IncrementalMemberEditAnalyzer.cs (2)
60var analysisScope = executor.AnalysisScope; 177var analysisScope = executor.AnalysisScope;
Diagnostics\Service\DiagnosticAnalyzerService_CoreAnalyze.cs (1)
23DocumentAnalysisScope? documentAnalysisScope,
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
309var analysisScope = new DocumentAnalysisScope(document, span, projectAnalyzers, hostAnalyzers, kind);
Diagnostics\Service\DocumentAnalysisExecutor.cs (8)
26/// Executes analyzers on a document for computing local syntax/semantic/additional file diagnostics for a specific <see cref="DocumentAnalysisScope"/>. 43DocumentAnalysisScope analysisScope, 65public DocumentAnalysisScope AnalysisScope { get; } 67public DocumentAnalysisExecutor With(DocumentAnalysisScope analysisScope) 155DocumentAnalysisScope analysisScope) 179var analysisScope = _compilationBasedProjectAnalyzersInAnalysisScope.Contains(analyzer) 214var analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedProjectAnalyzersInAnalysisScope, _compilationBasedHostAnalyzersInAnalysisScope); 250var analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedProjectAnalyzersInAnalysisScope, _compilationBasedHostAnalyzersInAnalysisScope);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (1)
179var 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, 329DocumentAnalysisScope? documentAnalysisScope, 342DocumentAnalysisScope? documentAnalysisScope, 377DocumentAnalysisScope? documentAnalysisScope,