5 writes to chunkBytesRemaining
System.ServiceModel (5)
System\ServiceModel\Channels\SingletonConnectionReader.cs (5)
1386this.chunkBytesRemaining = 0; 1428this.chunkBytesRemaining = decoder.ChunkSize; 1496this.chunkBytesRemaining -= bytesToCopy; 1526this.chunkBytesRemaining = 0; 1533this.chunkBytesRemaining -= bytesRead;
11 references to chunkBytesRemaining
System.ServiceModel (11)
System\ServiceModel\Channels\SingletonConnectionReader.cs (11)
1487int bytesToCopy = Math.Min(chunkBytesRemaining, 1497if (this.chunkBytesRemaining == 0 && this.chunkBufferSize > 0) 1506else if (chunkBytesRemaining > 0) 1511if (int.MaxValue - chunkBytesRemaining >= IntEncoder.MaxEncodedSize) 1513bytesToRead = Math.Min(count, chunkBytesRemaining + IntEncoder.MaxEncodedSize); 1519DecodeData(buffer, offset, Math.Min(bytesRead, this.chunkBytesRemaining)); 1521if (bytesRead > chunkBytesRemaining) 1523result += this.chunkBytesRemaining; 1524int overflowCount = bytesRead - chunkBytesRemaining; 1525int overflowOffset = offset + chunkBytesRemaining; 1563if (this.chunkBufferSize > 0 || this.chunkBytesRemaining > 0