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)
181
if (
_rowCounter
>= _currentDataTable.Rows.Count - 1)
189
ValidateRow(
_rowCounter
);
190
_currentDataRow = _currentDataTable.Rows[
_rowCounter
];
195
if (
_rowCounter
== _currentDataTable.Rows.Count)
201
ValidateRow(
_rowCounter
);
202
_currentDataRow = _currentDataTable.Rows[
_rowCounter
];
900
if (0 >
_rowCounter
|| _currentDataTable.Rows.Count <=
_rowCounter
)
943
if ((!_started) || (
_rowCounter
== -1 && !_tableCleared))
951
ValidateRow(
_rowCounter
+ 1);
952
if (_currentDataRow == _currentDataTable.Rows[
_rowCounter
+ 1])
965
if (
_rowCounter
== 0) // if I am at first row and no previous row exist,NOOP
967
ValidateRow(
_rowCounter
- 1);
968
if (_currentDataRow == _currentDataTable.Rows[
_rowCounter
- 1])
977
if (
_rowCounter
> 0)
981
_currentDataRow = _currentDataTable.Rows[
_rowCounter
];