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)
118
get { return
_count
; }
129
Debug.Assert(
_count
> 0);
140
if (
_count
== _heap.Length)
142
T[] temp = new T[
_count
* 2];
143
for (int i = 0; i <
_count
; ++i)
155
int index =
_count
;
182
Debug.Assert(
_count
!= 0);
184
if (
_count
> 1)
196
while (leftChild <
_count
)
200
(rightChild <
_count
&& _comparer.Compare(_heap[rightChild], _heap[leftChild]) < 0) ?
212
_heap[parent] = _heap[
_count
- 1];