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))
429
_sendTcs
.TrySetResult();
463
_sendTcs
.TrySetException(exception);
495
if (abortDirection.HasFlag(QuicAbortDirection.Write) && !
_sendTcs
.IsCompleted)
528
_sendTcs
.TrySetException(_sendException);
546
if (
_sendTcs
.IsCompleted)
618
_sendTcs
.TrySetException(exception);
622
_sendTcs
.TrySetResult();
642
_sendTcs
.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode));
649
_sendTcs
.TrySetResult(final: true);
673
_sendTcs
.TrySetException(exception);
768
if (!
_sendTcs
.IsCompleted)
801
if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !
_sendTcs
.IsCompleted)
803
_sendTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));