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)
35
int bytesWrittenToBuffer =
_currentBuffer
.BytesWritten;
88
Contract.Assert(
_currentBuffer
== WriteBufferWrapper.EmptyContainer, "The current buffer should be the EmptyContainer");
133
if (
_currentBuffer
== WriteBufferWrapper.EmptyContainer)
139
int bytesWritten =
_currentBuffer
.Write(buffer, offset, count);
142
if (
_currentBuffer
.Count == 0)