9 references to Count
System.Collections (1)
System\Collections\Generic\PriorityQueue.cs (1)
1062
_queue.
Count
== 0 ? EnumerableHelpers.GetEmptyEnumerator<(TElement Element, TPriority Priority)>() :
System.Threading.Channels (8)
System\Threading\Channels\UnboundedPriorityChannel.cs (8)
67
public override int Count => _parent._items.
Count
;
143
if (parent._doneWriting != null && parent._items.
Count
== 0)
163
if (parent._items.
Count
!= 0)
223
completeTask = parent._items.
Count
== 0;
322
private int ItemsCountForDebugger => _parent._items.
Count
;
337
if (_items.
Count
!= 0)
348
Debug.Assert(_items.
Count
== 0, "There are blocked/waiting readers, so there shouldn't be any data available.");
357
private int ItemsCountForDebugger => _items.
Count
;