4 references to TryGetPosition
Microsoft.CodeAnalysis.EditorFeatures.Text (4)
Shared\Extensions\ITextSnapshotExtensions.cs (4)
18var position = snapshot.TryGetPosition(lineNumber, columnIndex); 40=> TryGetPosition(snapshot, lineNumber, columnIndex) ?? throw new InvalidOperationException(TextEditorResources.The_snapshot_does_not_contain_the_specified_position); 95var startPosition = snapshot.TryGetPosition(startLine, startIndex); 96var endPosition = snapshot.TryGetPosition(endLine, endIndex);