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)) 429_sendTcs.TrySetResult(); 463_sendTcs.TrySetException(exception); 495if (abortDirection.HasFlag(QuicAbortDirection.Write) && !_sendTcs.IsCompleted) 528_sendTcs.TrySetException(_sendException); 546if (_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); 768if (!_sendTcs.IsCompleted) 801if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !_sendTcs.IsCompleted) 803_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));