4 writes to _reader
Microsoft.Data.Analysis (4)
TextFieldParser.cs (4)
391
_reader
= reader ?? throw new ArgumentNullException(nameof(reader));
536
_reader
= null;
561
_reader
= new StreamReader(fileStreamTemp, defaultEncoding, detectEncoding);
579
_reader
= new StreamReader(stream, defaultEncoding, detectEncoding);
15 references to _reader
Microsoft.Data.Analysis (15)
TextFieldParser.cs (15)
202
if ((
_reader
== null) || (_buffer == null))
220
if (_lineNumber != -1 && ((
_reader
.Peek() == -1) && (_position == _charsRead)))
408
if ((
_reader
== null) || (_buffer == null))
427
if ((
_reader
== null) || (_buffer == null))
456
if ((
_reader
== null) || (_buffer == null))
485
if ((
_reader
== null) || (_buffer == null))
491
builder.Append(
_reader
.ReadToEnd());
530
if (
_reader
!= null)
534
_reader
.Close();
628
Debug.Assert(
_reader
!= null, "There's no StreamReader");
637
_charsRead =
_reader
.Read(_buffer, 0, BufferLength);
644
Debug.Assert(
_reader
!= null, "There's no StreamReader");
651
int charsRead =
_reader
.Read(tempArray, bufferLength - _position, _position);
663
Debug.Assert(
_reader
!= null, "There's no StreamReader");
672
int charsRead =
_reader
.Read(tempArray, _buffer.Length, DEFAULT_BUFFER_LENGTH);