17 references to _sendTcs
System.Net.Quic (17)
System\Net\Quic\QuicStream.cs (17)
155
public Task WritesClosed =>
_sendTcs
.GetFinalTask(this);
235
_sendTcs
.TrySetResult(final: true);
377
if (
_sendTcs
.IsCompleted && cancellationToken.IsCancellationRequested)
385
if (!
_sendTcs
.TryGetValueTask(out ValueTask valueTask, this, cancellationToken))
399
_sendTcs
.TrySetResult();
433
_sendTcs
.TrySetException(exception, final: true);
465
if (abortDirection.HasFlag(QuicAbortDirection.Write) && !
_sendTcs
.IsCompleted)
498
_sendTcs
.TrySetException(_sendException, final: true);
516
if (
_sendTcs
.IsCompleted)
588
_sendTcs
.TrySetException(exception, final: true);
592
_sendTcs
.TrySetResult();
612
_sendTcs
.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode), final: true);
619
_sendTcs
.TrySetResult(final: true);
643
_sendTcs
.TrySetException(exception, final: true);
738
if (!
_sendTcs
.IsCompleted)
771
if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !
_sendTcs
.IsCompleted)
773
_sendTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted), final: true);