1 instantiation of VSProjectContextList
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (1)
60return Task.FromResult<VSProjectContextList?>(new VSProjectContextList
13 references to VSProjectContextList
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Handler\ProjectContext\GetTextDocumentWithContextHandler.cs (4)
22internal class GetTextDocumentWithContextHandler() : ILspServiceDocumentRequestHandler<VSGetProjectContextsParams, VSProjectContextList?> 29public Task<VSProjectContextList?> HandleRequestAsync(VSGetProjectContextsParams request, RequestContext context, CancellationToken cancellationToken) 40return SpecializedTasks.Null<VSProjectContextList>(); 60return Task.FromResult<VSProjectContextList?>(new VSProjectContextList
Protocol\Extensions\VSMethods.cs (3)
17/// <see cref="VSProjectContextList" />. 26public static readonly LspRequest<VSGetProjectContextsParams, VSProjectContextList> GetProjectContexts = new LspRequest<VSGetProjectContextsParams, VSProjectContextList>(GetProjectContextsName);
Protocol\Extensions\VSProjectContextList.cs (1)
10/// <see cref="VSProjectContextList" /> represents the response to the
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (5)
ProjectContext\GetTextDocumentWithContextHandlerTests.cs (5)
36var result = await RunGetProjectContext(testLspServer, documentUri); 64var result = await RunGetProjectContext(testLspServer, documentUri); 99var result = await RunGetProjectContext(testLspServer, documentUri); 106internal static async Task<LSP.VSProjectContextList?> RunGetProjectContext(TestLspServer testLspServer, DocumentUri uri) 108return await testLspServer.ExecuteRequestAsync<LSP.VSGetProjectContextsParams, LSP.VSProjectContextList?>(LSP.VSMethods.GetProjectContextsName,