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