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)
104
if (!
_done
[index] && _channels[index].TryDequeue(ref _currentElement))
131
bool isDone =
_done
[currChannelIndex];
158
_done
[currChannelIndex] = true;
197
if (!
_done
[i] && _channels[i].TryDequeue(ref _currentElement, ref channelIsDone))
205
if (!
_done
[i])
207
_done
[i] = true;
255
if (!
_done
[i])