50 references to ValueOpt
Microsoft.CodeAnalysis.VisualBasic (50)
BoundTree\BoundSpillSequence.vb (6)
11
Return If(Me.
ValueOpt
IsNot Nothing, Me.
ValueOpt
.IsLValue, False)
21
Debug.Assert(Me.
ValueOpt
IsNot Nothing)
22
Return Update(Locals, SpillFields, Statements,
ValueOpt
.MakeRValue(), Type)
30
Debug.Assert(Me.
ValueOpt
Is Nothing OrElse Me.
ValueOpt
.Kind <> BoundKind.SpillSequence)
Generated\BoundNodes.xml.Generated.vb (4)
8808
If locals <> Me.Locals OrElse spillFields <> Me.SpillFields OrElse statements <> Me.Statements OrElse valueOpt IsNot Me.
ValueOpt
OrElse type IsNot Me.Type Then
11984
Me.Visit(node.
ValueOpt
)
13064
Dim valueOpt As BoundExpression = DirectCast(Me.Visit(node.
ValueOpt
), BoundExpression)
14515
New TreeDumperNode("valueOpt", Nothing, new TreeDumperNode() {Visit(node.
ValueOpt
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (22)
33
Dim valueOpt As BoundExpression = Me.VisitExpression(node.
ValueOpt
)
47
spillSeq.
ValueOpt
,
77
valueOpt = spill.
ValueOpt
109
receiverOpt = spill.
ValueOpt
163
spilledReferenceReceiver = referenceReceiverSpillSequence.
ValueOpt
222
rewritten.Update(spill.
ValueOpt
,
298
rewritten.Update(spillSequence.
ValueOpt
,
316
rightAsSpillSequence.
ValueOpt
,
349
rightSpill.
ValueOpt
,
392
rewritten.Update(spillSequence.
ValueOpt
,
413
rewritten.Update(spillSequence.
ValueOpt
,
434
rewritten.Update(spillSequence.
ValueOpt
,
454
rewritten.Update(spillSequence.
ValueOpt
,
478
rewritten.Update(spillSequence.
ValueOpt
,
533
Return RewriteSpillSequenceIntoBlock(spill, False, Me.F.Assignment(Me.F.Local(temp, True), spill.
ValueOpt
))
594
Return SpillSequenceWithNewValue(spill, node.Update(spill.
ValueOpt
,
607
receiver = spill.
ValueOpt
659
spilledReferenceReceiver = referenceReceiverSpillSequence.
ValueOpt
911
rewritten.Update(spill.
ValueOpt
,
927
spill.
ValueOpt
,
971
rewritten.Update(spill.
ValueOpt
,
989
rewritten.Update(spill.
ValueOpt
,
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (11)
182
newExpression = spill.
ValueOpt
258
Debug.Assert(spill.
ValueOpt
IsNot Nothing)
259
Return SpillLValue(spill.
ValueOpt
, isReceiver, evaluateSideEffects, builder)
338
Return complexReceiver.Update(spilledValueReceiver, referenceReceiverSpillSequence.
ValueOpt
, complexReceiver.Type)
350
Return complexReceiver.Update(valueReceiverSpillSequence.
ValueOpt
, spilledReferenceReceiver, complexReceiver.Type)
363
Return complexReceiver.Update(valueReceiverSpillSequence.
ValueOpt
, referenceReceiverSpillSequence.
ValueOpt
, complexReceiver.Type)
392
Debug.Assert(spill.
ValueOpt
IsNot Nothing)
393
Return SpillRValue(spill.
ValueOpt
, builder)
440
If addValueAsExpression AndAlso spill.
ValueOpt
IsNot Nothing Then
441
newStatements.Add(Me.F.ExpressionStatement(spill.
ValueOpt
))
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (6)
31
Debug.Assert(spill.
ValueOpt
IsNot Nothing)
36
Me.F.Assignment(Me.F.Local(Me._exprRetValue, True), spill.
ValueOpt
)),
70
Debug.Assert(spill.
ValueOpt
IsNot Nothing)
74
rewritten.Update(spill.
ValueOpt
))
86
Debug.Assert(spill.
ValueOpt
IsNot Nothing)
90
node.Update(spill.
ValueOpt
,
Lowering\AsyncRewriter\AsyncRewriter.SpillBuilder.vb (1)
98
expression.
ValueOpt
,