9 references to IsChunkBufferEmpty
System.Linq.Parallel (9)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (7)
312
if (_consumerIsWaiting && !
IsChunkBufferEmpty
)
448
if (
IsChunkBufferEmpty
)
538
while (
IsChunkBufferEmpty
)
547
if (
IsChunkBufferEmpty
)
571
if (
IsChunkBufferEmpty
&& !IsDone)
587
Debug.Assert(!
IsChunkBufferEmpty
, "single-consumer should never witness an empty queue here");
606
Debug.Assert(!
IsChunkBufferEmpty
);
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (2)
150
if (!current.
IsChunkBufferEmpty
)
166
Debug.Assert(_channels[currChannelIndex].
IsChunkBufferEmpty
, "thought this channel was empty");