3 writes to _count
PresentationCore (3)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\LegacyPriorityQueue.cs (3)
105_count = 0; 174_count++; 215_count--;
11 references to _count
PresentationCore (11)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\LegacyPriorityQueue.cs (11)
118get { return _count; } 129Debug.Assert(_count > 0); 140if (_count == _heap.Length) 142T[] temp = new T[_count * 2]; 143for (int i = 0; i < _count; ++i) 155int index = _count; 182Debug.Assert(_count != 0); 184if (_count > 1) 196while (leftChild < _count) 200(rightChild < _count && _comparer.Compare(_heap[rightChild], _heap[leftChild]) < 0) ? 212_heap[parent] = _heap[_count - 1];