2 writes to _lineCount
Microsoft.CodeAnalysis (2)
Text\SubText.cs (2)
117
_lineCount
= (endLineInUnderlyingText.LineNumber - _startLineNumberInUnderlyingText) + 1;
136
_lineCount
+= 1;
4 references to _lineCount
Microsoft.CodeAnalysis (4)
Text\SubText.cs (4)
144
if (lineNumber < 0 || lineNumber >=
_lineCount
)
149
if (_endsWithinSplitCRLF && lineNumber ==
_lineCount
- 1)
183
var shouldContainLineBreak = (lineNumber !=
_lineCount
- 1);
198
public override int Count =>
_lineCount
;