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