2 writes to _queue
System.Collections (2)
System\Collections\Generic\PriorityQueueDebugView.cs (2)
17
_queue
= queue;
23
_queue
= collection?._queue ?? throw new ArgumentNullException(nameof(collection));
2 references to _queue
System.Collections (2)
System\Collections\Generic\PriorityQueueDebugView.cs (2)
31
var list = new List<(TElement Element, TPriority Priority)>(
_queue
.UnorderedItems);
34
list.Sort((i1, i2) =>
_queue
.Comparer.Compare(i1.Priority, i2.Priority));