1 write to AwaitOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4055this.AwaitOpt = awaitOpt;
15 references to AwaitOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (2)
1087if (node.AwaitOpt is { } awaitableInfo) 1096this.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)
10843Visit(node.AwaitOpt); 10856node.AwaitOpt);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
219Visit(node.AwaitOpt);
Generated\BoundNodes.xml.Generated.cs (5)
4075if (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)) 10182this.Visit(node.AwaitOpt); 11395BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.AwaitOpt); 13438BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.AwaitOpt); 15880new 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;