1 write to _elements
System.Linq.Parallel (1)
System\Linq\Parallel\Utils\FixedMaxHeap.cs (1)
38
_elements
= new TElement[maximumSize];
21 references to _elements
System.Linq.Parallel (21)
System\Linq\Parallel\Utils\FixedMaxHeap.cs (21)
57
get { return
_elements
.Length; }
78
return
_elements
[0];
102
if (_count <
_elements
.Length)
105
_elements
[_count] = e;
115
if (_comparer.Compare(e,
_elements
[0]) < 0)
117
_elements
[0] = e;
134
_elements
[0] = newValue;
149
_elements
[0] =
_elements
[_count];
161
TElement tmpElement =
_elements
[i];
162
_elements
[i] =
_elements
[j];
163
_elements
[j] = tmpElement;
178
if (n0 < n && _comparer.Compare(
_elements
[i],
_elements
[n0]) < 0)
182
if (n1 < n && _comparer.Compare(
_elements
[n0],
_elements
[n1]) < 0)
193
else if (n1 < n && _comparer.Compare(
_elements
[i],
_elements
[n1]) < 0)
217
if (_comparer.Compare(
_elements
[i],
_elements
[j]) > 0)