3 references to GetDiagnosticsForSpanAsync
Microsoft.CodeAnalysis.Features (1)
Diagnostics\IDiagnosticAnalyzerService.cs (1)
111=> service.GetDiagnosticsForSpanAsync(document, range, diagnosticId, includeSuppressedDiagnostics, CodeActionRequestPriority.None, addOperationScope, diagnosticKind, cancellationToken);
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Diagnostics\DiagnosticSources\DocumentDiagnosticSource.cs (1)
29var allSpanDiagnostics = await diagnosticAnalyzerService.GetDiagnosticsForSpanAsync(
Handler\Diagnostics\DiagnosticSources\WorkspaceDocumentDiagnosticSource.cs (1)
29var documentDiagnostics = await diagnosticAnalyzerService.GetDiagnosticsForSpanAsync(sourceGeneratedDocument, range: null, cancellationToken: cancellationToken).ConfigureAwait(false);