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