1 write to _lineStarts
Microsoft.CodeAnalysis (1)
Text\SourceText.cs (1)
861
_lineStarts
= lineStarts;
9 references to _lineStarts
Microsoft.CodeAnalysis (9)
Text\SourceText.cs (9)
864
public override int Count =>
_lineStarts
.Length;
870
if (index < 0 || index >=
_lineStarts
.Length)
875
int start =
_lineStarts
[index];
876
if (index ==
_lineStarts
.Length - 1)
882
int end =
_lineStarts
[index + 1];
900
if (position >=
_lineStarts
[lastLineNumber])
902
var limit = Math.Min(
_lineStarts
.Length, lastLineNumber + 4);
905
if (position <
_lineStarts
[i])
917
lineNumber =
_lineStarts
.BinarySearch(position);