19 references to AsyncOperation
System.Threading.Channels (19)
System\Threading\Channels\AsyncOperation.cs (1)
459
base
(runContinuationsAsynchronously, cancellationToken, pooled)
System\Threading\Channels\BoundedChannel.cs (6)
69
_readerSingleton = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously, pooled: true);
70
_waiterSingleton = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously, pooled: true);
181
var reader = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously | cancellationToken.CanBeCanceled, cancellationToken);
235
var waiter = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously | cancellationToken.CanBeCanceled, cancellationToken);
308
_waiterSingleton = new
AsyncOperation
<bool>(runContinuationsAsynchronously: true, pooled: true);
518
var waiter = new
AsyncOperation
<bool>(runContinuationsAsynchronously: true, cancellationToken);
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (4)
62
_readerSingleton = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously, pooled: true);
63
_waiterSingleton = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously, pooled: true);
114
newBlockedReader = new
AsyncOperation
<T>(_parent._runContinuationsAsynchronously, cancellationToken);
186
newWaitingReader = new
AsyncOperation
<bool>(_parent._runContinuationsAsynchronously, cancellationToken);
System\Threading\Channels\UnboundedChannel.cs (4)
51
_readerSingleton = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously, pooled: true);
52
_waiterSingleton = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously, pooled: true);
107
var reader = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously, cancellationToken);
184
var waiter = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously, cancellationToken);
System\Threading\Channels\UnboundedPriorityChannel.cs (4)
57
_readerSingleton = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously, pooled: true);
58
_waiterSingleton = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously, pooled: true);
107
var reader = new
AsyncOperation
<T>(parent._runContinuationsAsynchronously, cancellationToken);
188
var waiter = new
AsyncOperation
<bool>(parent._runContinuationsAsynchronously, cancellationToken);