3 instantiations of DocumentAnalysisScope
Microsoft.CodeAnalysis.Features (1)
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
315var analysisScope = new DocumentAnalysisScope(document, span, analyzers, kind);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\DocumentAnalysisScope.cs (2)
58=> new(TextDocument, span, Analyzers, Kind); 61=> new(TextDocument, Span, analyzers, Kind);
15 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)
28DocumentAnalysisScope? documentAnalysisScope,
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
315var analysisScope = new DocumentAnalysisScope(document, span, analyzers, 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"/>. 42DocumentAnalysisScope analysisScope, 59public DocumentAnalysisScope AnalysisScope { get; } 61public DocumentAnalysisExecutor With(DocumentAnalysisScope analysisScope) 149DocumentAnalysisScope analysisScope) 173var analysisScope = AnalysisScope.WithAnalyzers([analyzer]).WithSpan(span); 204var analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope); 240var analysisScope = AnalysisScope.WithAnalyzers(_compilationBasedAnalyzersInAnalysisScope);
Microsoft.CodeAnalysis.Workspaces (3)
Diagnostics\DocumentAnalysisScope.cs (2)
57public DocumentAnalysisScope WithSpan(TextSpan? span) 60public DocumentAnalysisScope WithAnalyzers(ImmutableArray<DiagnosticAnalyzer> analyzers)
Diagnostics\Extensions.cs (1)
108DocumentAnalysisScope? documentAnalysisScope,