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)
1160
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
1591
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TKey>() :
1652
void IEnumerator.Reset() =>
EnumerableHelpers
.Reset(ref _enumerator);
1736
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TValue>() :
1896
void IEnumerator.Reset() =>
EnumerableHelpers
.Reset(ref _enumerator);
System\Collections\Generic\PriorityQueue.cs (2)
155
_nodes =
EnumerableHelpers
.ToArray(items, out _size);
1057
_queue.Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<(TElement Element, TPriority Priority)>() :
System\Collections\Generic\SortedDictionary.cs (3)
247
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
529
Count == 0 ?
EnumerableHelpers
.GetEmptyEnumerator<TKey>() :
690
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>() :