17 references to _sendTcs
System.Net.Quic (17)
System\Net\Quic\QuicStream.cs (17)
155public Task WritesClosed => _sendTcs.GetFinalTask(this); 235_sendTcs.TrySetResult(final: true); 377if (_sendTcs.IsCompleted && cancellationToken.IsCancellationRequested) 385if (!_sendTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 399_sendTcs.TrySetResult(); 433_sendTcs.TrySetException(exception, final: true); 465if (abortDirection.HasFlag(QuicAbortDirection.Write) && !_sendTcs.IsCompleted) 498_sendTcs.TrySetException(_sendException, final: true); 516if (_sendTcs.IsCompleted) 588_sendTcs.TrySetException(exception, final: true); 592_sendTcs.TrySetResult(); 612_sendTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode), final: true); 619_sendTcs.TrySetResult(final: true); 643_sendTcs.TrySetException(exception, final: true); 738if (!_sendTcs.IsCompleted) 771if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !_sendTcs.IsCompleted) 773_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted), final: true);