4 writes to _consumerChunkIndex
System.Linq.Parallel (4)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (4)
414_consumerChunkIndex = 0; 424++_consumerChunkIndex; 492_consumerChunkIndex = 0; 501++_consumerChunkIndex;
8 references to _consumerChunkIndex
System.Linq.Parallel (8)
System\Linq\Parallel\Channels\AsynchronousChannel.cs (8)
419Debug.Assert(0 <= _consumerChunkIndex && _consumerChunkIndex < _consumerChunk.Length, "chunk index out of bounds"); 420item = _consumerChunk[_consumerChunkIndex]; 425if (_consumerChunkIndex == _consumerChunk.Length) 497Debug.Assert(0 <= _consumerChunkIndex && _consumerChunkIndex < _consumerChunk.Length, "chunk index out of bounds"); 498item = _consumerChunk[_consumerChunkIndex]; 502if (_consumerChunkIndex == _consumerChunk.Length)