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)
31var list = new List<(TElement Element, TPriority Priority)>(_queue.UnorderedItems); 34list.Sort((i1, i2) => _queue.Comparer.Compare(i1.Priority, i2.Priority));