1 write to _done
System.Linq.Parallel (1)
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (1)
55_done = new bool[_channels.Length]; // Initialized to { false }, i.e. no channels done.
7 references to _done
System.Linq.Parallel (7)
System\Linq\Parallel\Merging\AsynchronousChannelMergeEnumerator.cs (7)
104if (!_done[index] && _channels[index].TryDequeue(ref _currentElement)) 131bool isDone = _done[currChannelIndex]; 158_done[currChannelIndex] = true; 197if (!_done[i] && _channels[i].TryDequeue(ref _currentElement, ref channelIsDone)) 205if (!_done[i]) 207_done[i] = true; 255if (!_done[i])