2 instantiations of Enumerator
Microsoft.CodeAnalysis (2)
Operations\IOperation.OperationList.cs (2)
35
public Enumerator GetEnumerator() => new
Enumerator
(_operation);
64
return new EnumeratorImpl(new
Enumerator
(_operation));
10 references to Enumerator
Microsoft.CodeAnalysis (9)
Operations\IOperation.OperationList.cs (7)
35
public
Enumerator
GetEnumerator() => new Enumerator(_operation);
73
var
enumerator = GetEnumerator();
98
/// <see cref="
Enumerator
.MoveNext"/> has returned false will throw an <see cref="InvalidOperationException"/>.
104
/// Implementation of the <see cref="
Enumerator
.MoveNext"/> and <see cref="
Enumerator
.Current"/>
147
private
Enumerator
_enumerator;
149
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)
81
var
forwards = operation.ChildOperations.GetEnumerator();