8 writes to _channelIndex
System.Linq.Parallel (8)
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (8)
54_channelIndex = -1; // To catch calls to Current before MoveNext. 94_channelIndex = index = 0; 106_channelIndex = (index + 1) % _channels.Length; 137_channelIndex = (currChannelIndex + 1) % _channels.Length; 173_channelIndex = currChannelIndex = _channels.Length; 179_channelIndex = currChannelIndex = (currChannelIndex + 1) % _channels.Length; 214_channelIndex = currChannelIndex = _channels.Length; 231_channelIndex = currChannelIndex = _consumerEvent.Value;
5 references to _channelIndex
System.Linq.Parallel (5)
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (5)
71if (_channelIndex == -1 || _channelIndex == _channels.Length) 91int index = _channelIndex; 124int firstChannelIndex = _channelIndex; 127while ((currChannelIndex = _channelIndex) < _channels.Length)