10 references to TryOwnAndReset
System.Threading.Channels (10)
System\Threading\Channels\BoundedChannel.cs (4)
166
if (singleton.
TryOwnAndReset
())
220
if (singleton.
TryOwnAndReset
())
510
if (singleton.
TryOwnAndReset
())
598
if (singleton.
TryOwnAndReset
())
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (2)
102
if (!cancellationToken.CanBeCanceled && _readerSingleton.
TryOwnAndReset
())
174
if (!cancellationToken.CanBeCanceled && _waiterSingleton.
TryOwnAndReset
())
System\Threading\Channels\UnboundedChannel.cs (2)
99
if (singleton.
TryOwnAndReset
())
176
if (singleton.
TryOwnAndReset
())
System\Threading\Channels\UnboundedPriorityChannel.cs (2)
99
if (singleton.
TryOwnAndReset
())
180
if (singleton.
TryOwnAndReset
())