18 references to EnumerableHelpers
System.Collections (18)
System\Collections\Generic\LinkedList.cs (1)
292
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<T>() :
System\Collections\Generic\OrderedDictionary.cs (5)
1157
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
1588
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TKey>() :
1649
void IEnumerator.Reset() =>
EnumerableHelpers
.Reset(ref _enumerator);
1733
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TValue>() :
1893
void IEnumerator.Reset() =>
EnumerableHelpers
.Reset(ref _enumerator);
System\Collections\Generic\PriorityQueue.cs (2)
160
_nodes =
EnumerableHelpers
.ToArray(items, out _size);
1062
_queue.Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<(TElement Element, TPriority Priority)>() :
System\Collections\Generic\SortedDictionary.cs (3)
247
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
531
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TKey>() :
692
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TValue>() :
System\Collections\Generic\SortedList.cs (3)
548
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
1086
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TKey>() :
1200
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TValue>() :
System\Collections\Generic\SortedSet.cs (2)
104
T[] elements =
EnumerableHelpers
.ToArray(collection, out count);
1131
T[] elements =
EnumerableHelpers
.ToArray(other, out length);
System\Collections\Generic\Stack.cs (2)
54
_array =
EnumerableHelpers
.ToArray(collection, out _size);
160
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<T>() :