예제 #1
0
 static public int Execute(IntPtr l)
 {
     try {
         Unity.Jobs.IJobParallelFor self = (Unity.Jobs.IJobParallelFor)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         self.Execute(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
        static StackObject *Execute_0(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            CSHotFix.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            Unity.Jobs.IJobParallelFor instance_of_this_method = (Unity.Jobs.IJobParallelFor) typeof(Unity.Jobs.IJobParallelFor).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Execute(@index);

            return(__ret);
        }