1 type derived from AsyncOperation
System.Threading.Channels (1)
System\Threading\Channels\AsyncOperation.cs (1)
411internal abstract class AsyncOperation<TSelf> : AsyncOperation, IValueTaskSource
22 references to AsyncOperation
System.Threading.Channels (22)
System\Threading\Channels\AsyncOperation.cs (7)
235sc.Post(static s => ((AsyncOperation)s!).SetCompletionAndInvokeContinuation(), this); 250Task.Factory.StartNew(static s => ((AsyncOperation)s!).SetCompletionAndInvokeContinuation(), this, 280var 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)
658AsyncOperation op = (AsyncOperation)state!; 688}, new KeyValuePair<BoundedChannel<T>, AsyncOperation>(this, op));
System\Threading\Channels\RendezvousChannel.cs (3)
452AsyncOperation op = (AsyncOperation)state!; 482}, new KeyValuePair<RendezvousChannel<T>, AsyncOperation>(this, op));
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (3)
367AsyncOperation op = (AsyncOperation)state!; 395}, new KeyValuePair<SingleConsumerUnboundedChannel<T>, AsyncOperation>(this, op));
System\Threading\Channels\UnboundedChannel.cs (3)
305AsyncOperation op = (AsyncOperation)state!; 327}, new KeyValuePair<UnboundedChannel<T>, AsyncOperation>(this, op));
System\Threading\Channels\UnboundedPriorityChannel.cs (3)
311AsyncOperation op = (AsyncOperation)state!; 333}, new KeyValuePair<UnboundedPrioritizedChannel<T>, AsyncOperation>(this, op));