3 writes to _currentChunk
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\BufferedOutputStream.cs (3)
101
_currentChunk
= bufferManager.TakeBuffer(initialSize);
132
_currentChunk
= newChunk;
151
_currentChunk
= null;
11 references to _currentChunk
dotnet-svcutil-lib (11)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\BufferedOutputStream.cs (11)
105
_chunks[0] =
_currentChunk
;
112
if (
_currentChunk
.Length > (int.MaxValue / 2))
118
newChunkSize =
_currentChunk
.Length * 2;
193
buffer =
_currentChunk
;
208
Buffer.BlockCopy(
_currentChunk
, 0, buffer, offset, _currentChunkSize);
252
int remainingSizeInChunk =
_currentChunk
.Length - _currentChunkSize;
259
Buffer.BlockCopy(buffer, offset,
_currentChunk
, _currentChunkSize, remainingSizeInChunk);
261
_currentChunkSize =
_currentChunk
.Length;
270
Buffer.BlockCopy(buffer, offset,
_currentChunk
, _currentChunkSize, size);
285
if (_currentChunkSize ==
_currentChunk
.Length)
289
_currentChunk
[_currentChunkSize++] = value;