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