12 writes to batchLength
System.Data.Services.Client (12)
System\Data\Services\Client\BatchStream.cs (12)
250
this.
batchLength
-= count;
422
this.
batchLength
= Int32.MaxValue;
642
this.
batchLength
= length;
660
this.
batchLength
= Int32.MaxValue;
863
this.
batchLength
-= count;
978
this.
batchLength
-= i;
984
this.
batchLength
--;
993
this.
batchLength
--;
1203
this.
batchLength
-= size;
1240
this.
batchLength
-= boundaryIndex;
1281
this.
batchLength
-= size;
1297
this.
batchLength
-= size;
18 references to batchLength
System.Data.Services.Client (18)
System\Data\Services\Client\BatchStream.cs (18)
246
int count = Math.Min(checked((int)offset), Math.Min(this.byteLength, this.
batchLength
));
255
while ((0 < offset) && (this.
batchLength
!= 0) && this.ReadBuffer());
259
Debug.Assert(0 <= this.
batchLength
, "negative batchLength");
397
Debug.Assert(0 <= this.
batchLength
, "negative batchLength");
866
Debug.Assert(0 <= this.
batchLength
, "negative batchLength");
943
if ((0 == this.
batchLength
) || !this.ReadBuffer())
954
int end = i + Math.Min(this.byteLength, this.
batchLength
);
985
if (('\r' == ch) && ((0 < this.byteLength) || this.ReadBuffer()) && (0 < this.
batchLength
))
998
Debug.Assert(0 <= this.
batchLength
, "negative batchLength");
1009
while (this.ReadBuffer() && (0 < this.
batchLength
));
1012
Debug.Assert(0 <= this.
batchLength
, "negative batchLength");
1108
while ((0 < count) && (0 < this.
batchLength
) && this.ReadBuffer())
1117
int size = Math.Min(Math.Min(count, this.byteLength), this.
batchLength
) + this.bytePosition;
1173
if (size == this.
batchLength
)
1276
int size = Math.Min(Math.Min(count, this.byteLength), this.
batchLength
);
1288
if (0 < count && this.
batchLength
> 0)
1290
int size = this.reader.Read(buffer, offset, Math.Min(count, this.
batchLength
));
1302
Debug.Assert(0 <= this.
batchLength
, "negative batchLength");