10 references to Ready
System.Net.Quic (10)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (10)
108if (state is State.None or State.Ready or State.Completed) 160if (state == State.Ready && !_hasWaiter && final) 170_state = final ? State.Completed : State.Ready; 196if (state != State.Ready) 204return 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> 262if (state == State.Ready)