5 writes to _bTmpRead
System.Data (5)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (5)
1403
_bTmpRead
+= bytesRead;
1409
_bTmpRead
= 0;
1479
_bTmpRead
+= bytesRead;
1485
_bTmpRead
= 0;
3691
_stateObj.
_bTmpRead
= 0;
10 references to _bTmpRead
System.Data (10)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (10)
1396
if ((
_bTmpRead
> 0) || (((_inBytesUsed + 8) > _inBytesRead) || (_inBytesPacket < 8))) {
1401
if (!TryReadByteArray(_bTmp,
_bTmpRead
, 8 -
_bTmpRead
, out bytesRead)) {
1402
Debug.Assert(
_bTmpRead
+ bytesRead <= 8, "Read more data than required");
1408
Debug.Assert(
_bTmpRead
+ bytesRead == 8, "TryReadByteArray returned true without reading all data required");
1472
if ((
_bTmpRead
> 0) || (((_inBytesUsed + 4) > _inBytesRead) || (_inBytesPacket < 4))) {
1477
if (!TryReadByteArray(_bTmp,
_bTmpRead
, 4 -
_bTmpRead
, out bytesRead)) {
1478
Debug.Assert(
_bTmpRead
+ bytesRead <= 4, "Read more data than required");
1484
Debug.Assert(
_bTmpRead
+ bytesRead == 4, "TryReadByteArray returned true without reading all data required");