1 write to AwaitOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4129
this.
AwaitOpt
= awaitOpt;
15 references to AwaitOpt
Microsoft.CodeAnalysis.CSharp (15)
Binder\RefSafetyAnalysis.cs (2)
347
if (node.
AwaitOpt
is { } awaitableInfo)
356
this.Visit(node.
AwaitOpt
);
FlowAnalysis\AbstractFlowPass.cs (1)
3396
if (AwaitUsingAndForeachAddsPendingBranch && node.
AwaitOpt
!= null)
FlowAnalysis\DefiniteAssignment.cs (1)
434
return usingStatement.
AwaitOpt
!= null;
FlowAnalysis\NullableWalker.cs (1)
3421
Visit(node.
AwaitOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4145
if (locals != this.Locals || declarationsOpt != this.DeclarationsOpt || expressionOpt != this.ExpressionOpt || body != this.Body || awaitOpt != this.
AwaitOpt
|| patternDisposeInfoOpt != this.PatternDisposeInfoOpt)
10197
this.Visit(node.
AwaitOpt
);
11410
BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.
AwaitOpt
);
13449
BoundAwaitableInfo? awaitOpt = (BoundAwaitableInfo?)this.Visit(node.
AwaitOpt
);
15900
new TreeDumperNode("awaitOpt", null, new TreeDumperNode[] { Visit(node.
AwaitOpt
, null) }),
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (3)
57
node.
AwaitOpt
,
162
TypeSymbol iDisposableType = node.
AwaitOpt
is null ?
190
BoundStatement tryFinally = RewriteUsingStatementTryFinally(usingSyntax, usingSyntax, tryBlock, boundTemp, usingSyntax.AwaitKeyword, node.
AwaitOpt
, node.PatternDisposeInfoOpt);
Lowering\MethodToClassRewriter.cs (1)
206
return node.Update(newLocals, declarations, expression, body, node.
AwaitOpt
, node.PatternDisposeInfoOpt);
Operations\CSharpOperationFactory.cs (1)
2036
bool isAsynchronous = boundUsingStatement.
AwaitOpt
!= null;