17 references to _sendTcs
System.Net.Quic (17)
System\Net\Quic\QuicStream.cs (17)
185public Task WritesClosed => _sendTcs.GetFinalTask(this); 265_sendTcs.TrySetResult(final: true); 407if (_sendTcs.IsCompleted && cancellationToken.IsCancellationRequested) 415if (!_sendTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 436_sendTcs.TrySetResult(); 470_sendTcs.TrySetException(exception); 502if (abortDirection.HasFlag(QuicAbortDirection.Write) && !_sendTcs.IsCompleted) 535_sendTcs.TrySetException(_sendException); 553if (_sendTcs.IsCompleted) 625_sendTcs.TrySetException(exception); 629_sendTcs.TrySetResult(); 649_sendTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode)); 656_sendTcs.TrySetResult(final: true); 680_sendTcs.TrySetException(exception); 778if (!_sendTcs.IsCompleted) 811if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !_sendTcs.IsCompleted) 813_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));