5 references to GetPosition
Microsoft.CodeAnalysis (2)
Text\TextLineCollection.cs (2)
78
return TextSpan.FromBounds(
GetPosition
(span.Start),
GetPosition
(span.End));
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
229
var desiredCaretLocation = sourceText.Lines.
GetPosition
(desiredCaretLinePosition);
Microsoft.VisualStudio.LanguageServices (2)
Diagnostics\VisualStudioVenusSpanMappingService.cs (2)
57
var startPos = textLines.
GetPosition
(originalSpan.Start);
58
var endPos = textLines.
GetPosition
(originalSpan.End);