5 writes to preReadCount
System.ServiceModel (5)
System\ServiceModel\Channels\Connection.cs (5)
185this.preReadCount = initialSize; 197this.preReadCount += initialSize; 203this.preReadCount = initialSize; 216this.preReadCount -= bytesToCopy; 232this.preReadCount -= bytesToCopy;
8 references to preReadCount
System.ServiceModel (8)
System\ServiceModel\Channels\Connection.cs (8)
190if (this.preReadCount > 0) 193this.preReadData = DiagnosticUtility.Utility.AllocateByteArray(initialSize + this.preReadCount); 194Buffer.BlockCopy(tempBuffer, this.preReadOffset, this.preReadData, 0, this.preReadCount); 195Buffer.BlockCopy(initialData, initialOffset, this.preReadData, this.preReadCount, initialSize); 211if (this.preReadCount > 0) 213int bytesToCopy = Math.Min(size, this.preReadCount); 227if (this.preReadCount > 0) 229int bytesToCopy = Math.Min(size, this.preReadCount);