1 write to AwaitOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4055
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)
10843
Visit(node.
AwaitOpt
);
10856
node.
AwaitOpt
);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
219
Visit(node.
AwaitOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4075
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))
10182
this.Visit(node.
AwaitOpt
);
11395
BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.
AwaitOpt
);
13438
BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.
AwaitOpt
);
15880
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;