1 instantiation of VSProjectContextList
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (1)
68return new VSProjectContextList
12 references to VSProjectContextList
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (2)
24internal class GetTextDocumentWithContextHandler() : ILspServiceDocumentRequestHandler<VSGetProjectContextsParams, VSProjectContextList?> 31public async Task<VSProjectContextList?> HandleRequestAsync(VSGetProjectContextsParams request, RequestContext context, CancellationToken cancellationToken)
Protocol\Extensions\VSMethods.cs (2)
17/// <see cref="VSProjectContextList" />. 31public static readonly LspRequest<VSGetProjectContextsParams, VSProjectContextList> GetProjectContexts = new(GetProjectContextsName);
Protocol\Extensions\VSProjectContextList.cs (1)
10/// <see cref="VSProjectContextList" /> represents the response to the
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (7)
ProjectContext\GetTextDocumentWithContextHandlerTests.cs (7)
37var result = await RunGetProjectContext(testLspServer, documentUri); 65var result = await RunGetProjectContext(testLspServer, documentUri); 100var result = await RunGetProjectContext(testLspServer, documentUri); 171internal static async Task<LSP.VSProjectContextList?> RunGetProjectContext(TestLspServer testLspServer, TestHostDocument document) 174return await testLspServer.ExecuteRequestAsync<LSP.VSGetProjectContextsParams, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName, 178internal static async Task<LSP.VSProjectContextList?> RunGetProjectContext(TestLspServer testLspServer, DocumentUri uri) 180return await testLspServer.ExecuteRequestAsync<LSP.VSGetProjectContextsParams, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName,