13 instantiations of Enumerator
System.Collections.Immutable (13)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
442_additionalEnumerator = new ImmutableList<KeyValuePair<TKey, TValue>>.Enumerator(_bucket._additionalElements);
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
365_additionalEnumerator = new ImmutableList<T>.Enumerator(_bucket._additionalElements);
System\Collections\Immutable\ImmutableList_1.cs (1)
1091public Enumerator GetEnumerator() => new Enumerator(_root);
System\Collections\Immutable\ImmutableList_1.Node.cs (10)
205public Enumerator GetEnumerator() => new Enumerator(this); 234internal Enumerator GetEnumerator(Builder builder) => new Enumerator(this, builder); 465var enumerator = new Enumerator(result); 475enumerator = new Enumerator(result, startIndex: startIndex); 768using (var enumerator = new Enumerator(this, startIndex: index, count: count)) 809using (var enumerator = new Enumerator(this, startIndex: index, count: count, reversed: true)) 895using (var enumerator = new Enumerator(this, startIndex: index, count: count)) 1128using (var enumerator = new Enumerator(this, startIndex: startIndex, count: count)) 1161using (var enumerator = new Enumerator(this, reversed: true)) 1240using (var enumerator = new Enumerator(this, startIndex: startIndex, count: count, reversed: true))
27 references to Enumerator
Microsoft.Build (1)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (1)
44private ImmutableList<ItemData>.Enumerator GetEnumerator() => _listBuilder.GetEnumerator();
System.Collections.Immutable (26)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (2)
351private ImmutableList<KeyValuePair<TKey, TValue>>.Enumerator _additionalEnumerator; 361_additionalEnumerator = default(ImmutableList<KeyValuePair<TKey, TValue>>.Enumerator);
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (2)
271private ImmutableList<T>.Enumerator _additionalEnumerator; 282_additionalEnumerator = default(ImmutableList<T>.Enumerator);
System\Collections\Immutable\ImmutableList_1.Builder.cs (2)
223public ImmutableList<T>.Enumerator GetEnumerator() 792foreach (T item in items.GetEnumerableDisposable<T, Enumerator>())
System\Collections\Immutable\ImmutableList_1.cs (3)
19public sealed partial class ImmutableList<T> : IImmutableList<T>, IList<T>, IList, IStrongEnumerable<T, ImmutableList<T>.Enumerator> 346foreach (T item in items.GetEnumerableDisposable<T, Enumerator>()) 1091public Enumerator GetEnumerator() => new Enumerator(_root);
System\Collections\Immutable\ImmutableList_1.Enumerator.cs (5)
17/// <see cref="ImmutableList{T}.Enumerator"/>, <see cref="ImmutableSortedDictionary{TKey, TValue}.Enumerator"/>, and <see cref="ImmutableSortedSet{T}.Enumerator"/>. 80/// Initializes an <see cref="Enumerator"/> structure. 107if (!SecureObjectPool<Stack<RefAsValueType<Node>>, Enumerator>.TryTake(this, out _stack)) 109_stack = SecureObjectPool<Stack<RefAsValueType<Node>>, Enumerator>.PrepNew(this, new Stack<RefAsValueType<Node>>(root.Height)); 151SecureObjectPool<Stack<RefAsValueType<Node>>, Enumerator>.TryAdd(this, _stack!);
System\Collections\Immutable\ImmutableList_1.Node.cs (9)
205public Enumerator GetEnumerator() => new Enumerator(this); 234internal Enumerator GetEnumerator(Builder builder) => new Enumerator(this, builder); 465var enumerator = new Enumerator(result); 768using (var enumerator = new Enumerator(this, startIndex: index, count: count)) 809using (var enumerator = new Enumerator(this, startIndex: index, count: count, reversed: true)) 895using (var enumerator = new Enumerator(this, startIndex: index, count: count)) 1128using (var enumerator = new Enumerator(this, startIndex: startIndex, count: count)) 1161using (var enumerator = new Enumerator(this, reversed: true)) 1240using (var enumerator = new Enumerator(this, startIndex: startIndex, count: count, reversed: true))
System\Collections\Immutable\ImmutableSortedDictionary_2.Enumerator.cs (1)
17/// <see cref="ImmutableList{T}.Enumerator"/>, <see cref="ImmutableSortedDictionary{TKey, TValue}.Enumerator"/>, and <see cref="ImmutableSortedSet{T}.Enumerator"/>.
System\Collections\Immutable\ImmutableSortedSet_1.Enumerator.cs (1)
16/// <see cref="ImmutableList{T}.Enumerator"/>, <see cref="ImmutableSortedDictionary{TKey, TValue}.Enumerator"/>, and <see cref="ImmutableSortedSet{T}.Enumerator"/>.
System\Collections\Immutable\SortedInt32KeyNode.Enumerator.cs (1)
16/// <see cref="ImmutableList{T}.Enumerator"/>, <see cref="ImmutableSortedDictionary{TKey, TValue}.Enumerator"/>, and <see cref="ImmutableSortedSet{T}.Enumerator"/>.