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)
1091
public Enumerator GetEnumerator() => new
Enumerator
(_root);
System\Collections\Immutable\ImmutableList_1.Node.cs (10)
205
public Enumerator GetEnumerator() => new
Enumerator
(this);
234
internal Enumerator GetEnumerator(Builder builder) => new
Enumerator
(this, builder);
465
var enumerator = new
Enumerator
(result);
475
enumerator = new
Enumerator
(result, startIndex: startIndex);
768
using (var enumerator = new
Enumerator
(this, startIndex: index, count: count))
809
using (var enumerator = new
Enumerator
(this, startIndex: index, count: count, reversed: true))
895
using (var enumerator = new
Enumerator
(this, startIndex: index, count: count))
1128
using (var enumerator = new
Enumerator
(this, startIndex: startIndex, count: count))
1161
using (var enumerator = new
Enumerator
(this, reversed: true))
1240
using (var enumerator = new
Enumerator
(this, startIndex: startIndex, count: count, reversed: true))
27 references to Enumerator
Microsoft.Build (1)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (1)
44
private ImmutableList<ItemData>.
Enumerator
GetEnumerator() => _listBuilder.GetEnumerator();
System.Collections.Immutable (26)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (2)
351
private ImmutableList<KeyValuePair<TKey, TValue>>.
Enumerator
_additionalEnumerator;
361
_additionalEnumerator = default(ImmutableList<KeyValuePair<TKey, TValue>>.
Enumerator
);
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (2)
271
private ImmutableList<T>.
Enumerator
_additionalEnumerator;
282
_additionalEnumerator = default(ImmutableList<T>.
Enumerator
);
System\Collections\Immutable\ImmutableList_1.Builder.cs (2)
223
public ImmutableList<T>.
Enumerator
GetEnumerator()
792
foreach (T item in items.GetEnumerableDisposable<T,
Enumerator
>())
System\Collections\Immutable\ImmutableList_1.cs (3)
19
public sealed partial class ImmutableList<T> : IImmutableList<T>, IList<T>, IList, IStrongEnumerable<T, ImmutableList<T>.
Enumerator
>
346
foreach (T item in items.GetEnumerableDisposable<T,
Enumerator
>())
1091
public
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.
107
if (!SecureObjectPool<Stack<RefAsValueType<Node>>,
Enumerator
>.TryTake(this, out _stack))
109
_stack = SecureObjectPool<Stack<RefAsValueType<Node>>,
Enumerator
>.PrepNew(this, new Stack<RefAsValueType<Node>>(root.Height));
151
SecureObjectPool<Stack<RefAsValueType<Node>>,
Enumerator
>.TryAdd(this, _stack!);
System\Collections\Immutable\ImmutableList_1.Node.cs (9)
205
public
Enumerator
GetEnumerator() => new Enumerator(this);
234
internal
Enumerator
GetEnumerator(Builder builder) => new Enumerator(this, builder);
465
var
enumerator = new Enumerator(result);
768
using (
var
enumerator = new Enumerator(this, startIndex: index, count: count))
809
using (
var
enumerator = new Enumerator(this, startIndex: index, count: count, reversed: true))
895
using (
var
enumerator = new Enumerator(this, startIndex: index, count: count))
1128
using (
var
enumerator = new Enumerator(this, startIndex: startIndex, count: count))
1161
using (
var
enumerator = new Enumerator(this, reversed: true))
1240
using (
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"/>.