Пример #1
0
        private static DynamicExpression SetMember(ActionBinder binder, string name, Type result, params Expression[] arguments)
        {
            ContractUtils.RequiresNotNull(arguments, "arguments");
            ContractUtils.Requires(arguments.Length >= 2, "arguments");

            return(Expression.Dynamic(OldSetMemberAction.Make(binder, name), result, arguments));
        }
Пример #2
0
 public SetMemberBinderHelper(CodeContext context, OldSetMemberAction action, object[] args) : base(context, action, args)
 {
 }