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)
130return _heap[0]; 140if (_count == _heap.Length) 145temp[i] = _heap[i]; 159if (_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];