2 instantiations of SelectionRangeParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
SelectionRanges\SelectionRangesTests.cs (2)
178var request = new LSP.SelectionRangeParams 222var request = new LSP.SelectionRangeParams
14 references to SelectionRangeParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\SelectionRanges\SelectionRangeHandler.cs (3)
22internal sealed class SelectionRangeHandler() : ILspServiceDocumentRequestHandler<SelectionRangeParams, SelectionRange[]?> 27public TextDocumentIdentifier GetTextDocumentIdentifier(SelectionRangeParams request) => request.TextDocument; 29public 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[]>(
Microsoft.VisualStudio.LanguageServices.Razor (3)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\SelectionRanges\CohostSelectionRangeEndpoint.cs (3)
26: AbstractCohostDocumentEndpoint<SelectionRangeParams, SelectionRange[]?>(incompatibleProjectService), IDynamicRegistrationProvider 48protected override RazorTextDocumentIdentifier? GetRazorTextDocumentIdentifier(SelectionRangeParams request) 51protected override Task<SelectionRange[]?> HandleRequestAsync(SelectionRangeParams request, TextDocument razorDocument, CancellationToken cancellationToken)
Microsoft.VisualStudioCode.RazorExtension (3)
src\Razor\src\Razor\src\Microsoft.CodeAnalysis.Razor.CohostingShared\SelectionRanges\CohostSelectionRangeEndpoint.cs (3)
26: AbstractCohostDocumentEndpoint<SelectionRangeParams, SelectionRange[]?>(incompatibleProjectService), IDynamicRegistrationProvider 48protected override RazorTextDocumentIdentifier? GetRazorTextDocumentIdentifier(SelectionRangeParams request) 51protected override Task<SelectionRange[]?> HandleRequestAsync(SelectionRangeParams request, TextDocument razorDocument, CancellationToken cancellationToken)