public override ICodeNode VisitMethodInvocationExpression(MethodInvocationExpression node) { node = (MethodInvocationExpression)this.VisitMethodInvocationExpression(node); this.VisitInvocationArguments(node.get_Arguments(), node.get_MethodExpression().get_Method()); if (node.get_IsConstrained() && node.get_MethodExpression().get_Target().get_CodeNodeType() == 22) { V_0 = node.get_ConstraintType().Resolve(); if (V_0.get_IsEnum()) { node.get_MethodExpression().set_Target(EnumHelper.GetEnumExpression(V_0, node.get_MethodExpression().get_Target() as LiteralExpression, this.typeSystem)); } } return(node); }