9 references to Count
System.Collections (1)
System\Collections\Generic\PriorityQueue.cs (1)
1067
_queue.
Count
== 0 ? EnumerableHelpers.GetEmptyEnumerator<(TElement Element, TPriority Priority)>() :
System.Threading.Channels (8)
System\Threading\Channels\UnboundedPriorityChannel.cs (8)
73
public override int Count => _parent._items.
Count
;
140
if (parent._doneWriting is not null && parent._items.
Count
== 0)
160
if (parent._items.
Count
!= 0)
214
completeTask = parent._items.
Count
== 0;
299
private int ItemsCountForDebugger => _parent._items.
Count
;
343
if (_items.
Count
!= 0)
355
Debug.Assert(_items.
Count
== 0, "There are blocked/waiting readers, so there shouldn't be any data available.");
365
private int ItemsCountForDebugger => _items.
Count
;