2 instantiations of WriteBufferWrapper
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (2)
75
_buffer.TrySetResult(new
WriteBufferWrapper
(buffer, offset, count));
200
public static readonly WriteBufferWrapper EmptyContainer = new
WriteBufferWrapper
(null, -1, -1, true);
16 references to WriteBufferWrapper
dotnet-svcutil-lib (16)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (16)
14
private TaskCompletionSource<
WriteBufferWrapper
> _buffer;
16
private
WriteBufferWrapper
_currentBuffer;
21
_buffer = new TaskCompletionSource<
WriteBufferWrapper
>();
23
_currentBuffer =
WriteBufferWrapper
.EmptyContainer;
134
if (_currentBuffer ==
WriteBufferWrapper
.EmptyContainer)
137
_buffer = new TaskCompletionSource<
WriteBufferWrapper
>();
145
_currentBuffer =
WriteBufferWrapper
.EmptyContainer;
197
private struct WriteBufferWrapper : IEquatable<
WriteBufferWrapper
>
200
public static readonly
WriteBufferWrapper
EmptyContainer = new WriteBufferWrapper(null, -1, -1, true);
233
if (obj is
WriteBufferWrapper
)
234
return this.Equals((
WriteBufferWrapper
)obj);
238
public bool Equals(
WriteBufferWrapper
other)
256
public static bool operator ==(
WriteBufferWrapper
a,
WriteBufferWrapper
b)
261
public static bool operator !=(
WriteBufferWrapper
a,
WriteBufferWrapper
b)