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)
36
var linePosition = ProtocolConversions.
PositionToLinePosition
(request.Position);
Handler\Definitions\AbstractGoToDefinitionHandler.cs (1)
45
var linePosition = ProtocolConversions.
PositionToLinePosition
(request.Position);
Handler\Formatting\FormatDocumentOnTypeHandler.cs (1)
47
var position = await document.GetPositionFromLinePositionAsync(ProtocolConversions.
PositionToLinePosition
(request.Position), cancellationToken).ConfigureAwait(false);
Handler\Highlights\DocumentHighlightHandler.cs (1)
49
var position = ProtocolConversions.
PositionToLinePosition
(request.Position);
Handler\Hover\HoverHandler.cs (1)
47
var linePosition = ProtocolConversions.
PositionToLinePosition
(request.Position);
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
107
var linePosition = ProtocolConversions.
PositionToLinePosition
(request.Position);
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
59
var position = ProtocolConversions.
PositionToLinePosition
(request.Position);
Handler\References\FindAllReferencesHandler.cs (1)
59
var linePosition = ProtocolConversions.
PositionToLinePosition
(referenceParams.Position);
Handler\References\FindImplementationsHandler.cs (1)
41
var 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)
40
var linePosition = ProtocolConversions.
PositionToLinePosition
(request.Position);