18 types derived from TextDocumentPositionParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (18)
Protocol\CompletionParams.cs (1)
16internal class CompletionParams : TextDocumentPositionParams, IPartialResultParams<SumType<CompletionItem[], CompletionList>?>, IWorkDoneProgressOptions
Protocol\DocumentHighlightParams.cs (1)
16internal class DocumentHighlightParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<DocumentHighlight[]>
Protocol\HoverParams.cs (1)
16internal class HoverParams : TextDocumentPositionParams, IWorkDoneProgressParams
Protocol\LinkedEditingRangeParams.cs (1)
16internal class LinkedEditingRangeParams : TextDocumentPositionParams, IWorkDoneProgressParams
Protocol\Moniker\MonikerParams.cs (1)
17internal class MonikerParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<Moniker[]>
Protocol\Navigation\CallHierarchyIncomingCallsParams.cs (1)
17internal class CallHierarchyIncomingCallsParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<CallHierarchyIncomingCall[]>
Protocol\Navigation\CallHierarchyOutgoingCallsParams.cs (1)
17internal class CallHierarchyOutgoingCallsParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<CallHierarchyOutgoingCall[]>
Protocol\Navigation\CallHierarchyPrepareParams.cs (1)
17internal class CallHierarchyPrepareParams : TextDocumentPositionParams, IWorkDoneProgressParams
Protocol\Navigation\DeclarationParams.cs (1)
16internal class DeclarationParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\DefinitionParams.cs (1)
16internal class DefinitionParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\ImplementationParams.cs (1)
16internal class ImplementationParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\ReferenceParams.cs (1)
16internal class ReferenceParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<Location[]>
Protocol\Navigation\TypeDefinitionParams.cs (1)
16internal class TypeDefinitionParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\TypeHierarchyPrepareParams.cs (1)
17internal class TypeHierarchyPrepareParams : TextDocumentPositionParams, IWorkDoneProgressParams
Protocol\Navigation\TypeHierarchySubtypesParams.cs (1)
17internal class TypeHierarchySubtypesParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<TypeHierarchyItem[]>
Protocol\Navigation\TypeHierarchySupertypesParams.cs (1)
17internal class TypeHierarchySupertypesParams : TextDocumentPositionParams, IWorkDoneProgressParams, IPartialResultParams<TypeHierarchyItem[]>
Protocol\RenameParams.cs (1)
16internal class RenameParams : TextDocumentPositionParams, IWorkDoneProgressParams
Protocol\SignatureHelpParams.cs (1)
16internal class SignatureHelpParams : TextDocumentPositionParams, IWorkDoneProgressParams
1 instantiation of TextDocumentPositionParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Extensions\ProtocolConversions.cs (1)
279return new LSP.TextDocumentPositionParams()
22 references to TextDocumentPositionParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (22)
Extensions\ProtocolConversions.cs (1)
277public static LSP.TextDocumentPositionParams PositionToTextDocumentPositionParams(int position, SourceText text, Document document)
Handler\DataTips\DataTipRangeHandler.cs (3)
21: ILspServiceDocumentRequestHandler<TextDocumentPositionParams, VSInternalDataTip?> 26public TextDocumentIdentifier GetTextDocumentIdentifier(TextDocumentPositionParams request) 29public async Task<VSInternalDataTip?> HandleRequestAsync(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\AbstractGoToDefinitionHandler.cs (4)
20internal abstract class AbstractGoToDefinitionHandler : ILspServiceDocumentRequestHandler<LSP.TextDocumentPositionParams, LSP.Location[]?> 34public TextDocumentIdentifier GetTextDocumentIdentifier(LSP.TextDocumentPositionParams request) => request.TextDocument; 36public abstract Task<LSP.Location[]?> HandleRequestAsync(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken); 38protected Task<LSP.Location[]?> GetDefinitionAsync(LSP.TextDocumentPositionParams request, bool forSymbolType, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\GoToDefinitionHandler.cs (1)
27public override Task<LSP.Location[]?> HandleRequestAsync(LSP.TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\GoToTypeDefinitionHandler.cs (1)
27public override Task<LSP.Location[]?> HandleRequestAsync(LSP.TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Highlights\DocumentHighlightHandler.cs (3)
25internal class DocumentHighlightsHandler : ILspServiceDocumentRequestHandler<TextDocumentPositionParams, DocumentHighlight[]?> 41public TextDocumentIdentifier GetTextDocumentIdentifier(TextDocumentPositionParams request) => request.TextDocument; 43public Task<DocumentHighlight[]?> HandleRequestAsync(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Hover\HoverHandler.cs (3)
26internal sealed class HoverHandler : ILspServiceDocumentRequestHandler<TextDocumentPositionParams, Hover?> 40public TextDocumentIdentifier GetTextDocumentIdentifier(TextDocumentPositionParams request) => request.TextDocument; 42public Task<Hover?> HandleRequestAsync(TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\References\FindImplementationsHandler.cs (3)
21internal sealed class FindImplementationsHandler : ILspServiceDocumentRequestHandler<LSP.TextDocumentPositionParams, LSP.Location[]> 35public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.TextDocumentPositionParams request) => request.TextDocument; 37public Task<LSP.Location[]> HandleRequestAsync(LSP.TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)
Handler\SignatureHelp\SignatureHelpHandler.cs (3)
26internal class SignatureHelpHandler(SignatureHelpService signatureHelpService) : ILspServiceDocumentRequestHandler<LSP.TextDocumentPositionParams, LSP.SignatureHelp?> 31public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.TextDocumentPositionParams request) => request.TextDocument; 33public Task<LSP.SignatureHelp?> HandleRequestAsync(LSP.TextDocumentPositionParams request, RequestContext context, CancellationToken cancellationToken)