13 references to None
System.Net.Quic (13)
System\Net\Quic\Internal\ResettableValueTaskSource.cs (13)
39
_state = State.
None
;
61
/// Tries to get a value task representing this task source. If this task source is <see cref="State.
None
"/>, it'll also transition it into <see cref="State.Awaiting"/> state.
75
if (_state == State.
None
)
95
if (state == State.
None
)
108
if (state is State.
None
or State.Ready or State.Completed)
163
state = State.
None
;
168
if (state is State.
None
or State.Awaiting)
178
if (state is State.
None
or State.Awaiting)
185
if (state is State.
None
or State.Awaiting)
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>
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>
265
_state = State.
None
;
283
_state = State.
None
;