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);
408
if (
_sendTcs
.IsCompleted && cancellationToken.IsCancellationRequested)
416
if (!
_sendTcs
.TryGetValueTask(out ValueTask valueTask, this, cancellationToken))
437
_sendTcs
.TrySetResult();
471
_sendTcs
.TrySetException(exception);
503
if (abortDirection.HasFlag(QuicAbortDirection.Write) && !
_sendTcs
.IsCompleted)
536
_sendTcs
.TrySetException(_sendException);
554
if (
_sendTcs
.IsCompleted)
626
_sendTcs
.TrySetException(exception);
630
_sendTcs
.TrySetResult();
650
_sendTcs
.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode));
657
_sendTcs
.TrySetResult(final: true);
681
_sendTcs
.TrySetException(exception);
779
if (!
_sendTcs
.IsCompleted)
812
if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !
_sendTcs
.IsCompleted)
814
_sendTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));