3 writes to _charsRead
Microsoft.Data.Analysis.Tests (3)
src\Microsoft.Data.Analysis\TextFieldParser.cs (3)
637
_charsRead
= _reader.Read(_buffer, 0, BufferLength);
652
_charsRead
= _charsRead - _position + charsRead;
674
_charsRead
+= charsRead;
11 references to _charsRead
Microsoft.Data.Analysis.Tests (11)
src\Microsoft.Data.Analysis\TextFieldParser.cs (11)
220
if (_lineNumber != -1 && ((_reader.Peek() == -1) && (_position ==
_charsRead
)))
490
builder.Append(_buffer, _position,
_charsRead
- _position);
638
return
_charsRead
;
652
_charsRead =
_charsRead
- _position + charsRead;
664
_peekPosition =
_charsRead
;
675
Debug.Assert(
_charsRead
<= bufferSize, "We've read more chars than we have space for");
713
Debug.Assert((cursor >= 0) && (cursor <=
_charsRead
), "The cursor is out of range");
714
if (cursor ==
_charsRead
&& changeBuffer() == 0)
722
for (int i = cursor; i <=
_charsRead
- 1; i++)
741
if (cursor <
_charsRead
)
759
int Size =
_charsRead
- cursor;