15 references to PositionToLinePosition
Microsoft.CodeAnalysis.LanguageServer.Protocol (15)
Extensions\ProtocolConversions.cs (2)
296=> new(PositionToLinePosition(range.Start), PositionToLinePosition(range.End));
Handler\Completion\CompletionHandler.cs (1)
55.GetPositionFromLinePositionAsync(ProtocolConversions.PositionToLinePosition(request.Position), cancellationToken)
Handler\DataTips\DataTipRangeHandler.cs (1)
36var linePosition = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\Definitions\AbstractGoToDefinitionHandler.cs (1)
45var linePosition = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
47var position = await document.GetPositionFromLinePositionAsync(ProtocolConversions.PositionToLinePosition(request.Position), cancellationToken).ConfigureAwait(false);
Handler\Highlights\DocumentHighlightHandler.cs (1)
49var position = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\Hover\HoverHandler.cs (1)
47var linePosition = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
107var linePosition = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
59var position = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\References\FindAllReferencesHandler.cs (1)
59var linePosition = ProtocolConversions.PositionToLinePosition(referenceParams.Position);
Handler\References\FindImplementationsHandler.cs (1)
41var linePosition = ProtocolConversions.PositionToLinePosition(request.Position);
Handler\Rename\PrepareRenameHandler.cs (1)
29=> GetRenameRangeAsync(context.GetRequiredDocument(), ProtocolConversions.PositionToLinePosition(request.Position), cancellationToken);
Handler\Rename\RenameHandler.cs (1)
32=> GetRenameEditAsync(context.GetRequiredDocument(), ProtocolConversions.PositionToLinePosition(request.Position), request.NewName, cancellationToken);
Handler\SignatureHelp\SignatureHelpHandler.cs (1)
40var linePosition = ProtocolConversions.PositionToLinePosition(request.Position);