18 references to _items
System.Threading.Channels (18)
System\Threading\Channels\UnboundedChannel.cs (18)
61public override int Count => _parent._items.Count; 72if (parent._items.TryDequeue(out T? item)) 83if (parent._items.TryDequeue(out item)) 118if (parent._items.TryDequeue(out item)) 129_parent._items.TryPeek(out item); 133if (parent._doneWriting != null && parent._items.IsEmpty) 147if (!_parent._items.IsEmpty) 159if (!parent._items.IsEmpty) 191IEnumerator<T> IDebugEnumerable<T>.GetEnumerator() => _parent._items.GetEnumerator(); 218completeTask = parent._items.IsEmpty; 265parent._items.Enqueue(item); 317private int ItemsCountForDebugger => _parent._items.Count; 320IEnumerator<T> IDebugEnumerable<T>.GetEnumerator() => _parent._items.GetEnumerator(); 324private object SyncObj => _items; 332if (!_items.IsEmpty) 343Debug.Assert(_items.IsEmpty, "There are blocked/waiting readers, so there shouldn't be any data available."); 352private int ItemsCountForDebugger => _items.Count; 358IEnumerator<T> IDebugEnumerable<T>.GetEnumerator() => _items.GetEnumerator();