1 type derived from AsyncOperation
System.Threading.Channels (1)
System\Threading\Channels\AsyncOperation.cs (1)
411
internal abstract class AsyncOperation<TSelf> :
AsyncOperation
, IValueTaskSource
22 references to AsyncOperation
System.Threading.Channels (22)
System\Threading\Channels\AsyncOperation.cs (7)
235
sc.Post(static s => ((
AsyncOperation
)s!).SetCompletionAndInvokeContinuation(), this);
250
Task.Factory.StartNew(static s => ((
AsyncOperation
)s!).SetCompletionAndInvokeContinuation(), this,
280
var
thisRef = (
AsyncOperation
)s!;
429
/// <param name="token">The token that must match <see cref="
AsyncOperation
._currentId"/>.</param>
445
/// <param name="token">The token that must match <see cref="
AsyncOperation
._currentId"/>.</param>
489
/// <param name="token">The token that must match <see cref="
AsyncOperation
._currentId"/>.</param>
System\Threading\Channels\BoundedChannel.cs (3)
658
AsyncOperation
op = (
AsyncOperation
)state!;
688
}, new KeyValuePair<BoundedChannel<T>,
AsyncOperation
>(this, op));
System\Threading\Channels\RendezvousChannel.cs (3)
452
AsyncOperation
op = (
AsyncOperation
)state!;
482
}, new KeyValuePair<RendezvousChannel<T>,
AsyncOperation
>(this, op));
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (3)
367
AsyncOperation
op = (
AsyncOperation
)state!;
395
}, new KeyValuePair<SingleConsumerUnboundedChannel<T>,
AsyncOperation
>(this, op));
System\Threading\Channels\UnboundedChannel.cs (3)
305
AsyncOperation
op = (
AsyncOperation
)state!;
327
}, new KeyValuePair<UnboundedChannel<T>,
AsyncOperation
>(this, op));
System\Threading\Channels\UnboundedPriorityChannel.cs (3)
311
AsyncOperation
op = (
AsyncOperation
)state!;
333
}, new KeyValuePair<UnboundedPrioritizedChannel<T>,
AsyncOperation
>(this, op));