6 references to TryGetValueTask
System.Net.Quic (6)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (2)
49/// Allows setting additional cancellation action to be called if token passed to <see cref="TryGetValueTask(out ValueTask, object?, CancellationToken)"/> fires off. 50/// The argument for the action is the <c>keepAlive</c> object from the same <see cref="TryGetValueTask(out ValueTask, object?, CancellationToken)"/> call.
System\Net\Quic\QuicConnection.cs (2)
609if (_shutdownTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 826if (_shutdownTcs.TryGetValueTask(out ValueTask valueTask, this))
System\Net\Quic\QuicStream.cs (2)
300if (!_receiveTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken)) 385if (!_sendTcs.TryGetValueTask(out ValueTask valueTask, this, cancellationToken))