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