9 references to IsChunkBufferEmpty
System.Core (9)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (7)
316
if (m_consumerIsWaiting == 1 && !
IsChunkBufferEmpty
)
451
if (
IsChunkBufferEmpty
)
541
while (
IsChunkBufferEmpty
)
550
if (
IsChunkBufferEmpty
)
576
if (
IsChunkBufferEmpty
&& !IsDone)
592
Contract.Assert(!
IsChunkBufferEmpty
, "single-consumer should never witness an empty queue here");
611
Contract.Assert(!
IsChunkBufferEmpty
);
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (2)
153
if (!current.
IsChunkBufferEmpty
)
169
Contract.Assert(m_channels[currChannelIndex].
IsChunkBufferEmpty
, "thought this channel was empty");