12 references to Current
Microsoft.CodeAnalysis (9)
Operations\ControlFlowGraphBuilder.cs (3)
3498
if (enumerator.
Current
is IConditionalAccessInstanceOperation)
3502
else if (enumerator.
Current
is InvalidOperation invalidChild)
3507
currentOperation = (Operation)enumerator.
Current
;
Operations\IOperation.OperationList.cs (5)
76
return 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
"/>
154
public IOperation Current => _enumerator.
Current
;
155
object? IEnumerator.Current => _enumerator.
Current
;
Operations\OperationExtensions.cs (1)
110
var current = iterator.
Current
;
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\UseAsSpanInsteadOfRangeIndexer.cs (2)
140
containingType = enumerator.
Current
.Type!;
147
indexerArgument = enumerator.
Current
;
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
808
var current = enumerator.
Current
;