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