1 write to ExpressionOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4126
this.
ExpressionOpt
= expressionOpt;
16 references to ExpressionOpt
Microsoft.CodeAnalysis.CSharp (16)
Binder\RefSafetyAnalysis.cs (2)
344
this.Visit(node.
ExpressionOpt
);
349
SafeContext valEscapeScope = node.
ExpressionOpt
is { } expr
FlowAnalysis\AbstractFlowPass.cs (2)
3400
if (node.
ExpressionOpt
!= null)
3402
VisitRvalue(node.
ExpressionOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4144
if (locals != this.Locals || declarationsOpt != this.DeclarationsOpt || expressionOpt != this.
ExpressionOpt
|| body != this.Body || awaitOpt != this.AwaitOpt || patternDisposeInfoOpt != this.PatternDisposeInfoOpt)
10230
this.Visit(node.
ExpressionOpt
);
11513
BoundExpression? expressionOpt = (BoundExpression?)this.Visit(node.
ExpressionOpt
);
13627
BoundExpression? expressionOpt = (BoundExpression?)this.Visit(node.
ExpressionOpt
);
16077
new TreeDumperNode("expressionOpt", null, new TreeDumperNode[] { Visit(node.
ExpressionOpt
, null) }),
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
544
syntaxForSpan = ((BoundNode?)usingStatement.
ExpressionOpt
?? usingStatement.DeclarationsOpt)!.Syntax;
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (3)
44
if (node.
ExpressionOpt
!= null)
110
Debug.Assert(node.
ExpressionOpt
!= null);
127
BoundExpression rewrittenExpression = VisitExpression(node.
ExpressionOpt
);
Operations\CSharpOperationFactory.cs (3)
2031
Debug.Assert((boundUsingStatement.DeclarationsOpt == null) != (boundUsingStatement.
ExpressionOpt
== null));
2032
Debug.Assert(boundUsingStatement.
ExpressionOpt
is object || boundUsingStatement.Locals.Length > 0);
2033
IOperation resources = Create(boundUsingStatement.DeclarationsOpt ?? (BoundNode)boundUsingStatement.
ExpressionOpt
!);