14 references to _items
System.Threading.Channels (14)
System\Threading\Channels\SingleConsumerUnboundedChannel.cs (14)
126
if (parent.
_items
.TryDequeue(out item))
128
if (parent._doneWriting != null && parent.
_items
.IsEmpty)
138
_parent.
_items
.TryPeek(out item);
148
if (!_parent.
_items
.IsEmpty)
158
if (!parent.
_items
.IsEmpty)
196
private int ItemsCountForDebugger => _parent.
_items
.Count;
199
IEnumerator<T> IDebugEnumerable<T>.GetEnumerator() => _parent.
_items
.GetEnumerator();
230
if (parent.
_items
.IsEmpty)
306
parent.
_items
.Enqueue(item);
358
private int ItemsCountForDebugger => _parent.
_items
.Count;
361
IEnumerator<T> IDebugEnumerable<T>.GetEnumerator() => _parent.
_items
.GetEnumerator();
364
private object SyncObj =>
_items
;
367
private int ItemsCountForDebugger =>
_items
.Count;
373
IEnumerator<T> IDebugEnumerable<T>.GetEnumerator() =>
_items
.GetEnumerator();