public override int Read() { int ch = base.Read(); if (ch != -1) { _col++; if (ch == '\n') { _lineNumber++; _col = 0; } } return ch; }