3 writes to _buffer
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (3)
87_buffer = shadowBuffer; 93_buffer = new byte[_bufferSize]; 141_buffer = null;
22 references to _buffer
dotnet-svcutil-lib (22)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BufferedWriteStream.cs (22)
76Contract.Assert(_buffer != null); 80if (_buffer.Length != _bufferSize || _bufferSize >= MaxShadowBufferSize) 86Array.Copy(_buffer, 0, shadowBuffer, 0, _writePos); 92if (_buffer == null) 202Contract.Assert(_buffer != null && _bufferSize >= _writePos, 205_stream.Write(_buffer, 0, _writePos); 212Contract.Assert(_buffer != null && _bufferSize >= _writePos, 215await _stream.WriteAsync(_buffer, 0, _writePos, cancellationToken).ConfigureAwait(false); 244Array.Copy(array, offset, _buffer, _writePos, bytesToWrite); 357Contract.Assert(_buffer != null); 359_stream.Write(_buffer, 0, _writePos); 373Contract.Assert(_buffer != null); 380Array.Copy(array, offset, _buffer, _writePos, count); 381_stream.Write(_buffer, 0, totalUserBytes); 386_stream.Write(_buffer, 0, _writePos); 483Contract.Assert(_buffer != null); 485await _stream.WriteAsync(_buffer, 0, _writePos, cancellationToken).ConfigureAwait(false); 500Contract.Assert(_buffer != null); 507Buffer.BlockCopy(array, offset, _buffer, _writePos, count); 508await _stream.WriteAsync(_buffer, 0, totalUserBytes, cancellationToken).ConfigureAwait(false); 513await _stream.WriteAsync(_buffer, 0, _writePos, cancellationToken).ConfigureAwait(false); 537_buffer[_writePos++] = value;