public void SetUp() { _operand = ExpressionTreeObjectMother.GetSomeExpression(); _type = ReflectionObjectMother.GetSomeType(); _expression = new UnboxExpression(_operand, _type); }
public Expression VisitUnbox(UnboxExpression node) { ArgumentUtility.CheckNotNull("node", node); _childExpressionEmitter(node.Operand); _ilGenerator.Emit(OpCodes.Unbox_Any, node.Type); return(node); }