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