1 write to AwaitOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4056
this.
AwaitOpt
= awaitOpt;
15 references to AwaitOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (2)
1087
if (node.
AwaitOpt
is { } awaitableInfo)
1096
this.Visit(node.
AwaitOpt
);
FlowAnalysis\DefiniteAssignment.cs (1)
437
return foreachStatement.
AwaitOpt
!= null;
FlowAnalysis\ExitPointsWalker.cs (1)
143
case BoundKind.ForEachStatement when ((BoundForEachStatement)pending.Branch).
AwaitOpt
!= null:
FlowAnalysis\NullableWalker.cs (2)
10840
Visit(node.
AwaitOpt
);
10853
node.
AwaitOpt
);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
219
Visit(node.
AwaitOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4076
if (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))
10183
this.Visit(node.
AwaitOpt
);
11396
BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.
AwaitOpt
);
13439
BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.
AwaitOpt
);
15881
new TreeDumperNode("awaitOpt", null, new TreeDumperNode[] { Visit(node.
AwaitOpt
, null) }),
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (2)
60
else if (node.
AwaitOpt
is null && CanRewriteForEachAsFor(node.Syntax, nodeExpressionType, out var indexerGet, out var lengthGetter))
129
node.
AwaitOpt
,
Operations\CSharpOperationFactory.cs (1)
1991
bool isAsynchronous = boundForEachStatement.
AwaitOpt
!= null;