1 type derived from VSInternalDiagnosticReport
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\Diagnostics\VSInternalWorkspaceDiagnosticReport.cs (1)
12internal sealed class VSInternalWorkspaceDiagnosticReport : VSInternalDiagnosticReport
2 instantiations of VSInternalDiagnosticReport
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (1)
29new VSInternalDiagnosticReport
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (1)
33=> new VSInternalDiagnosticReport { Diagnostics = diagnostics, ResultId = resultId };
22 references to VSInternalDiagnosticReport
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
LanguageServer\VSTypeScriptHandlerTests.cs (1)
80var response = await testLspServer.ExecuteRequestAsync<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]>(VSInternalMethods.DocumentPullDiagnosticName, documentPullRequest, CancellationToken.None);
Microsoft.CodeAnalysis.LanguageServer.Protocol (12)
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (1)
36/// should always <see cref="VSInternalDiagnosticReport.Supersedes"/> a workspace diagnostic as the former are 'live'
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (7)
18: AbstractDocumentPullDiagnosticHandler<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[], VSInternalDiagnosticReport[]>( 27protected override VSInternalDiagnosticReport[] CreateReport(TextDocumentIdentifier identifier, Roslyn.LanguageServer.Protocol.Diagnostic[]? diagnostics, string? resultId) 42protected override VSInternalDiagnosticReport[] CreateRemovedReport(TextDocumentIdentifier identifier) 45protected override bool TryCreateUnchangedReport(TextDocumentIdentifier identifier, string resultId, out VSInternalDiagnosticReport[] report) 62protected override VSInternalDiagnosticReport[]? CreateReturn(BufferedProgress<VSInternalDiagnosticReport[]> progress)
Protocol\Internal\Diagnostics\VSInternalDocumentDiagnosticsParams.cs (2)
13internal sealed class VSInternalDocumentDiagnosticsParams : VSInternalDiagnosticParams, IPartialResultParams<VSInternalDiagnosticReport[]>, IWorkDoneProgressParams 23public IProgress<VSInternalDiagnosticReport[]>? PartialResultToken { get; set; }
Protocol\Internal\VSInternalMethods.cs (2)
41public static readonly LspRequest<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]> DocumentPullDiagnostic = new LspRequest<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]>(DocumentPullDiagnosticName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
Diagnostics\AbstractPullDiagnosticTestsBase.cs (4)
193IProgress<VSInternalDiagnosticReport[]>? progress = null, 256BufferedProgress<VSInternalDiagnosticReport[]>? progress = useProgress ? BufferedProgress.Create<VSInternalDiagnosticReport[]>(null) : null; 257var diagnostics = await testLspServer.ExecuteRequestAsync<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]>(
Microsoft.VisualStudio.LanguageServices.Xaml (5)
Implementation\LanguageServer\Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (2)
29where TReport : VSInternalDiagnosticReport 52/// Creates the <see cref="VSInternalDiagnosticReport"/> instance we'll report back to clients to let them know our
Implementation\LanguageServer\Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (3)
20internal sealed class DocumentPullDiagnosticHandler : AbstractPullDiagnosticHandler<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport>, ITextDocumentIdentifierHandler<VSInternalDocumentDiagnosticsParams, TextDocumentIdentifier?> 32protected override VSInternalDiagnosticReport CreateReport(TextDocumentIdentifier? identifier, VSDiagnostic[]? diagnostics, string? resultId) 48protected override IProgress<VSInternalDiagnosticReport[]>? GetProgress(VSInternalDocumentDiagnosticsParams diagnosticsParams)