1 write to ExpressionOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4128
this.
ExpressionOpt
= expressionOpt;
17 references to ExpressionOpt
Microsoft.CodeAnalysis.CSharp (17)
Binder\RefSafetyAnalysis.cs (2)
344
this.Visit(node.
ExpressionOpt
);
349
SafeContext valEscapeScope = node.
ExpressionOpt
is { } expr
FlowAnalysis\AbstractFlowPass.cs (2)
3384
if (node.
ExpressionOpt
!= null)
3386
VisitRvalue(node.
ExpressionOpt
);
Generated\BoundNodes.xml.Generated.cs (5)
4146
if (locals != this.Locals || declarationsOpt != this.DeclarationsOpt || expressionOpt != this.
ExpressionOpt
|| body != this.Body || awaitOpt != this.AwaitOpt || patternDisposeInfoOpt != this.PatternDisposeInfoOpt)
10196
this.Visit(node.
ExpressionOpt
);
11409
BoundExpression? expressionOpt = (BoundExpression?)this.Visit(node.
ExpressionOpt
);
13448
BoundExpression? expressionOpt = (BoundExpression?)this.Visit(node.
ExpressionOpt
);
15899
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
);
Lowering\MethodToClassRewriter.cs (1)
204
var expression = (BoundExpression?)this.Visit(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
!);