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)
71
if (
_channelIndex
== -1 ||
_channelIndex
== _channels.Length)
91
int index =
_channelIndex
;
124
int firstChannelIndex =
_channelIndex
;
127
while ((currChannelIndex =
_channelIndex
) < _channels.Length)