static StackObject *LoadAsset_3(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject *ptr_of_this_method;
            StackObject *__ret = ILIntepreter.Minus(__esp, 3);

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

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.String @name = (System.String) typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            ILRuntimeTest.TestFramework.TestCLRBinding instance_of_this_method = (ILRuntimeTest.TestFramework.TestCLRBinding) typeof(ILRuntimeTest.TestFramework.TestCLRBinding).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags) 0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.LoadAsset <System.Int32>(@name, @obj);

            return(__ret);
        }
コード例 #2
0
ファイル: CLRBindingTest.cs プロジェクト: Ourpalm/ILRuntime
 static void CLRBindingTest06Sub <T>(ILRuntimeTest.TestFramework.TestCLRBinding binding, T obj)
 {
     binding.LoadAsset("222", obj);
 }