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