示例#1
0
        DynamicMetaObject DynamicMetaObject.BindSetMember(SetMemberBinder binder, DynamicMetaObject value)
        {
            Class146 <T> class2 = new Class146 <T> {
                setMemberBinder_0   = binder,
                dynamicMetaObject_0 = value,
                class143_0          = (Class143 <T>) this
            };

            if (!this.method_0("TrySetMember"))
            {
                return(base.BindSetMember(class2.setMemberBinder_0, class2.dynamicMetaObject_0));
            }
            return(this.method_3("TrySetMember", class2.setMemberBinder_0, Class143 <T> .smethod_0(new DynamicMetaObject[] { class2.dynamicMetaObject_0 }), new Delegate2 <T>(class2.method_0)));
        }
示例#2
0
 private static Expression[] smethod_2(DynamicMetaObject[] dynamicMetaObject_0, DynamicMetaObject dynamicMetaObject_1)
 {
     return(new Expression[] { Expression.NewArrayInit(typeof(object), Class143 <T> .smethod_0(dynamicMetaObject_0)), Expression.Convert(dynamicMetaObject_1.Expression, typeof(object)) });
 }
示例#3
0
        DynamicMetaObject DynamicMetaObject.BindBinaryOperation(BinaryOperationBinder binder, DynamicMetaObject arg)
        {
            Class152 <T> class2 = new Class152 <T> {
                binaryOperationBinder_0 = binder,
                dynamicMetaObject_0     = arg,
                class143_0 = (Class143 <T>) this
            };

            if (!this.method_0("TryBinaryOperation"))
            {
                return(base.BindBinaryOperation(class2.binaryOperationBinder_0, class2.dynamicMetaObject_0));
            }
            return(this.method_1("TryBinaryOperation", class2.binaryOperationBinder_0, Class143 <T> .smethod_0(new DynamicMetaObject[] { class2.dynamicMetaObject_0 }), new Delegate2 <T>(class2.method_0), null));
        }
示例#4
0
 private static Expression[] smethod_1(DynamicMetaObject[] dynamicMetaObject_0)
 {
     return(new NewArrayExpression[] { Expression.NewArrayInit(typeof(object), Class143 <T> .smethod_0(dynamicMetaObject_0)) });
 }