6 writes to _currentPosition
System.Data (6)
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (6)
968
_currentPosition
= PositionState.BeforeResults;
1075
_currentPosition
= PositionState.BeforeRows;
1104
_currentPosition
= PositionState.OnRow;
1111
_currentPosition
= PositionState.OnRow;
1117
_currentPosition
= PositionState.AfterRows;
1131
_currentPosition
= PositionState.AfterResults;
12 references to _currentPosition
System.Data (12)
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (12)
373
if( PositionState.AfterResults !=
_currentPosition
)
395
return PositionState.AfterResults !=
_currentPosition
;
444
PositionState.AfterRows !=
_currentPosition
&& // Have we seen a statement completed event?
451
return PositionState.OnRow ==
_currentPosition
;
1048
if (
_currentPosition
!= PositionState.OnRow) {
1065
return (PositionState.AfterResults ==
_currentPosition
|| PositionState.BeforeResults ==
_currentPosition
);
1069
Debug.Assert(
_currentPosition
!= PositionState.AfterResults );
1101
Debug.Assert(
_currentPosition
!= PositionState.AfterResults );
1108
Debug.Assert(
_currentPosition
!= PositionState.AfterResults );
1115
Debug.Assert(
_currentPosition
!= PositionState.AfterResults );
1127
Debug.Assert(
_currentPosition
!= PositionState.AfterResults );