10 references to Ready
System.Net.Quic (10)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (10)
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
;
196
if (state != State.
Ready
)
204
return state != State.
Ready
;
218
/// 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"/>.
221
/// <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>
229
/// 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"/>.
232
/// <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
)