23 references to VisitExpression
Microsoft.CodeAnalysis.VisualBasic (23)
Lowering\LocalRewriter\LocalRewriter.vb (1)
269Return VisitExpression(expressionNode)
Lowering\LocalRewriter\LocalRewriter_AnonymousTypeCreationExpression.vb (1)
50newArguments(index) = VisitExpression(newArguments(index))
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (3)
225Dim rewrittenValue = VisitExpression(node.Right) 330Return If(suppressObjectClone OrElse right.HasErrors(), VisitExpression(right), GenerateObjectCloneIfNeeded(right, VisitExpression(right)))
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (3)
33AddPlaceholderReplacement(placeholder, VisitExpression(leftOperand)) 36Dim rewritten = DirectCast(VisitExpression(node.BitwiseOperator), BoundUserDefinedBinaryOperator) 125Dim right = VisitExpression(GetRightOperand(binary, tuple.OptimizeForConditionalBranch))
Lowering\LocalRewriter\LocalRewriter_Call.vb (1)
286Dim rewrittenArgumentInConversion As BoundExpression = VisitExpression(argument.InConversion)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (2)
128Dim rewrittenTestExpression As BoundExpression = VisitExpression(testExpression) 157Dim rewrittenWhenFalse As BoundExpression = VisitExpression(node.ElseExpression)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
169Dim rewrittenOperand = VisitExpression(node.Operand) 222fieldAccessorsBuilder.Add(VisitExpression(convertedElements.ConvertedElements(i))) 348F.AssignmentExpression(F.Local(savedOriginalValue, True), VisitExpression(node.Operand)), 349VisitExpression(conditionalResult)) 357Return VisitExpression(convertedValue)
Lowering\LocalRewriter\LocalRewriter_DelegateCreation.vb (1)
28Me.AddPlaceholderReplacement(placeholderOpt, VisitExpression(node.ReceiverOpt))
Lowering\LocalRewriter\LocalRewriter_FieldOrPropertyInitializer.vb (1)
136rewrittenStatement = VisitExpression(New BoundAssignmentOperator(syntax,
Lowering\LocalRewriter\LocalRewriter_InterpolatedString.vb (2)
50Return VisitExpression(node.ConstructionOpt) 82Return VisitExpression(node.ConstructionOpt)
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (2)
21Dim operand = VisitExpression(AdjustIfOptimizableForConditionalBranch(node.Operand, optimizableForConditionalBranch)) 69Return node.Update(node.OperatorKind, VisitExpression(node.UnderlyingExpression), node.Type)
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
274VisitExpression(origArgument), secondArgument),