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)
419
Debug.Assert(0 <=
_consumerChunkIndex
&&
_consumerChunkIndex
< _consumerChunk.Length, "chunk index out of bounds");
420
item = _consumerChunk[
_consumerChunkIndex
];
425
if (
_consumerChunkIndex
== _consumerChunk.Length)
497
Debug.Assert(0 <=
_consumerChunkIndex
&&
_consumerChunkIndex
< _consumerChunk.Length, "chunk index out of bounds");
498
item = _consumerChunk[
_consumerChunkIndex
];
502
if (
_consumerChunkIndex
== _consumerChunk.Length)