2 writes to _heap
PresentationCore (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\LegacyPriorityQueue.cs (2)
104
_heap
= new T[capacity > 0 ? capacity : DefaultCapacity];
147
_heap
= temp;
13 references to _heap
PresentationCore (13)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\LegacyPriorityQueue.cs (13)
130
return
_heap
[0];
140
if (_count ==
_heap
.Length)
145
temp[i] =
_heap
[i];
159
if (_comparer.Compare(value,
_heap
[parentIndex]) < 0)
163
_heap
[index] =
_heap
[parentIndex];
173
_heap
[index] = value;
200
(rightChild < _count && _comparer.Compare(
_heap
[rightChild],
_heap
[leftChild]) < 0) ?
204
_heap
[parent] =
_heap
[bestChild];
212
_heap
[parent] =
_heap
[_count - 1];