8 writes to _rowCounter
System.Data.Common (8)
System\Data\DataTableReader.cs (8)
153_rowCounter = -1; 188_rowCounter++; 194_rowCounter++; 934_rowCounter = -1; 955_rowCounter++; // if so, refresh the datarow and fix the counter 971_rowCounter--; 980_rowCounter--; 986_rowCounter = -1;
16 references to _rowCounter
System.Data.Common (16)
System\Data\DataTableReader.cs (16)
181if (_rowCounter >= _currentDataTable.Rows.Count - 1) 189ValidateRow(_rowCounter); 190_currentDataRow = _currentDataTable.Rows[_rowCounter]; 195if (_rowCounter == _currentDataTable.Rows.Count) 201ValidateRow(_rowCounter); 202_currentDataRow = _currentDataTable.Rows[_rowCounter]; 900if (0 > _rowCounter || _currentDataTable.Rows.Count <= _rowCounter) 943if ((!_started) || (_rowCounter == -1 && !_tableCleared)) 951ValidateRow(_rowCounter + 1); 952if (_currentDataRow == _currentDataTable.Rows[_rowCounter + 1]) 965if (_rowCounter == 0) // if I am at first row and no previous row exist,NOOP 967ValidateRow(_rowCounter - 1); 968if (_currentDataRow == _currentDataTable.Rows[_rowCounter - 1]) 977if (_rowCounter > 0) 981_currentDataRow = _currentDataTable.Rows[_rowCounter];