7 writes to _lastColumnWithDataChunkRead
System.Data (7)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (7)
1441
_lastColumnWithDataChunkRead
= i;
1477
_lastColumnWithDataChunkRead
= i;
1520
_lastColumnWithDataChunkRead
= i;
1908
_lastColumnWithDataChunkRead
= i;
2007
_lastColumnWithDataChunkRead
= i;
3167
_lastColumnWithDataChunkRead
= -1;
4098
_lastColumnWithDataChunkRead
= i;
15 references to _lastColumnWithDataChunkRead
System.Data (15)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (15)
713
if (-1 !=
_lastColumnWithDataChunkRead
) {
2918
if ((IsCommandBehavior(CommandBehavior.SequentialAccess)) && ((_sharedState._nextColumnHeaderToRead > i + 1) || (
_lastColumnWithDataChunkRead
> i))) {
3473
if ((
_lastColumnWithDataChunkRead
> -1) && (i >
_lastColumnWithDataChunkRead
)) {
3557
if ((
_lastColumnWithDataChunkRead
== _sharedState._nextColumnDataToRead) && (_metaData[
_lastColumnWithDataChunkRead
].metaType.IsPlp)) {
3893
((_sharedState._nextColumnHeaderToRead > columnIndex + 1) || (
_lastColumnWithDataChunkRead
> columnIndex))) { // Read past column
3894
throw ADP.NonSequentialColumnAccess(columnIndex, Math.Max(_sharedState._nextColumnHeaderToRead - 1,
_lastColumnWithDataChunkRead
));
3913
((_sharedState._nextColumnDataToRead > columnIndex) || (
_lastColumnWithDataChunkRead
> columnIndex) || // Read past column
3914
((!allowPartiallyReadColumn) && (
_lastColumnWithDataChunkRead
== columnIndex)) || // Partially read column
3916
throw ADP.NonSequentialColumnAccess(columnIndex, Math.Max(_sharedState._nextColumnDataToRead,
_lastColumnWithDataChunkRead
+ 1));
3928
Debug.Assert((!enforceSequentialAccess) || (!IsCommandBehavior(CommandBehavior.SequentialAccess)) || ((_sharedState._nextColumnDataToRead <= columnIndex) && (
_lastColumnWithDataChunkRead
<= columnIndex)), "Already read past column");
4018
Debug.Assert(_sharedState._nextColumnDataToRead <=
_lastColumnWithDataChunkRead
, "Non sequential access");
4019
if ((_sharedState._nextColumnHeaderToRead <=
_lastColumnWithDataChunkRead
) || (_sharedState._nextColumnDataToRead <
_lastColumnWithDataChunkRead
)) {