11 references to Current
Microsoft.CodeAnalysis (9)
Operations\ControlFlowGraphBuilder.cs (3)
3488if (enumerator.Current is IConditionalAccessInstanceOperation) 3492else if (enumerator.Current is InvalidOperation invalidChild) 3497currentOperation = (Operation)enumerator.Current;
Operations\IOperation.OperationList.cs (5)
75return enumerator.Current; 96/// to <code>default(Enumerator)</code>, and will null reference in these cases. Calling <see cref="Current"/> after 103/// Implementation of the <see cref="Enumerator.MoveNext"/> and <see cref="Enumerator.Current"/> 153public IOperation Current => _enumerator.Current; 154object? IEnumerator.Current => _enumerator.Current;
Operations\OperationExtensions.cs (1)
108var current = iterator.Current;
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\TestOperationVisitor.cs (2)
82var first = forwards.Current; 85Assert.Same(first, forwards.Current);