13 writes to _columnDataBytesRemaining
System.Data (13)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (13)
208
_sharedState.
_columnDataBytesRemaining
= (long)_parser.PlpBytesLeft(_stateObj);
1583
_sharedState.
_columnDataBytesRemaining
= (long)left;
1640
_sharedState.
_columnDataBytesRemaining
-= cb;
1825
_sharedState.
_columnDataBytesRemaining
= -1;
1828
_sharedState.
_columnDataBytesRemaining
= (long)left;
1836
_sharedState.
_columnDataBytesRemaining
-= bytesRead;
2132
_sharedState.
_columnDataBytesRemaining
= (long)_parser.PlpBytesLeft(_stateObj);
2172
_sharedState.
_columnDataBytesRemaining
= (long)_parser.PlpBytesLeft(_stateObj);
3166
_sharedState.
_columnDataBytesRemaining
= -1; // unknown
3384
_sharedState.
_columnDataBytesRemaining
= 0;
3537
_sharedState.
_columnDataBytesRemaining
= (long)dataLength;
3659
_sharedState.
_columnDataBytesRemaining
= 0;
4764
_sharedState.
_columnDataBytesRemaining
= _snapshot._columnDataBytesRemaining;
18 references to _columnDataBytesRemaining
System.Data (18)
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (16)
207
if (-1 == _sharedState.
_columnDataBytesRemaining
) {
211
return _sharedState.
_columnDataBytesRemaining
;
1578
if ((-1 == _sharedState.
_columnDataBytesRemaining
) && (_metaData[i].metaType.IsPlp)) {
1586
if (0 == _sharedState.
_columnDataBytesRemaining
) {
1596
remaining = _sharedState.
_columnDataBytesRemaining
;
1611
if ((cb > _sharedState.
_columnDataBytesRemaining
) && !_metaData[i].metaType.IsPlp) {
1807
if ((_sharedState.
_columnDataBytesRemaining
== 0) || (length == 0)) {
1833
int bytesToRead = (int)Math.Min((long)length, _sharedState.
_columnDataBytesRemaining
);
2131
if (-1 == _sharedState.
_columnDataBytesRemaining
) {
2135
if (0 == _sharedState.
_columnDataBytesRemaining
) {
3379
if (!_parser.TryReadSqlValue(_data[_sharedState._nextColumnDataToRead], columnMetaData, (int)_sharedState.
_columnDataBytesRemaining
, _stateObj,
3569
if (_sharedState.
_columnDataBytesRemaining
> bytesRemaining) {
3577
bytesRemaining = checked(bytesRemaining - (int)_sharedState.
_columnDataBytesRemaining
);
3647
else if (0 < _sharedState.
_columnDataBytesRemaining
) {
3648
if (!_stateObj.TrySkipLongBytes(_sharedState.
_columnDataBytesRemaining
)) {
4692
_columnDataBytesRemaining = _sharedState.
_columnDataBytesRemaining
,
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
3807
else if (0 < sharedState.
_columnDataBytesRemaining
) {
3808
if (!stateObj.TrySkipLongBytes(sharedState.
_columnDataBytesRemaining
)) {