17 references to _sendTcs
System.Net.Quic (17)
System\Net\Quic\QuicStream.cs (17)
148public Task WritesClosed => _sendTcs.GetFinalTask(this); 229_sendTcs.TrySetResult(final: true); 366if (_sendTcs.IsCompleted) 374if (!_sendTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 389_sendTcs.TrySetResult(); 424_sendTcs.TrySetException(exception, final: true); 456if (abortDirection.HasFlag(QuicAbortDirection.Write) && !_sendTcs.IsCompleted) 489_sendTcs.TrySetException(_sendException, final: true); 507if (_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); 724if (!_sendTcs.IsCompleted) 757if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !_sendTcs.IsCompleted) 759_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted), final: true);