2 writes to _size
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
10263
_size
= size;
10267
_size
= int.MaxValue;
12 references to _size
System.Data (12)
fx\src\data\System\Data\SqlClient\TdsParser.cs (12)
10266
if (
_size
< 1) {
10273
return
_size
> 0 && _written >=
_size
;
10290
if (_written <
_size
) {
10294
Debug.Assert(
_size
< 0 || _written <=
_size
, string.Format("Length of data written exceeds specified length. Written: {0}, specified: {1}", _written,
_size
));
10301
Debug.Assert(
_size
>= _written);
10302
count = Math.Min(
_size
- _written, count);
10311
if (_written <
_size
) {
10323
Debug.Assert(
_size
>= _written);
10324
count = Math.Min(
_size
- _written, count);