1 write to _queue
System.Collections (1)
System\Collections\Generic\PriorityQueue.cs (1)
941internal UnorderedItemsCollection(PriorityQueue<TElement, TPriority> queue) => _queue = queue;
7 references to _queue
System.Collections (7)
System\Collections\Generic\PriorityQueue.cs (6)
943public int Count => _queue._size; 966if (array.Length - index < _queue._size) 973Array.Copy(_queue._nodes, 0, array, index, _queue._size); 1052public Enumerator GetEnumerator() => new Enumerator(_queue); 1055_queue.Count == 0 ? EnumerableHelpers.GetEmptyEnumerator<(TElement Element, TPriority Priority)>() :
System\Collections\Generic\PriorityQueueDebugView.cs (1)
23_queue = collection?._queue ?? throw new ArgumentNullException(nameof(collection));