1 write to _priorityChains
WindowsBase (1)
Base\MS\Internal\PriorityQueue.cs (1)
12
_priorityChains
= new SortedList<int, PriorityChain<T>>(); // NOTE: should be Priority
20 references to _priorityChains
WindowsBase (20)
Base\MS\Internal\PriorityQueue.cs (20)
26
int count =
_priorityChains
.Count;
30
return (DispatcherPriority)
_priorityChains
.Keys[count - 1];
61
int count =
_priorityChains
.Count;
64
PriorityChain<T> chain =
_priorityChains
.Values[count - 1];
86
int count =
_priorityChains
.Count;
89
PriorityChain<T> chain =
_priorityChains
.Values[count - 1];
137
int count =
_priorityChains
.Count;
140
if(priority == (DispatcherPriority)
_priorityChains
.Keys[0])
142
chain =
_priorityChains
.Values[0];
144
else if(priority == (DispatcherPriority)
_priorityChains
.Keys[count - 1])
146
chain =
_priorityChains
.Values[count - 1];
148
else if((priority > (DispatcherPriority)
_priorityChains
.Keys[0]) &&
149
(priority < (DispatcherPriority)
_priorityChains
.Keys[count - 1]))
151
_priorityChains
.TryGetValue((int)priority, out chain);
167
_priorityChains
.Add((int)priority, chain);
289
if(item.Chain.Priority == (DispatcherPriority)
_priorityChains
.Keys[
_priorityChains
.Count - 1])
291
_priorityChains
.RemoveAt(
_priorityChains
.Count - 1);
295
_priorityChains
.Remove((int) item.Chain.Priority);