16 references to _receiveTcs
System.Net.Quic (16)
System\Net\Quic\QuicStream.cs (16)
79
stream.
_receiveTcs
.TrySetResult();
146
public Task ReadsClosed =>
_receiveTcs
.GetFinalTask(this);
196
_receiveTcs
.TrySetResult(final: true);
287
if (
_receiveTcs
.IsCompleted)
300
if (!
_receiveTcs
.TryGetValueTask(out ValueTask valueTask, this, cancellationToken))
313
_receiveTcs
.TrySetResult(final: true);
319
_receiveTcs
.TrySetResult();
461
if (abortDirection.HasFlag(QuicAbortDirection.Read) && !
_receiveTcs
.IsCompleted)
490
_receiveTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted), final: true);
573
_receiveTcs
.TrySetResult();
602
_receiveTcs
.TrySetResult();
607
_receiveTcs
.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode), final: true);
642
_receiveTcs
.TrySetException(exception, final: true);
734
if (!
_receiveTcs
.IsCompleted)
767
if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_RECEIVE) && !
_receiveTcs
.IsCompleted)
769
_receiveTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted), final: true);