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