| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496 |
- using System;
- using System.Collections.Generic;
- using System.Reflection;
- using ILRuntime.CLR.TypeSystem;
- using ILRuntime.CLR.Method;
- using ILRuntime.Runtime.Enviorment;
- using ILRuntime.Runtime.Intepreter;
- using ILRuntime.Runtime.Stack;
- using ILRuntime.Reflection;
- using ILRuntime.CLR.Utils;
- namespace ILRuntime.Runtime.Generated
- {
- unsafe class System_Int64_Binding
- {
- public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
- {
- BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
- MethodBase method;
- Type[] args;
- Type type = typeof(System.Int64);
- args = new Type[]{typeof(System.Object)};
- method = type.GetMethod("CompareTo", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CompareTo_0);
- args = new Type[]{typeof(System.Object)};
- method = type.GetMethod("Equals", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Equals_1);
- args = new Type[]{};
- method = type.GetMethod("GetHashCode", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetHashCode_2);
- args = new Type[]{typeof(System.Int64)};
- method = type.GetMethod("CompareTo", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CompareTo_3);
- args = new Type[]{typeof(System.Int64)};
- method = type.GetMethod("Equals", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Equals_4);
- args = new Type[]{typeof(System.String), typeof(System.IFormatProvider)};
- method = type.GetMethod("Parse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Parse_5);
- args = new Type[]{typeof(System.String), typeof(System.Globalization.NumberStyles)};
- method = type.GetMethod("Parse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Parse_6);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("Parse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Parse_7);
- args = new Type[]{typeof(System.String), typeof(System.Globalization.NumberStyles), typeof(System.IFormatProvider)};
- method = type.GetMethod("Parse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Parse_8);
- args = new Type[]{typeof(System.String), typeof(System.Int64).MakeByRefType()};
- method = type.GetMethod("TryParse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, TryParse_9);
- args = new Type[]{typeof(System.String), typeof(System.Globalization.NumberStyles), typeof(System.IFormatProvider), typeof(System.Int64).MakeByRefType()};
- method = type.GetMethod("TryParse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, TryParse_10);
- args = new Type[]{};
- method = type.GetMethod("ToString", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ToString_11);
- args = new Type[]{typeof(System.IFormatProvider)};
- method = type.GetMethod("ToString", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ToString_12);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("ToString", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ToString_13);
- args = new Type[]{typeof(System.String), typeof(System.IFormatProvider)};
- method = type.GetMethod("ToString", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ToString_14);
- args = new Type[]{};
- method = type.GetMethod("GetTypeCode", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetTypeCode_15);
- }
- static System.Int64 GetInstance(ILRuntime.Runtime.Enviorment.AppDomain __domain, StackObject* ptr_of_this_method, List<object> __mStack)
- {
- ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
- System.Int64 instance_of_this_method;
- switch(ptr_of_this_method->ObjectType)
- {
- case ObjectTypes.FieldReference:
- {
- var instance_of_fieldReference = __mStack[ptr_of_this_method->Value];
- if(instance_of_fieldReference is ILTypeInstance)
- {
- instance_of_this_method = (System.Int64)((ILTypeInstance)instance_of_fieldReference)[ptr_of_this_method->ValueLow];
- }
- else
- {
- var t = __domain.GetType(instance_of_fieldReference.GetType()) as CLRType;
- instance_of_this_method = (System.Int64)t.GetField(ptr_of_this_method->ValueLow).GetValue(instance_of_fieldReference);
- }
- }
- break;
- case ObjectTypes.StaticFieldReference:
- {
- var t = __domain.GetType(ptr_of_this_method->Value);
- if(t is ILType)
- {
- instance_of_this_method = (System.Int64)((ILType)t).StaticInstance[ptr_of_this_method->ValueLow];
- }
- else
- {
- instance_of_this_method = (System.Int64)((CLRType)t).GetField(ptr_of_this_method->ValueLow).GetValue(null);
- }
- }
- break;
- case ObjectTypes.ArrayReference:
- {
- var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.Int64[];
- instance_of_this_method = instance_of_arrayReference[ptr_of_this_method->ValueLow];
- }
- break;
- default:
- instance_of_this_method = *(long*)&ptr_of_this_method->Value;
- break;
- }
- return instance_of_this_method;
- }
- static StackObject* CompareTo_0(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.CompareTo(value);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Equals_1(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.Object obj = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.Equals(obj);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* GetHashCode_2(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.GetHashCode();
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* CompareTo_3(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.Int64 value = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.CompareTo(value);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Equals_4(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.Int64 obj = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.Equals(obj);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* Parse_5(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String s = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Int64.Parse(s, provider);
- __ret->ObjectType = ObjectTypes.Long;
- *(long*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Parse_6(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.Globalization.NumberStyles style = (System.Globalization.NumberStyles)typeof(System.Globalization.NumberStyles).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String s = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Int64.Parse(s, style);
- __ret->ObjectType = ObjectTypes.Long;
- *(long*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Parse_7(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.String s = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Int64.Parse(s);
- __ret->ObjectType = ObjectTypes.Long;
- *(long*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Parse_8(ILIntepreter __intp, StackObject* __esp, List<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.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Globalization.NumberStyles style = (System.Globalization.NumberStyles)typeof(System.Globalization.NumberStyles).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.String s = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Int64.Parse(s, style, provider);
- __ret->ObjectType = ObjectTypes.Long;
- *(long*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* TryParse_9(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
- System.Int64 result = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String s = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Int64.TryParse(s, out result);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- switch(ptr_of_this_method->ObjectType)
- {
- case ObjectTypes.StackObjectReference:
- {
- var dst = *(StackObject**)&ptr_of_this_method->Value;
- dst->ObjectType = ObjectTypes.Long;
- *(long*)&dst->Value = result;
- }
- break;
- case ObjectTypes.FieldReference:
- {
- var ___obj = __mStack[ptr_of_this_method->Value];
- if(___obj is ILTypeInstance)
- {
- ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = result;
- }
- else
- {
- var t = __domain.GetType(___obj.GetType()) as CLRType;
- t.GetField(ptr_of_this_method->ValueLow).SetValue(___obj, result);
- }
- }
- break;
- case ObjectTypes.StaticFieldReference:
- {
- var t = __domain.GetType(ptr_of_this_method->Value);
- if(t is ILType)
- {
- ((ILType)t).StaticInstance[ptr_of_this_method->ValueLow] = result;
- }
- else
- {
- ((CLRType)t).GetField(ptr_of_this_method->ValueLow).SetValue(null, result);
- }
- }
- break;
- case ObjectTypes.ArrayReference:
- {
- var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.Int64[];
- instance_of_arrayReference[ptr_of_this_method->ValueLow] = result;
- }
- break;
- }
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* TryParse_10(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 4);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
- System.Int64 result = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Globalization.NumberStyles style = (System.Globalization.NumberStyles)typeof(System.Globalization.NumberStyles).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.String s = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Int64.TryParse(s, style, provider, out result);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- switch(ptr_of_this_method->ObjectType)
- {
- case ObjectTypes.StackObjectReference:
- {
- var dst = *(StackObject**)&ptr_of_this_method->Value;
- dst->ObjectType = ObjectTypes.Long;
- *(long*)&dst->Value = result;
- }
- break;
- case ObjectTypes.FieldReference:
- {
- var ___obj = __mStack[ptr_of_this_method->Value];
- if(___obj is ILTypeInstance)
- {
- ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = result;
- }
- else
- {
- var t = __domain.GetType(___obj.GetType()) as CLRType;
- t.GetField(ptr_of_this_method->ValueLow).SetValue(___obj, result);
- }
- }
- break;
- case ObjectTypes.StaticFieldReference:
- {
- var t = __domain.GetType(ptr_of_this_method->Value);
- if(t is ILType)
- {
- ((ILType)t).StaticInstance[ptr_of_this_method->ValueLow] = result;
- }
- else
- {
- ((CLRType)t).GetField(ptr_of_this_method->ValueLow).SetValue(null, result);
- }
- }
- break;
- case ObjectTypes.ArrayReference:
- {
- var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.Int64[];
- instance_of_arrayReference[ptr_of_this_method->ValueLow] = result;
- }
- break;
- }
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* ToString_11(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.ToString();
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* ToString_12(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.ToString(provider);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* ToString_13(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.ToString(format);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* ToString_14(ILIntepreter __intp, StackObject* __esp, List<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.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.ToString(format, provider);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetTypeCode_15(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 instance_of_this_method = GetInstance(__domain, ptr_of_this_method, __mStack);
- var result_of_this_method = instance_of_this_method.GetTypeCode();
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- }
- }
|