6 references to new
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Features\Diagnostics\DefaultDiagnosticAnalyzerService.cs (1)
166var analysisScope = new DocumentAnalysisScope(document, span: null, analyzers, kind);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (1)
326var analysisScope = new DocumentAnalysisScope(_document, span, analyzers, kind);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_IncrementalAnalyzer.cs (1)
89var analysisScope = new DocumentAnalysisScope(document, span: null, nonCachedStateSets.SelectAsArray(s => s.Analyzer), kind);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\DiagnosticAnalyzer\DiagnosticComputer.cs (1)
157? new DocumentAnalysisScope(_document, _span, analyzers, _analysisKind!.Value)
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\DocumentAnalysisScope.cs (2)
58=> new(TextDocument, span, Analyzers, Kind); 61=> new(TextDocument, Span, analyzers, Kind);