31 references to ExpressionOpt
Microsoft.CodeAnalysis.VisualBasic (31)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1518
VisitRvalue(node.
ExpressionOpt
)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1994
Dim functionLocal = TryCast(node.
ExpressionOpt
, BoundLocal)
Binding\Binder_Lambda.vb (5)
371
If node.
ExpressionOpt
IsNot Nothing Then
373
If node.
ExpressionOpt
.Kind = BoundKind.Local Then
374
Dim local As LocalSymbol = DirectCast(node.
ExpressionOpt
, BoundLocal).LocalSymbol
384
Dim returnRelaxation As ConversionKind = Conversions.DetermineDelegateRelaxationLevelForLambdaReturn(node.
ExpressionOpt
, _useSiteDiagnostics)
1059
Dim expr As BoundExpression = node.
ExpressionOpt
BoundTree\BoundReturnStatement.vb (2)
19
If
ExpressionOpt
IsNot Nothing AndAlso Not HasErrors Then
21
ExpressionOpt
.AssertRValue()
CodeGen\EmitStatement.vb (2)
900
Me.EmitExpression(boundReturnStatement.
ExpressionOpt
, True)
901
_builder.EmitRet(boundReturnStatement.
ExpressionOpt
Is Nothing)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1149
Dim expressionOpt = TryCast(Me.Visit(node.
ExpressionOpt
), BoundExpression)
Generated\BoundNodes.xml.Generated.vb (4)
2822
If expressionOpt IsNot Me.
ExpressionOpt
OrElse functionLocalOpt IsNot Me.FunctionLocalOpt OrElse exitLabelOpt IsNot Me.ExitLabelOpt Then
11361
Me.Visit(node.
ExpressionOpt
)
12358
Dim expressionOpt As BoundExpression = DirectCast(Me.Visit(node.
ExpressionOpt
), BoundExpression)
13561
New TreeDumperNode("expressionOpt", Nothing, new TreeDumperNode() {Visit(node.
ExpressionOpt
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (1)
24
Dim expression As BoundExpression = rewritten.
ExpressionOpt
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (2)
215
DirectCast(block.Statements(1), BoundReturnStatement).
ExpressionOpt
Is Nothing) OrElse
224
If (DirectCast(stmt, BoundReturnStatement)).
ExpressionOpt
IsNot Nothing Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
141
DirectCast(block.Statements(1), BoundReturnStatement).
ExpressionOpt
Is Nothing) OrElse
157
Dim expression As BoundExpression = (DirectCast(stmt, BoundReturnStatement)).
ExpressionOpt
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
341
If original.
ExpressionOpt
IsNot Nothing Then
Lowering\Instrumentation\Instrumenter.vb (3)
73
(original.
ExpressionOpt
IsNot Nothing AndAlso
74
Not original.
ExpressionOpt
.WasCompilerGenerated AndAlso
75
original.Syntax Is original.
ExpressionOpt
.Syntax))
Lowering\LocalRewriter\LocalRewriter_Return.vb (6)
23
rewritten = RegisterUnstructuredExceptionHandlingResumeTarget(node.Syntax, rewritten, canThrow:=node.
ExpressionOpt
IsNot Nothing)
27
If Instrument(node, rewritten) OrElse (node.
ExpressionOpt
IsNot Nothing AndAlso Instrument(node.
ExpressionOpt
)) Then
43
node = node.Update(node.
ExpressionOpt
, Nothing, Nothing)
46
If node.
ExpressionOpt
IsNot Nothing Then
76
node.
ExpressionOpt
,