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; 112if (_currentChunk.Length > (int.MaxValue / 2)) 118newChunkSize = _currentChunk.Length * 2; 193buffer = _currentChunk; 208Buffer.BlockCopy(_currentChunk, 0, buffer, offset, _currentChunkSize); 252int remainingSizeInChunk = _currentChunk.Length - _currentChunkSize; 259Buffer.BlockCopy(buffer, offset, _currentChunk, _currentChunkSize, remainingSizeInChunk); 261_currentChunkSize = _currentChunk.Length; 270Buffer.BlockCopy(buffer, offset, _currentChunk, _currentChunkSize, size); 285if (_currentChunkSize == _currentChunk.Length) 289_currentChunk[_currentChunkSize++] = value;