3 writes to _currentBuffer
System.ServiceModel.Primitives (3)
System\ServiceModel\Channels\ProducerConsumerStream.cs (3)
24_currentBuffer = WriteBufferWrapper.EmptyContainer; 36_currentBuffer = WriteBufferWrapper.EmptyContainer; 135_currentBuffer = await _buffer.Task;
5 references to _currentBuffer
System.ServiceModel.Primitives (5)
System\ServiceModel\Channels\ProducerConsumerStream.cs (5)
35int bytesWrittenToBuffer = _currentBuffer.BytesWritten; 88Contract.Assert(_currentBuffer == WriteBufferWrapper.EmptyContainer, "The current buffer should be the EmptyContainer"); 133if (_currentBuffer == WriteBufferWrapper.EmptyContainer) 139int bytesWritten = _currentBuffer.Write(buffer, offset, count); 142if (_currentBuffer.Count == 0)