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)
202if ((_reader == null) || (_buffer == null)) 220if (_lineNumber != -1 && ((_reader.Peek() == -1) && (_position == _charsRead))) 408if ((_reader == null) || (_buffer == null)) 427if ((_reader == null) || (_buffer == null)) 456if ((_reader == null) || (_buffer == null)) 485if ((_reader == null) || (_buffer == null)) 491builder.Append(_reader.ReadToEnd()); 530if (_reader != null) 534_reader.Close(); 628Debug.Assert(_reader != null, "There's no StreamReader"); 637_charsRead = _reader.Read(_buffer, 0, BufferLength); 644Debug.Assert(_reader != null, "There's no StreamReader"); 651int charsRead = _reader.Read(tempArray, bufferLength - _position, _position); 663Debug.Assert(_reader != null, "There's no StreamReader"); 672int charsRead = _reader.Read(tempArray, _buffer.Length, DEFAULT_BUFFER_LENGTH);