Пример #1
0
        static StackObject *ChainSelector_1(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.Runtime.Serialization.ISurrogateSelector @selector = (System.Runtime.Serialization.ISurrogateSelector) typeof(System.Runtime.Serialization.ISurrogateSelector).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            UnityEngine.Serialization.UnitySurrogateSelector instance_of_this_method = (UnityEngine.Serialization.UnitySurrogateSelector) typeof(UnityEngine.Serialization.UnitySurrogateSelector).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ChainSelector(@selector);

            return(__ret);
        }