2 instantiations of Enumerator
Microsoft.CodeAnalysis (2)
Operations\IOperation.OperationList.cs (2)
34
public Enumerator GetEnumerator() => new
Enumerator
(_operation);
63
return new EnumeratorImpl(new
Enumerator
(_operation));
10 references to Enumerator
Microsoft.CodeAnalysis (9)
Operations\IOperation.OperationList.cs (7)
34
public
Enumerator
GetEnumerator() => new Enumerator(_operation);
72
var
enumerator = GetEnumerator();
97
/// <see cref="
Enumerator
.MoveNext"/> has returned false will throw an <see cref="InvalidOperationException"/>.
103
/// Implementation of the <see cref="
Enumerator
.MoveNext"/> and <see cref="
Enumerator
.Current"/>
146
private
Enumerator
_enumerator;
148
public EnumeratorImpl(
Enumerator
enumerator)
Operations\OperationExtensions.cs (2)
96
var stack = ArrayBuilder<IOperation.OperationList.
Enumerator
>.GetInstance();
101
var
iterator = stack.Pop();
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestOperationVisitor.cs (1)
80
var
forwards = operation.ChildOperations.GetEnumerator();