4 writes to m_consumerChunk
System.Core (4)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (4)
411
if (!TryDequeueChunk(ref
m_consumerChunk
))
430
m_consumerChunk
= null;
489
if (!TryDequeueChunk(ref
m_consumerChunk
, ref isDone))
507
m_consumerChunk
= null;
12 references to m_consumerChunk
System.Core (12)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (12)
409
if (
m_consumerChunk
== null)
413
Contract.Assert(
m_consumerChunk
== null);
421
Contract.Assert(
m_consumerChunk
!= null, "consumer chunk is null");
422
Contract.Assert(0 <= m_consumerChunkIndex && m_consumerChunkIndex <
m_consumerChunk
.Length, "chunk index out of bounds");
423
item =
m_consumerChunk
[m_consumerChunkIndex];
428
if (m_consumerChunkIndex ==
m_consumerChunk
.Length)
487
if (
m_consumerChunk
== null)
491
Contract.Assert(
m_consumerChunk
== null);
499
Contract.Assert(
m_consumerChunk
!= null, "consumer chunk is null");
500
Contract.Assert(0 <= m_consumerChunkIndex && m_consumerChunkIndex <
m_consumerChunk
.Length, "chunk index out of bounds");
501
item =
m_consumerChunk
[m_consumerChunkIndex];
505
if (m_consumerChunkIndex ==
m_consumerChunk
.Length)