1 type derived from VSInternalDiagnosticReport
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Internal\Diagnostics\VSInternalWorkspaceDiagnosticReport.cs (1)
12internal sealed class VSInternalWorkspaceDiagnosticReport : VSInternalDiagnosticReport
17 instantiations of VSInternalDiagnosticReport
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (1)
29new VSInternalDiagnosticReport
Microsoft.VisualStudio.LanguageServices.Razor (2)
LanguageClient\Cohost\CohostDocumentPullDiagnosticsEndpoint.cs (2)
86return [new() 162new()
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (14)
Cohost\CohostDocumentPullDiagnosticsTest.cs (14)
92htmlResponse: [new VSInternalDiagnosticReport 139htmlResponse: [new VSInternalDiagnosticReport 175htmlResponse: [new VSInternalDiagnosticReport 213htmlResponse: [new VSInternalDiagnosticReport 247htmlResponse: [new VSInternalDiagnosticReport 281htmlResponse: [new VSInternalDiagnosticReport 324htmlResponse: [new VSInternalDiagnosticReport 367htmlResponse: [new VSInternalDiagnosticReport 410htmlResponse: [new VSInternalDiagnosticReport 445htmlResponse: [new VSInternalDiagnosticReport 479htmlResponse: [new VSInternalDiagnosticReport 502htmlResponse: [new VSInternalDiagnosticReport 536htmlResponse: [new VSInternalDiagnosticReport 642: [new()
28 references to VSInternalDiagnosticReport
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
LanguageServer\VSTypeScriptHandlerTests.cs (1)
53var response = await testLspServer.ExecuteRequestAsync<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]>(VSInternalMethods.DocumentPullDiagnosticName, documentPullRequest, CancellationToken.None);
Microsoft.CodeAnalysis.LanguageServer.Protocol (11)
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 (1)
42public static readonly LspRequest<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]> DocumentPullDiagnostic = new(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.CodeAnalysis.Razor.Workspaces (2)
Protocol\Diagnostics\RazorPullDiagnosticResponse.cs (2)
9[property: JsonPropertyName("csharpDiagnostics")] VSInternalDiagnosticReport[] CSharpDiagnostics, 10[property: JsonPropertyName("htmlDiagnostics")] VSInternalDiagnosticReport[] HtmlDiagnostics);
Microsoft.VisualStudio.LanguageServices.Razor (6)
LanguageClient\Cohost\CohostDocumentPullDiagnosticsEndpoint.cs (6)
37: CohostDocumentPullDiagnosticsEndpointBase<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]>( 71protected override async Task<VSInternalDiagnosticReport[]?> HandleRequestAsync(VSInternalDocumentDiagnosticsParams request, TextDocument razorDocument, CancellationToken cancellationToken) 132protected override LspDiagnostic[] ExtractHtmlDiagnostics(VSInternalDiagnosticReport[] result) 135foreach (var report in result) 146private async Task<VSInternalDiagnosticReport[]> HandleTaskListItemRequestAsync(TextDocument razorDocument, CancellationToken cancellationToken) 190public Task<VSInternalDiagnosticReport[]> HandleTaskListItemRequestAsync(TextDocument razorDocument, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices.Razor.UnitTests (2)
Cohost\CohostDocumentPullDiagnosticsTest.cs (2)
42var requestInvoker = new TestHtmlRequestInvoker([(VSInternalMethods.DocumentPullDiagnosticName, (VSInternalDiagnosticReport[]?)null)]); 580VSInternalDiagnosticReport[]? htmlResponse = null,
Microsoft.VisualStudioCode.RazorExtension.UnitTests (2)
Endpoints\CohostDocumentPullDiagnosticsTest.cs (2)
41var requestInvoker = new TestHtmlRequestInvoker([(VSInternalMethods.DocumentPullDiagnosticName, (VSInternalDiagnosticReport[]?)null)]); 57VSInternalDiagnosticReport[]? htmlResponse = null,