16 references to _receiveTcs
System.Net.Quic (16)
System\Net\Quic\QuicStream.cs (16)
79stream._receiveTcs.TrySetResult(); 146public Task ReadsClosed => _receiveTcs.GetFinalTask(this); 196_receiveTcs.TrySetResult(final: true); 287if (_receiveTcs.IsCompleted) 300if (!_receiveTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 313_receiveTcs.TrySetResult(final: true); 319_receiveTcs.TrySetResult(); 461if (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); 734if (!_receiveTcs.IsCompleted) 767if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_RECEIVE) && !_receiveTcs.IsCompleted) 769_receiveTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_reading_aborted), final: true);