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