8 writes to rowCounter
System.Data (8)
fx\src\data\System\Data\DataTableReader.cs (8)
150
rowCounter
= -1;
193
rowCounter
++;
198
rowCounter
++;
787
rowCounter
= -1;
812
rowCounter
++; // if so, refresh the datarow and fix the counter
824
rowCounter
--;
830
rowCounter
--;
834
rowCounter
= -1;
16 references to rowCounter
System.Data (16)
fx\src\data\System\Data\DataTableReader.cs (16)
186
if (
rowCounter
>= currentDataTable.Rows.Count -1 ) {
194
ValidateRow(
rowCounter
);
195
currentDataRow = currentDataTable.Rows[
rowCounter
];
199
if (
rowCounter
== currentDataTable.Rows.Count) {
205
ValidateRow(
rowCounter
);
206
currentDataRow = currentDataTable.Rows[
rowCounter
];
760
if (0 >
rowCounter
||currentDataTable.Rows.Count <=
rowCounter
) {
793
if ((!started) ||(
rowCounter
== -1 && !tableCleared))
802
ValidateRow(
rowCounter
+ 1);
811
if (currentDataRow == currentDataTable.Rows[
rowCounter
+ 1]) { // check if we moved one position up
820
if (
rowCounter
== 0) // if I am at first row and no previous row exist,NOOP
822
ValidateRow(
rowCounter
-1);
823
if (currentDataRow == currentDataTable.Rows[
rowCounter
- 1]) { // one of previous rows is detached, collection size is changed!
829
if (
rowCounter
> 0) { // go back one row, no matter what the state is
831
currentDataRow = currentDataTable.Rows[
rowCounter
];