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); 408if (_sendTcs.IsCompleted && cancellationToken.IsCancellationRequested) 416if (!_sendTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 437_sendTcs.TrySetResult(); 471_sendTcs.TrySetException(exception); 503if (abortDirection.HasFlag(QuicAbortDirection.Write) && !_sendTcs.IsCompleted) 536_sendTcs.TrySetException(_sendException); 554if (_sendTcs.IsCompleted) 626_sendTcs.TrySetException(exception); 630_sendTcs.TrySetResult(); 650_sendTcs.TrySetException(ThrowHelper.GetStreamAbortedException((long)data.ErrorCode)); 657_sendTcs.TrySetResult(final: true); 681_sendTcs.TrySetException(exception); 779if (!_sendTcs.IsCompleted) 812if (flags.HasFlag(QUIC_STREAM_SHUTDOWN_FLAGS.ABORT_SEND) && !_sendTcs.IsCompleted) 814_sendTcs.TrySetException(ThrowHelper.GetOperationAbortedException(SR.net_quic_writing_aborted));