1 write to AwaitOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4056this.AwaitOpt = awaitOpt;
15 references to AwaitOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (2)
1112if (node.AwaitOpt is { } awaitableInfo) 1121this.Visit(node.AwaitOpt);
FlowAnalysis\DefiniteAssignment.cs (1)
437return foreachStatement.AwaitOpt != null;
FlowAnalysis\ExitPointsWalker.cs (1)
143case BoundKind.ForEachStatement when ((BoundForEachStatement)pending.Branch).AwaitOpt != null:
FlowAnalysis\NullableWalker.cs (2)
10901Visit(node.AwaitOpt); 10914node.AwaitOpt);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
219Visit(node.AwaitOpt);
Generated\BoundNodes.xml.Generated.cs (5)
4076if (enumeratorInfoOpt != this.EnumeratorInfoOpt || elementPlaceholder != this.ElementPlaceholder || elementConversion != this.ElementConversion || iterationVariableType != this.IterationVariableType || iterationVariables != this.IterationVariables || iterationErrorExpressionOpt != this.IterationErrorExpressionOpt || expression != this.Expression || deconstructionOpt != this.DeconstructionOpt || awaitOpt != this.AwaitOpt || body != this.Body || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(continueLabel, this.ContinueLabel)) 10219this.Visit(node.AwaitOpt); 11432BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.AwaitOpt); 13475BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.AwaitOpt); 15917new TreeDumperNode("awaitOpt", null, new TreeDumperNode[] { Visit(node.AwaitOpt, null) }),
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (2)
60else if (node.AwaitOpt is null && CanRewriteForEachAsFor(node.Syntax, nodeExpressionType, out var indexerGet, out var lengthGetter)) 129node.AwaitOpt,
Operations\CSharpOperationFactory.cs (1)
1991bool isAsynchronous = boundForEachStatement.AwaitOpt != null;