| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543 |
- 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_Array_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.Array);
- args = new Type[]{};
- method = type.GetMethod("get_Length", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_Length_0);
- args = new Type[]{};
- method = type.GetMethod("get_LongLength", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_LongLength_1);
- args = new Type[]{};
- method = type.GetMethod("get_Rank", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_Rank_2);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("GetLength", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetLength_3);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("GetLongLength", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetLongLength_4);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("GetLowerBound", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetLowerBound_5);
- args = new Type[]{typeof(System.Int32[])};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_6);
- args = new Type[]{typeof(System.Object), typeof(System.Int32[])};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_7);
- args = new Type[]{};
- method = type.GetMethod("get_IsSynchronized", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_IsSynchronized_8);
- args = new Type[]{};
- method = type.GetMethod("get_SyncRoot", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_SyncRoot_9);
- args = new Type[]{};
- method = type.GetMethod("get_IsFixedSize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_IsFixedSize_10);
- args = new Type[]{};
- method = type.GetMethod("get_IsReadOnly", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_IsReadOnly_11);
- args = new Type[]{};
- method = type.GetMethod("GetEnumerator", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetEnumerator_12);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("GetUpperBound", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetUpperBound_13);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_14);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_15);
- args = new Type[]{typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_16);
- args = new Type[]{typeof(System.Int64)};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_17);
- args = new Type[]{typeof(System.Int64), typeof(System.Int64)};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_18);
- args = new Type[]{typeof(System.Int64), typeof(System.Int64), typeof(System.Int64)};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_19);
- args = new Type[]{typeof(System.Object), typeof(System.Int64)};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_20);
- args = new Type[]{typeof(System.Object), typeof(System.Int64), typeof(System.Int64)};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_21);
- args = new Type[]{typeof(System.Object), typeof(System.Int64), typeof(System.Int64), typeof(System.Int64)};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_22);
- args = new Type[]{typeof(System.Object), typeof(System.Int32)};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_23);
- args = new Type[]{typeof(System.Object), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_24);
- args = new Type[]{typeof(System.Object), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_25);
- args = new Type[]{typeof(System.Type), typeof(System.Int32)};
- method = type.GetMethod("CreateInstance", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CreateInstance_26);
- args = new Type[]{typeof(System.Type), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("CreateInstance", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CreateInstance_27);
- args = new Type[]{typeof(System.Type), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("CreateInstance", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CreateInstance_28);
- args = new Type[]{typeof(System.Type), typeof(System.Int32[])};
- method = type.GetMethod("CreateInstance", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CreateInstance_29);
- args = new Type[]{typeof(System.Type), typeof(System.Int32[]), typeof(System.Int32[])};
- method = type.GetMethod("CreateInstance", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CreateInstance_30);
- args = new Type[]{typeof(System.Type), typeof(System.Int64[])};
- method = type.GetMethod("CreateInstance", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CreateInstance_31);
- args = new Type[]{typeof(System.Int64[])};
- method = type.GetMethod("GetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GetValue_32);
- args = new Type[]{typeof(System.Object), typeof(System.Int64[])};
- method = type.GetMethod("SetValue", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetValue_33);
- args = new Type[]{typeof(System.Array), typeof(System.Object)};
- method = type.GetMethod("BinarySearch", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, BinarySearch_34);
- args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Collections.IComparer)};
- method = type.GetMethod("BinarySearch", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, BinarySearch_35);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Object)};
- method = type.GetMethod("BinarySearch", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, BinarySearch_36);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Object), typeof(System.Collections.IComparer)};
- method = type.GetMethod("BinarySearch", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, BinarySearch_37);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Clear", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Clear_38);
- args = new Type[]{};
- method = type.GetMethod("Clone", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Clone_39);
- args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int32)};
- method = type.GetMethod("Copy", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Copy_40);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Copy", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Copy_41);
- args = new Type[]{typeof(System.Array), typeof(System.Int64), typeof(System.Array), typeof(System.Int64), typeof(System.Int64)};
- method = type.GetMethod("Copy", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Copy_42);
- args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int64)};
- method = type.GetMethod("Copy", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Copy_43);
- args = new Type[]{typeof(System.Array), typeof(System.Object)};
- method = type.GetMethod("IndexOf", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, IndexOf_44);
- args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32)};
- method = type.GetMethod("IndexOf", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, IndexOf_45);
- args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("IndexOf", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, IndexOf_46);
- args = new Type[]{};
- method = type.GetMethod("Initialize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Initialize_47);
- args = new Type[]{typeof(System.Array), typeof(System.Object)};
- method = type.GetMethod("LastIndexOf", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, LastIndexOf_48);
- args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32)};
- method = type.GetMethod("LastIndexOf", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, LastIndexOf_49);
- args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("LastIndexOf", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, LastIndexOf_50);
- args = new Type[]{typeof(System.Array)};
- method = type.GetMethod("Reverse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Reverse_51);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Reverse", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Reverse_52);
- args = new Type[]{typeof(System.Array)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_53);
- args = new Type[]{typeof(System.Array), typeof(System.Array)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_54);
- args = new Type[]{typeof(System.Array), typeof(System.Collections.IComparer)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_55);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_56);
- args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Collections.IComparer)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_57);
- args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_58);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Collections.IComparer)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_59);
- args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Collections.IComparer)};
- method = type.GetMethod("Sort", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Sort_60);
- args = new Type[]{typeof(System.Array), typeof(System.Int32)};
- method = type.GetMethod("CopyTo", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CopyTo_61);
- args = new Type[]{typeof(System.Array), typeof(System.Int64)};
- method = type.GetMethod("CopyTo", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, CopyTo_62);
- args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
- method = type.GetMethod("ConstrainedCopy", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, ConstrainedCopy_63);
- }
- static StackObject* get_Length_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, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.Length;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_LongLength_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, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.LongLength;
- __ret->ObjectType = ObjectTypes.Long;
- *(long*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_Rank_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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.Rank;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* GetLength_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.Int32 dimension = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetLength(dimension);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* GetLongLength_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.Int32 dimension = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetLongLength(dimension);
- __ret->ObjectType = ObjectTypes.Long;
- *(long*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* GetLowerBound_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.Int32 dimension = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetLowerBound(dimension);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* GetValue_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.Int32[] indices = (System.Int32[])typeof(System.Int32[]).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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(indices);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* SetValue_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, 3);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32[] indices = (System.Int32[])typeof(System.Int32[]).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.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, 3);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, indices);
- return __ret;
- }
- static StackObject* get_IsSynchronized_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, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.IsSynchronized;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* get_SyncRoot_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, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.SyncRoot;
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_IsFixedSize_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, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.IsFixedSize;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* get_IsReadOnly_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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.IsReadOnly;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* GetEnumerator_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, 1);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetEnumerator();
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetUpperBound_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.Int32 dimension = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetUpperBound(dimension);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* GetValue_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, 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);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(index);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetValue_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, 3);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 index2 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index1 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(index1, index2);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetValue_16(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);
- System.Int32 index3 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index2 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 index1 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(index1, index2, index3);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetValue_17(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 index = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(index);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetValue_18(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.Int64 index2 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(index1, index2);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetValue_19(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);
- System.Int64 index3 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(index1, index2, index3);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* SetValue_20(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.Int64 index = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- 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, 3);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, index);
- return __ret;
- }
- static StackObject* SetValue_21(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);
- System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- 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, 4);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, index1, index2);
- return __ret;
- }
- static StackObject* SetValue_22(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 index3 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- 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, 5);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, index1, index2, index3);
- return __ret;
- }
- static StackObject* SetValue_23(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.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- 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, 3);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, index);
- return __ret;
- }
- static StackObject* SetValue_24(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);
- System.Int32 index2 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index1 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- 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, 4);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, index1, index2);
- return __ret;
- }
- static StackObject* SetValue_25(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 index3 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index2 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 index1 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- 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, 5);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, index1, index2, index3);
- return __ret;
- }
- static StackObject* CreateInstance_26(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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.CreateInstance(elementType, length);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* CreateInstance_27(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.Int32 length2 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 length1 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.CreateInstance(elementType, length1, length2);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* CreateInstance_28(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);
- System.Int32 length3 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 length2 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 length1 = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.CreateInstance(elementType, length1, length2, length3);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* CreateInstance_29(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.Int32[] lengths = (System.Int32[])typeof(System.Int32[]).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.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.CreateInstance(elementType, lengths);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* CreateInstance_30(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.Int32[] lowerBounds = (System.Int32[])typeof(System.Int32[]).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.Int32[] lengths = (System.Int32[])typeof(System.Int32[]).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.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.CreateInstance(elementType, lengths, lowerBounds);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* CreateInstance_31(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[] lengths = (System.Int64[])typeof(System.Int64[]).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.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.CreateInstance(elementType, lengths);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* GetValue_32(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[] indices = (System.Int64[])typeof(System.Int64[]).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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GetValue(indices);
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* SetValue_33(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.Int64[] indices = (System.Int64[])typeof(System.Int64[]).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.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, 3);
- System.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetValue(value, indices);
- return __ret;
- }
- static StackObject* BinarySearch_34(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.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.BinarySearch(array, value);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* BinarySearch_35(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.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).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.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, 3);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.BinarySearch(array, value, comparer);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* BinarySearch_36(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);
- 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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.BinarySearch(array, index, length, value);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* BinarySearch_37(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).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.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, 3);
- System.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.BinarySearch(array, index, length, value, comparer);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Clear_38(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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Clear(array, index, length);
- return __ret;
- }
- static StackObject* Clone_39(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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.Clone();
- object obj_result_of_this_method = result_of_this_method;
- if(obj_result_of_this_method is CrossBindingAdaptorType)
- {
- return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* Copy_40(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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array destinationArray = (System.Array)typeof(System.Array).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.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Copy(sourceArray, destinationArray, length);
- return __ret;
- }
- static StackObject* Copy_41(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 destinationIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array destinationArray = (System.Array)typeof(System.Array).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.Int32 sourceIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length);
- return __ret;
- }
- static StackObject* Copy_42(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int64 length = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int64 destinationIndex = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array destinationArray = (System.Array)typeof(System.Array).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.Int64 sourceIndex = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length);
- return __ret;
- }
- static StackObject* Copy_43(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.Int64 length = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array destinationArray = (System.Array)typeof(System.Array).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.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Copy(sourceArray, destinationArray, length);
- return __ret;
- }
- static StackObject* IndexOf_44(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.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.IndexOf(array, value);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* IndexOf_45(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.Int32 startIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- 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, 3);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.IndexOf(array, value, startIndex);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* IndexOf_46(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);
- System.Int32 count = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 startIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- 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, 4);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.IndexOf(array, value, startIndex, count);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Initialize_47(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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.Initialize();
- return __ret;
- }
- static StackObject* LastIndexOf_48(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.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.LastIndexOf(array, value);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* LastIndexOf_49(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.Int32 startIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- 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, 3);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.LastIndexOf(array, value, startIndex);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* LastIndexOf_50(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);
- System.Int32 count = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 startIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- 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, 4);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = System.Array.LastIndexOf(array, value, startIndex, count);
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* Reverse_51(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.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Reverse(array);
- return __ret;
- }
- static StackObject* Reverse_52(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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Reverse(array, index, length);
- return __ret;
- }
- static StackObject* Sort_53(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.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(array);
- return __ret;
- }
- static StackObject* Sort_54(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.Array items = (System.Array)typeof(System.Array).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.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(keys, items);
- return __ret;
- }
- static StackObject* Sort_55(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.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).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.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(array, comparer);
- return __ret;
- }
- static StackObject* Sort_56(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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(array, index, length);
- return __ret;
- }
- static StackObject* Sort_57(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.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).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.Array items = (System.Array)typeof(System.Array).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.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(keys, items, comparer);
- return __ret;
- }
- static StackObject* Sort_58(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);
- System.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array items = (System.Array)typeof(System.Array).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.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(keys, items, index, length);
- return __ret;
- }
- static StackObject* Sort_59(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);
- System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(array, index, length, comparer);
- return __ret;
- }
- static StackObject* Sort_60(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).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.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
- System.Array items = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.Sort(keys, items, index, length, comparer);
- return __ret;
- }
- static StackObject* CopyTo_61(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.Int32 index = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array array = (System.Array)typeof(System.Array).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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.CopyTo(array, index);
- return __ret;
- }
- static StackObject* CopyTo_62(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.Int64 index = *(long*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Array array = (System.Array)typeof(System.Array).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.Array instance_of_this_method;
- instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.CopyTo(array, index);
- return __ret;
- }
- static StackObject* ConstrainedCopy_63(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, 5);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- System.Int32 length = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Int32 destinationIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- System.Array destinationArray = (System.Array)typeof(System.Array).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.Int32 sourceIndex = ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
- System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- System.Array.ConstrainedCopy(sourceArray, sourceIndex, destinationArray, destinationIndex, length);
- return __ret;
- }
- }
- }
|