17 references to _sendTcs
System.Net.Quic (17)
System\Net\Quic\QuicStream.cs (17)
148
public Task WritesClosed =>
_sendTcs
.GetFinalTask(this);
229
_sendTcs
.TrySetResult(final: true);
366
if (
_sendTcs
.IsCompleted)
374
if (!
_sendTcs
.TryGetValueTask(out ValueTask valueTask, this, cancellationToken))
389
_sendTcs
.TrySetResult();
424
_sendTcs
.TrySetException(exception, final: true);
456
if (abortDirection.HasFlag(QuicAbortDirection.Write) && !
_sendTcs
.IsCompleted)
489
_sendTcs
.TrySetException(_sendException, final: true);
507
if (
_sendTcs
.IsCompleted)
574
_sendTcs
.TrySetException(exception, final: true);
578
_sendTcs
.TrySetResult();
598
_sendTcs
.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode), final: true);
605
_sendTcs
.TrySetResult(final: true);
629
_sendTcs
.TrySetException(exception, final: true);
724
if (!
_sendTcs
.IsCompleted)
757
if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !
_sendTcs
.IsCompleted)
759
_sendTcs
.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted), final: true);