12 references to Current
Microsoft.CodeAnalysis (9)
Operations\ControlFlowGraphBuilder.cs (3)
3498if (enumerator.Current is IConditionalAccessInstanceOperation) 3502else if (enumerator.Current is InvalidOperation invalidChild) 3507currentOperation = (Operation)enumerator.Current;
Operations\IOperation.OperationList.cs (5)
76return enumerator.Current; 97/// to <code>default(Enumerator)</code>, and will null reference in these cases. Calling <see cref="Current"/> after 104/// Implementation of the <see cref="Enumerator.MoveNext"/> and <see cref="Enumerator.Current"/> 154public IOperation Current => _enumerator.Current; 155object? IEnumerator.Current => _enumerator.Current;
Operations\OperationExtensions.cs (1)
110var current = iterator.Current;
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.cs (2)
140containingType = enumerator.Current.Type!; 147indexerArgument = enumerator.Current;
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
808var current = enumerator.Current;