Inheritance: IDynamicMethod
        public void DoItCaller(int count, ref int reference, out string output)
        {
            InstanceMethod caller = new InstanceMethod();

            RefOutTestObject target = new RefOutTestObject();

            object[] args = new object[] { count, reference, null };
            caller.InvokeDoIt(target, args);

            reference = (int)args[1];
            output    = (string)args[2];
        }
        public void DoItCaller(int count, ref int reference, out string output)
        {
            InstanceMethod caller = new InstanceMethod();

            RefOutTestObject target = new RefOutTestObject();
            object[] args = new object[] { count, reference, null };
            caller.InvokeDoIt(target, args);

            reference = (int)args[1];
            output = (string)args[2];
        }