8 references to Ready
System.Net.Quic (8)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (8)
108
if (state is State.None or State.
Ready
or State.Completed)
160
if (state == State.
Ready
&& !_hasWaiter && final)
170
_state = final ? State.Completed : State.
Ready
;
197
if (state != State.
Ready
)
205
return state != State.
Ready
;
219
/// Tries to transition from <see cref="State.Awaiting"/> to either <see cref="State.
Ready
"/> or <see cref="State.Completed"/>, depending on the value of <paramref name="final"/>.
222
/// <param name="final">Whether this is the final transition to <see cref="State.Completed" /> or just a transition into <see cref="State.
Ready
"/> from which the task source can be reset back to <see cref="State.None"/>.</param>
262
if (state == State.
Ready
)