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));
12 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();
103
var
iterator = stack.Pop();
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.cs (1)
133
IOperation.OperationList.
Enumerator
enumerator = operationContext.Operation.ChildOperations.GetEnumerator();
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
799
using var stack = ArrayBuilder<IOperation.OperationList.
Enumerator
>.GetInstance();
804
var
enumerator = stack.Last();