103 references to VisitExpressionNode
Microsoft.CodeAnalysis.VisualBasic (103)
Lowering\LocalRewriter\LocalRewriter.vb (3)
496
receiverOpt =
VisitExpressionNode
(receiverOpt)
551
Dim rewritten As BoundExpression =
VisitExpressionNode
(node.UnderlyingLValue)
675
Dim enclosed =
VisitExpressionNode
(node.Expression)
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (3)
87
Dim rewrittenHandler As BoundExpression =
VisitExpressionNode
(node.Handler)
207
Dim handler As BoundExpression =
VisitExpressionNode
(node.Handler)
262
Dim rewrittenReceiver As BoundExpression =
VisitExpressionNode
(unwrappedEventAccess.ReceiverOpt)
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (12)
82
AddPlaceholderReplacement(node.LeftOnTheRightOpt,
VisitExpressionNode
(leftOnTheRight))
94
result = node.Update(
VisitExpressionNode
(assignmentTarget),
171
Return Me.
VisitExpressionNode
(leftNode)
218
Dim rewrittenReceiver =
VisitExpressionNode
(setNode.ReceiverOpt)
272
AddPlaceholderReplacement(node.LeftOnTheRightOpt,
VisitExpressionNode
(leftOnTheRight))
275
Dim value As BoundExpression =
VisitExpressionNode
(node.Right)
304
invocation = invocation.Update(
VisitExpressionNode
(invocation.Member),
472
Return midResult.Update(
VisitExpressionNode
(node.Left),
473
VisitExpressionNode
(midResult.Start),
474
VisitExpressionNode
(midResult.LengthOpt),
475
VisitExpressionNode
(midResult.Source),
518
VisitExpressionNode
(node.Original),
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (8)
58
VisitExpressionNode
(node.LeftOperand),
61
Dim rewrittenTest =
VisitExpressionNode
(node.LeftTest)
67
Dim rewrittenBitwise =
VisitExpressionNode
(node.BitwiseOperator)
119
Dim left =
VisitExpressionNode
(child)
795
Dim left As BoundExpression =
VisitExpressionNode
(node.Left)
796
Dim right As BoundExpression =
VisitExpressionNode
(GetRightOperand(node, optimizeForConditionalBranch))
1387
Dim left = Me.
VisitExpressionNode
(node.Left)
1388
Dim right = Me.
VisitExpressionNode
(node.Right)
Lowering\LocalRewriter\LocalRewriter_Call.vb (7)
26
VisitExpressionNode
(arguments(0)),
85
receiver =
VisitExpressionNode
(receiver)
180
rewritten =
VisitExpressionNode
(argument)
285
AddPlaceholderReplacement(argument.InPlaceholder,
VisitExpressionNode
(originalArgument))
319
AddPlaceholderReplacement(argument.InPlaceholder,
VisitExpressionNode
(firstUse))
340
Dim copyBackValue As BoundExpression =
VisitExpressionNode
(argument.OutConversion)
365
invocation = invocation.Update(
VisitExpressionNode
(invocation.Member),
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.vb (2)
35
Dim rewrittenReceiver As BoundExpression =
VisitExpressionNode
(node.Receiver)
123
whenNotNull =
VisitExpressionNode
(node.AccessExpression)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (8)
37
node.Update(
VisitExpressionNode
(node.TestExpression),
40
VisitExpressionNode
(node.ElseExpression),
51
Dim rewrittenTestExpression =
VisitExpressionNode
(node.TestExpression)
81
Dim rewrittenConvertedTestExpression =
VisitExpressionNode
(node.ConvertedTestExpression)
109
whenFalse:=
VisitExpressionNode
(node.ElseExpression),
207
Dim rewrittenLeft = Me.
VisitExpressionNode
(node.TestExpression)
212
Dim rewrittenRight = Me.
VisitExpressionNode
(node.ElseExpression)
320
Dim result =
VisitExpressionNode
(node)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
246
returnValue = node.Update(
VisitExpressionNode
(relaxationLambda),
269
returnValue = node.Update(
VisitExpressionNode
(node.RelaxationLambdaOpt),
292
returnValue = node.Update(
VisitExpressionNode
(node.RelaxationLambdaOpt),
627
Dim rewrittenOperand = Me.
VisitExpressionNode
(operand)
1288
Return
VisitExpressionNode
(node.Operand)
Lowering\LocalRewriter\LocalRewriter_DelegateCreation.vb (1)
52
Dim receiverToCapture As BoundExpression =
VisitExpressionNode
(node.ReceiverOpt)
Lowering\LocalRewriter\LocalRewriter_DoLoop.vb (2)
53
VisitExpressionNode
(node.ConditionOpt),
96
Dim rewrittenBottomCondition =
VisitExpressionNode
(node.ConditionOpt)
Lowering\LocalRewriter\LocalRewriter_FieldAccess.vb (1)
16
Dim rewrittenReceiver As BoundExpression = If(node.FieldSymbol.IsShared, Nothing, Me.
VisitExpressionNode
(node.ReceiverOpt))
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
131
rewrittenStatement =
VisitExpressionNode
(initialValueToRewrite).ToStatement
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (6)
126
VisitExpressionNode
(replacedCollection).MakeRValue)
479
VisitExpressionNode
(boundCondition),
595
AddPlaceholderReplacement(enumeratorInfo.CurrentPlaceholder,
VisitExpressionNode
(enumeratorInfo.Current))
627
VisitExpressionNode
(enumeratorInfo.MoveNext),
641
VisitExpressionNode
(enumeratorInfo.DisposeCondition),
643
VisitExpressionNode
(enumeratorInfo.DisposeCast))
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (9)
21
Dim rewrittenControlVariable =
VisitExpressionNode
(node.ControlVariable)
26
Dim rewrittenInitialValue =
VisitExpressionNode
(node.InitialValue)
27
Dim rewrittenLimit As BoundExpression =
VisitExpressionNode
(node.LimitValue)
28
Dim rewrittenStep =
VisitExpressionNode
(node.StepValue)
88
Dim subtraction =
VisitExpressionNode
(forStatement.OperatorsOpt.Subtraction)
92
Dim greaterThanOrEqual =
VisitExpressionNode
(forStatement.OperatorsOpt.GreaterThanOrEqual)
608
newValue =
VisitExpressionNode
(operatorsOpt.Addition)
670
VisitExpressionNode
(operatorsOpt.LessThanOrEqual),
671
VisitExpressionNode
(operatorsOpt.GreaterThanOrEqual))
Lowering\LocalRewriter\LocalRewriter_If.vb (1)
22
Dim newCondition =
VisitExpressionNode
(node.Condition)
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (1)
24
Return Me.
VisitExpressionNode
(lambda)
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (2)
409
Return
VisitExpressionNode
(result)
906
argumentBuilder.Add(
VisitExpressionNode
(argument))
Lowering\LocalRewriter\LocalRewriter_LateInvocation.vb (2)
53
Dim rewrittenReceiver =
VisitExpressionNode
(invocation.Member)
67
Dim rewrittenReceiver As BoundExpression =
VisitExpressionNode
(receiverExpression)
Lowering\LocalRewriter\LocalRewriter_LateMemberAccess.vb (1)
21
Dim rewrittenReceiver As BoundExpression =
VisitExpressionNode
(memberAccess.ReceiverOpt)
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (3)
233
expressions.Add(
VisitExpressionNode
(initializer))
363
VisitExpressionNode
(assignment.Right),
367
sequenceExpressions(initializerIndex + 1) =
VisitExpressionNode
(node.Initializers(initializerIndex))
Lowering\LocalRewriter\LocalRewriter_PropertyAccess.vb (1)
25
Return New BoundArrayLength(node.Syntax,
VisitExpressionNode
(receiverOpt), node.Type)
Lowering\LocalRewriter\LocalRewriter_Query.vb (3)
54
Dim rewrittenBody As BoundExpression =
VisitExpressionNode
(node.Expression)
246
VisitExpressionNode
(node.CapturedGroupOpt),
249
VisitExpressionNode
(node.UnderlyingExpression),
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (2)
27
VisitExpressionNode
(raiseCallExpression))
74
VisitExpressionNode
(raiseCallExpression))
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (2)
219
rewrittenSelectExpression =
VisitExpressionNode
(selectExpressionStmt.Expression)
330
Return
VisitExpressionNode
(node.ConditionOpt)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
22
Dim visitedLockExpression =
VisitExpressionNode
(node.LockExpression)
Lowering\LocalRewriter\LocalRewriter_Throw.vb (1)
20
expressionOpt =
VisitExpressionNode
(expressionOpt)
Lowering\LocalRewriter\LocalRewriter_Try.vb (3)
143
Dim newExceptionSource =
VisitExpressionNode
(node.ExceptionSourceOpt)
145
Dim newFilter =
VisitExpressionNode
(node.ExceptionFilterOpt)
170
errorLineNumber =
VisitExpressionNode
(node.ErrorLineNumberOpt)
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (2)
164
Dim operand As BoundExpression =
VisitExpressionNode
(node.Operand)
235
Dim operand = Me.
VisitExpressionNode
(node.Operand)
Lowering\LocalRewriter\LocalRewriter_Using.vb (2)
230
VisitExpressionNode
(disposeCondition), True,
231
VisitExpressionNode
(disposeConversion))
Lowering\LocalRewriter\LocalRewriter_While.vb (1)
36
VisitExpressionNode
(node.Condition),
Lowering\LocalRewriter\LocalRewriter_With.vb (1)
25
Dim rewrittenExpression As BoundExpression =
VisitExpressionNode
(node.OriginalExpression)
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (6)
84
Dim expr =
VisitExpressionNode
(rewriterInfo.ObjectCreation)
104
attributes = CreateTempLocal(syntax, rewriterInfo.XmlnsAttributesPlaceholder.Type,
VisitExpressionNode
(rewriterInfo.XmlnsAttributes), sideEffects)
174
Return
VisitExpressionNode
(objCreation)
194
Return
VisitExpressionNode
(objCreation)
214
attributes = CreateTempLocalInExpressionLambda(syntax, rewriterInfo.XmlnsAttributesPlaceholder.Type,
VisitExpressionNode
(rewriterInfo.XmlnsAttributes))
235
rewrittenCallArguments(i) =
VisitExpressionNode
([call].Arguments(0))