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