17 references to _sendTcs
System.Net.Quic (17)
System\Net\Quic\QuicStream.cs (17)
185
public Task WritesClosed =>
_sendTcs
.GetFinalTask(this);
265
_sendTcs
.TrySetResult(final: true);
407
if (
_sendTcs
.IsCompleted && cancellationToken.IsCancellationRequested)
415
if (!
_sendTcs
.TryGetValueTask(out ValueTask valueTask, this, cancellationToken))
436
_sendTcs
.TrySetResult();
470
_sendTcs
.TrySetException(exception);
502
if (abortDirection.HasFlag(QuicAbortDirection.Write) && !
_sendTcs
.IsCompleted)
535
_sendTcs
.TrySetException(_sendException);
553
if (
_sendTcs
.IsCompleted)
625
_sendTcs
.TrySetException(exception);
629
_sendTcs
.TrySetResult();
649
_sendTcs
.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode));
656
_sendTcs
.TrySetResult(final: true);
680
_sendTcs
.TrySetException(exception);
778
if (!
_sendTcs
.IsCompleted)
811
if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !
_sendTcs
.IsCompleted)
813
_sendTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));