20 references to VisitExpression
Microsoft.CodeAnalysis.CSharp (20)
CodeGen\Optimizer.cs (20)
452result = VisitExpression(expr, ExprContext.Value);
599return node.UpdateOperand(this.VisitExpression(node.Operand, context));
609this.VisitExpression(node.Expression, context),
727var rewrittenSideeffect = this.VisitExpression(sideeffect, ExprContext.Sideeffects);
742var value = this.VisitExpression(node.Value, origContext);
848this.VisitExpression(node.Expression, ExprContext.Sideeffects));
921var left = VisitExpression(node.Left, isIndirectAssignment ?
960right = VisitExpression(node.Right, rhsContext);
1204receiver = VisitExpression(receiver, context);
1277BoundExpression rewrittenArg = VisitExpression(arg, context);
1312var rewrittenOperand = VisitExpression(node.Operand, ExprContext.Address);
1351receiver = VisitExpression(receiver, ExprContext.Box);
1362receiver = VisitExpression(receiver, ExprContext.Address);
1366receiver = VisitExpression(receiver, ExprContext.Value);
1454BoundExpression condition = this.VisitExpression(node.Condition, ExprContext.Value);
1461BoundExpression consequence = this.VisitExpression(node.Consequence, context);
1466BoundExpression alternative = this.VisitExpression(node.Alternative, context);
1704exceptionSourceOpt = VisitExpression(exceptionSourceOpt, ExprContext.AssignmentTarget);
1769var rewrittenInitializer = this.VisitExpression(initializer, ExprContext.Value);
1791BoundExpression visitedOperand = this.VisitExpression(node.Operand, ExprContext.Address);