1 instantiation of VSGetProjectContextsParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
ProjectContext\GetTextDocumentWithContextHandlerTests.cs (1)
185=> new()
9 references to VSGetProjectContextsParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (3)
24internal class GetTextDocumentWithContextHandler() : ILspServiceDocumentRequestHandler<VSGetProjectContextsParams, VSProjectContextList?> 29public TextDocumentIdentifier GetTextDocumentIdentifier(VSGetProjectContextsParams request) => new() { DocumentUri = request.TextDocument.DocumentUri }; 31public async Task<VSProjectContextList?> HandleRequestAsync(VSGetProjectContextsParams request, RequestContext context, CancellationToken cancellationToken)
Protocol\Extensions\VSGetProjectContextsParams.cs (1)
10/// <see cref="VSGetProjectContextsParams" /> represents the parameter that is sent
Protocol\Extensions\VSMethods.cs (2)
16/// This method has a parameter of type <see cref="VSGetProjectContextsParams" /> and a return value of type 31public static readonly LspRequest<VSGetProjectContextsParams, VSProjectContextList> GetProjectContexts = new(GetProjectContextsName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
ProjectContext\GetTextDocumentWithContextHandlerTests.cs (3)
174return await testLspServer.ExecuteRequestAsync<LSP.VSGetProjectContextsParams, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName, 180return await testLspServer.ExecuteRequestAsync<LSP.VSGetProjectContextsParams, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName, 184private static LSP.VSGetProjectContextsParams CreateGetProjectContextParams(DocumentUri uri)