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