5 writes to _bTmp
System.Data (5)
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
6573
stateObj.
_bTmp
= new byte[cBytes];
6600
stateObj.
_bTmp
= new byte[cBytes];
11293
stateObj.
_bTmp
= new byte[bytesRead];
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (2)
1574
_bTmp
= new byte[cBytes];
1639
_bTmp
= new byte[length];
36 references to _bTmp
System.Data (36)
fx\src\data\System\Data\SqlClient\TdsParser.cs (12)
6572
if (stateObj.
_bTmp
== null || stateObj.
_bTmp
.Length < cBytes) {
6576
CopyCharsToBytes(carr, offset, stateObj.
_bTmp
, 0, length);
6577
return stateObj.WriteByteArray(stateObj.
_bTmp
, cBytes, 0, canAccumulate);
6599
if (stateObj.
_bTmp
== null || stateObj.
_bTmp
.Length < cBytes) {
6603
CopyStringToBytes(s, offset, stateObj.
_bTmp
, 0, length);
6604
return stateObj.WriteByteArray(stateObj.
_bTmp
, cBytes, 0, canAccumulate);
11291
if ((stateObj.
_bTmp
== null) || (stateObj.
_bTmp
.Length < bytesRead)) {
11296
bytesRead = stateObj.ReadPlpBytesChunk(stateObj.
_bTmp
, 0, bytesRead);
11298
charsRead = stateObj._plpdecoder.GetChars(stateObj.
_bTmp
, 0, bytesRead, buff, offst);
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (24)
1299
if (!TryReadByteArray(
_bTmp
, 0, 2)) {
1304
buffer =
_bTmp
;
1332
if (!TryReadByteArray(
_bTmp
, 0, 2)) {
1337
buffer =
_bTmp
;
1363
if (!TryReadByteArray(
_bTmp
, 0, 4)) {
1369
value = BitConverter.ToInt32(
_bTmp
, 0);
1401
if (!TryReadByteArray(
_bTmp
, _bTmpRead, 8 - _bTmpRead, out bytesRead)) {
1411
value = BitConverter.ToInt64(
_bTmp
, 0);
1438
if (!TryReadByteArray(
_bTmp
, 0, 2)) {
1443
buffer =
_bTmp
;
1477
if (!TryReadByteArray(
_bTmp
, _bTmpRead, 4 - _bTmpRead, out bytesRead)) {
1487
value = BitConverter.ToUInt32(
_bTmp
, 0);
1512
if (!TryReadByteArray(
_bTmp
, 0, 4)) {
1518
value = BitConverter.ToSingle(
_bTmp
, 0);
1542
if (!TryReadByteArray(
_bTmp
, 0, 8)) {
1548
value = BitConverter.ToDouble(
_bTmp
, 0);
1573
if (
_bTmp
== null ||
_bTmp
.Length < cBytes) {
1577
if (!TryReadByteArray(
_bTmp
, 0, cBytes)) {
1583
buf =
_bTmp
;
1638
if (
_bTmp
== null ||
_bTmp
.Length < length) {
1642
if (!TryReadByteArray(
_bTmp
, 0, length)) {
1648
buf =
_bTmp
;