2 instantiations of SelectionRangeParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
SelectionRanges\SelectionRangesTests.cs (2)
178var request = new LSP.SelectionRangeParams 222var request = new LSP.SelectionRangeParams
8 references to SelectionRangeParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\SelectionRanges\SelectionRangeHandler.cs (3)
21internal sealed class SelectionRangeHandler() : ILspServiceDocumentRequestHandler<SelectionRangeParams, SelectionRange[]?> 26public TextDocumentIdentifier GetTextDocumentIdentifier(SelectionRangeParams request) => request.TextDocument; 28public async Task<SelectionRange[]?> HandleRequestAsync(SelectionRangeParams request, RequestContext context, CancellationToken cancellationToken)
Protocol\Methods.Document.cs (1)
119public static readonly LspRequest<SelectionRangeParams, SelectionRange[]?> TextDocumentSelectionRange = new(TextDocumentSelectionRangeName);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
SelectionRanges\SelectionRangesTests.cs (4)
178var request = new LSP.SelectionRangeParams 184var results = await testLspServer.ExecuteRequestAsync<LSP.SelectionRangeParams, LSP.SelectionRange[]>( 222var request = new LSP.SelectionRangeParams 228var results = await testLspServer.ExecuteRequestAsync<LSP.SelectionRangeParams, LSP.SelectionRange[]>(