5 writes to _preReadCount
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (5)
132
_preReadCount
= initialSize;
144
_preReadCount
+= initialSize;
150
_preReadCount
= initialSize;
163
_preReadCount
-= bytesToCopy;
179
_preReadCount
-= bytesToCopy;
8 references to _preReadCount
dotnet-svcutil-lib (8)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (8)
137
if (
_preReadCount
> 0)
140
_preReadData = Fx.AllocateByteArray(initialSize +
_preReadCount
);
141
Buffer.BlockCopy(tempBuffer, _preReadOffset, _preReadData, 0,
_preReadCount
);
142
Buffer.BlockCopy(initialData, initialOffset, _preReadData,
_preReadCount
, initialSize);
158
if (
_preReadCount
> 0)
160
int bytesToCopy = Math.Min(size,
_preReadCount
);
174
if (
_preReadCount
> 0)
176
int bytesToCopy = Math.Min(size,
_preReadCount
);