// ConditionalExpression private Expression Rewrite(ConditionalExpression node) { Expression test = RewriteExpression(node.Test); Expression ifTrue = RewriteExpression(node.IfTrue); Expression ifFalse = RewriteExpression(node.IfFalse); if (((object)test != (object)node.Test) || ((object)ifTrue != (object)node.IfTrue) || ((object)ifFalse != (object)node.IfFalse)) { return(Ast.Condition(test, ifTrue, ifFalse)); } else { return(node); } }