3 writes to currentChunk
System.ServiceModel.Internals (3)
System\Runtime\BufferedOutputStream.cs (3)
103this.currentChunk = bufferManager.TakeBuffer(initialSize); 134this.currentChunk = newChunk; 174this.currentChunk = null;
11 references to currentChunk
System.ServiceModel.Internals (11)
System\Runtime\BufferedOutputStream.cs (11)
107this.chunks[0] = this.currentChunk; 114if (this.currentChunk.Length > (int.MaxValue / 2)) 120newChunkSize = this.currentChunk.Length * 2; 220buffer = this.currentChunk; 235Buffer.BlockCopy(this.currentChunk, 0, buffer, offset, this.currentChunkSize); 279int remainingSizeInChunk = this.currentChunk.Length - this.currentChunkSize; 286Buffer.BlockCopy(buffer, offset, this.currentChunk, this.currentChunkSize, remainingSizeInChunk); 288this.currentChunkSize = this.currentChunk.Length; 297Buffer.BlockCopy(buffer, offset, this.currentChunk, this.currentChunkSize, size); 312if (this.currentChunkSize == this.currentChunk.Length) 316this.currentChunk[this.currentChunkSize++] = value;