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)
3388
if (node.
ExpressionOpt
!= null)
3390
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)
10232
this.Visit(node.
ExpressionOpt
);
11445
BoundExpression? expressionOpt = (BoundExpression?)this.Visit(node.
ExpressionOpt
);
13484
BoundExpression? expressionOpt = (BoundExpression?)this.Visit(node.
ExpressionOpt
);
15935
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
!);