예제 #1
0
        //[DebuggerStepThrough]
        ////[DebuggerHidden]
        public object Invoke(MethodInfo genericMethod, object proxy, object[] args, MixinsInstance mixins, ModuleInstance moduleInstance)
        {
            this.methodConstraintsInstance.CheckValid(proxy, args);

            CompositeMethodInstance methodInstance = this.GetInstance(genericMethod, moduleInstance);

            return(mixins.Invoke(proxy, args, methodInstance));
        }
예제 #2
0
        //[DebuggerStepThrough]
        ////[DebuggerHidden]
        public object Invoke(object composite, object[] args, CompositeMethodInstance methodInstance)
        {
            object mixin = methodInstance.GetMixin(this.Mixins);

            return(methodInstance.Invoke(composite, args, mixin));
        }
 //[DebuggerStepThrough]
 ////[DebuggerHidden]
 public object Invoke(object composite, object[] args, CompositeMethodInstance methodInstance)
 {
     object mixin = methodInstance.GetMixin(this.Mixins);
     return methodInstance.Invoke(composite, args, mixin);
 }