10 references to _blockedReaders
System.Threading.Channels (10)
System\Threading\Channels\BoundedChannel.cs (10)
168
parent.
_blockedReaders
.EnqueueTail(singleton);
182
parent.
_blockedReaders
.EnqueueTail(reader);
345
ChannelUtilities.FailOperations<AsyncOperation<T>, T>(parent.
_blockedReaders
, ChannelUtilities.CreateInvalidCompletionException(error));
384
while (!parent.
_blockedReaders
.IsEmpty)
386
AsyncOperation<T> r = parent.
_blockedReaders
.DequeueHead();
559
while (!parent.
_blockedReaders
.IsEmpty)
561
AsyncOperation<T> r = parent.
_blockedReaders
.DequeueHead();
683
Debug.Assert(
_blockedReaders
.IsEmpty, "There are items available, so there shouldn't be any blocked readers.");
691
if (!
_blockedReaders
.IsEmpty)
699
Debug.Assert(
_blockedReaders
.IsEmpty, "There shouldn't be any blocked readers if there's a blocked writer.");