4 writes to _position
Microsoft.Data.Analysis.Tests (4)
src\Microsoft.Data.Analysis\TextFieldParser.cs (4)
414
string line = ReadNextLine(ref
_position
, BufferFunction);
629
_position
= 0;
653
_position
= 0;
685
line = ReadNextLine(ref
_position
, BufferFunction);
11 references to _position
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
);
645
Debug.Assert((
_position
>= 0) && (
_position
<= _buffer.Length), "The cursor is out of range");
646
if (
_position
> 0)
650
Array.Copy(_buffer,
_position
, tempArray, 0, bufferLength -
_position
);
651
int charsRead = _reader.Read(tempArray, bufferLength -
_position
,
_position
);
652
_charsRead = _charsRead -
_position
+ charsRead;