System_Array_Binding.cs 90 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Reflection;
  4. using ILRuntime.CLR.TypeSystem;
  5. using ILRuntime.CLR.Method;
  6. using ILRuntime.Runtime.Enviorment;
  7. using ILRuntime.Runtime.Intepreter;
  8. using ILRuntime.Runtime.Stack;
  9. using ILRuntime.Reflection;
  10. using ILRuntime.CLR.Utils;
  11. namespace ILRuntime.Runtime.Generated
  12. {
  13. unsafe class System_Array_Binding
  14. {
  15. public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
  16. {
  17. BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
  18. MethodBase method;
  19. Type[] args;
  20. Type type = typeof(System.Array);
  21. args = new Type[]{};
  22. method = type.GetMethod("get_Length", flag, null, args, null);
  23. app.RegisterCLRMethodRedirection(method, get_Length_0);
  24. args = new Type[]{};
  25. method = type.GetMethod("get_LongLength", flag, null, args, null);
  26. app.RegisterCLRMethodRedirection(method, get_LongLength_1);
  27. args = new Type[]{};
  28. method = type.GetMethod("get_Rank", flag, null, args, null);
  29. app.RegisterCLRMethodRedirection(method, get_Rank_2);
  30. args = new Type[]{typeof(System.Int32)};
  31. method = type.GetMethod("GetLength", flag, null, args, null);
  32. app.RegisterCLRMethodRedirection(method, GetLength_3);
  33. args = new Type[]{typeof(System.Int32)};
  34. method = type.GetMethod("GetLongLength", flag, null, args, null);
  35. app.RegisterCLRMethodRedirection(method, GetLongLength_4);
  36. args = new Type[]{typeof(System.Int32)};
  37. method = type.GetMethod("GetLowerBound", flag, null, args, null);
  38. app.RegisterCLRMethodRedirection(method, GetLowerBound_5);
  39. args = new Type[]{typeof(System.Int32[])};
  40. method = type.GetMethod("GetValue", flag, null, args, null);
  41. app.RegisterCLRMethodRedirection(method, GetValue_6);
  42. args = new Type[]{typeof(System.Object), typeof(System.Int32[])};
  43. method = type.GetMethod("SetValue", flag, null, args, null);
  44. app.RegisterCLRMethodRedirection(method, SetValue_7);
  45. args = new Type[]{};
  46. method = type.GetMethod("get_IsSynchronized", flag, null, args, null);
  47. app.RegisterCLRMethodRedirection(method, get_IsSynchronized_8);
  48. args = new Type[]{};
  49. method = type.GetMethod("get_SyncRoot", flag, null, args, null);
  50. app.RegisterCLRMethodRedirection(method, get_SyncRoot_9);
  51. args = new Type[]{};
  52. method = type.GetMethod("get_IsFixedSize", flag, null, args, null);
  53. app.RegisterCLRMethodRedirection(method, get_IsFixedSize_10);
  54. args = new Type[]{};
  55. method = type.GetMethod("get_IsReadOnly", flag, null, args, null);
  56. app.RegisterCLRMethodRedirection(method, get_IsReadOnly_11);
  57. args = new Type[]{};
  58. method = type.GetMethod("GetEnumerator", flag, null, args, null);
  59. app.RegisterCLRMethodRedirection(method, GetEnumerator_12);
  60. args = new Type[]{typeof(System.Int32)};
  61. method = type.GetMethod("GetUpperBound", flag, null, args, null);
  62. app.RegisterCLRMethodRedirection(method, GetUpperBound_13);
  63. args = new Type[]{typeof(System.Int32)};
  64. method = type.GetMethod("GetValue", flag, null, args, null);
  65. app.RegisterCLRMethodRedirection(method, GetValue_14);
  66. args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
  67. method = type.GetMethod("GetValue", flag, null, args, null);
  68. app.RegisterCLRMethodRedirection(method, GetValue_15);
  69. args = new Type[]{typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
  70. method = type.GetMethod("GetValue", flag, null, args, null);
  71. app.RegisterCLRMethodRedirection(method, GetValue_16);
  72. args = new Type[]{typeof(System.Int64)};
  73. method = type.GetMethod("GetValue", flag, null, args, null);
  74. app.RegisterCLRMethodRedirection(method, GetValue_17);
  75. args = new Type[]{typeof(System.Int64), typeof(System.Int64)};
  76. method = type.GetMethod("GetValue", flag, null, args, null);
  77. app.RegisterCLRMethodRedirection(method, GetValue_18);
  78. args = new Type[]{typeof(System.Int64), typeof(System.Int64), typeof(System.Int64)};
  79. method = type.GetMethod("GetValue", flag, null, args, null);
  80. app.RegisterCLRMethodRedirection(method, GetValue_19);
  81. args = new Type[]{typeof(System.Object), typeof(System.Int64)};
  82. method = type.GetMethod("SetValue", flag, null, args, null);
  83. app.RegisterCLRMethodRedirection(method, SetValue_20);
  84. args = new Type[]{typeof(System.Object), typeof(System.Int64), typeof(System.Int64)};
  85. method = type.GetMethod("SetValue", flag, null, args, null);
  86. app.RegisterCLRMethodRedirection(method, SetValue_21);
  87. args = new Type[]{typeof(System.Object), typeof(System.Int64), typeof(System.Int64), typeof(System.Int64)};
  88. method = type.GetMethod("SetValue", flag, null, args, null);
  89. app.RegisterCLRMethodRedirection(method, SetValue_22);
  90. args = new Type[]{typeof(System.Object), typeof(System.Int32)};
  91. method = type.GetMethod("SetValue", flag, null, args, null);
  92. app.RegisterCLRMethodRedirection(method, SetValue_23);
  93. args = new Type[]{typeof(System.Object), typeof(System.Int32), typeof(System.Int32)};
  94. method = type.GetMethod("SetValue", flag, null, args, null);
  95. app.RegisterCLRMethodRedirection(method, SetValue_24);
  96. args = new Type[]{typeof(System.Object), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
  97. method = type.GetMethod("SetValue", flag, null, args, null);
  98. app.RegisterCLRMethodRedirection(method, SetValue_25);
  99. args = new Type[]{typeof(System.Type), typeof(System.Int32)};
  100. method = type.GetMethod("CreateInstance", flag, null, args, null);
  101. app.RegisterCLRMethodRedirection(method, CreateInstance_26);
  102. args = new Type[]{typeof(System.Type), typeof(System.Int32), typeof(System.Int32)};
  103. method = type.GetMethod("CreateInstance", flag, null, args, null);
  104. app.RegisterCLRMethodRedirection(method, CreateInstance_27);
  105. args = new Type[]{typeof(System.Type), typeof(System.Int32), typeof(System.Int32), typeof(System.Int32)};
  106. method = type.GetMethod("CreateInstance", flag, null, args, null);
  107. app.RegisterCLRMethodRedirection(method, CreateInstance_28);
  108. args = new Type[]{typeof(System.Type), typeof(System.Int32[])};
  109. method = type.GetMethod("CreateInstance", flag, null, args, null);
  110. app.RegisterCLRMethodRedirection(method, CreateInstance_29);
  111. args = new Type[]{typeof(System.Type), typeof(System.Int32[]), typeof(System.Int32[])};
  112. method = type.GetMethod("CreateInstance", flag, null, args, null);
  113. app.RegisterCLRMethodRedirection(method, CreateInstance_30);
  114. args = new Type[]{typeof(System.Type), typeof(System.Int64[])};
  115. method = type.GetMethod("CreateInstance", flag, null, args, null);
  116. app.RegisterCLRMethodRedirection(method, CreateInstance_31);
  117. args = new Type[]{typeof(System.Int64[])};
  118. method = type.GetMethod("GetValue", flag, null, args, null);
  119. app.RegisterCLRMethodRedirection(method, GetValue_32);
  120. args = new Type[]{typeof(System.Object), typeof(System.Int64[])};
  121. method = type.GetMethod("SetValue", flag, null, args, null);
  122. app.RegisterCLRMethodRedirection(method, SetValue_33);
  123. args = new Type[]{typeof(System.Array), typeof(System.Object)};
  124. method = type.GetMethod("BinarySearch", flag, null, args, null);
  125. app.RegisterCLRMethodRedirection(method, BinarySearch_34);
  126. args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Collections.IComparer)};
  127. method = type.GetMethod("BinarySearch", flag, null, args, null);
  128. app.RegisterCLRMethodRedirection(method, BinarySearch_35);
  129. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Object)};
  130. method = type.GetMethod("BinarySearch", flag, null, args, null);
  131. app.RegisterCLRMethodRedirection(method, BinarySearch_36);
  132. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Object), typeof(System.Collections.IComparer)};
  133. method = type.GetMethod("BinarySearch", flag, null, args, null);
  134. app.RegisterCLRMethodRedirection(method, BinarySearch_37);
  135. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
  136. method = type.GetMethod("Clear", flag, null, args, null);
  137. app.RegisterCLRMethodRedirection(method, Clear_38);
  138. args = new Type[]{};
  139. method = type.GetMethod("Clone", flag, null, args, null);
  140. app.RegisterCLRMethodRedirection(method, Clone_39);
  141. args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int32)};
  142. method = type.GetMethod("Copy", flag, null, args, null);
  143. app.RegisterCLRMethodRedirection(method, Copy_40);
  144. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
  145. method = type.GetMethod("Copy", flag, null, args, null);
  146. app.RegisterCLRMethodRedirection(method, Copy_41);
  147. args = new Type[]{typeof(System.Array), typeof(System.Int64), typeof(System.Array), typeof(System.Int64), typeof(System.Int64)};
  148. method = type.GetMethod("Copy", flag, null, args, null);
  149. app.RegisterCLRMethodRedirection(method, Copy_42);
  150. args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int64)};
  151. method = type.GetMethod("Copy", flag, null, args, null);
  152. app.RegisterCLRMethodRedirection(method, Copy_43);
  153. args = new Type[]{typeof(System.Array), typeof(System.Object)};
  154. method = type.GetMethod("IndexOf", flag, null, args, null);
  155. app.RegisterCLRMethodRedirection(method, IndexOf_44);
  156. args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32)};
  157. method = type.GetMethod("IndexOf", flag, null, args, null);
  158. app.RegisterCLRMethodRedirection(method, IndexOf_45);
  159. args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32), typeof(System.Int32)};
  160. method = type.GetMethod("IndexOf", flag, null, args, null);
  161. app.RegisterCLRMethodRedirection(method, IndexOf_46);
  162. args = new Type[]{};
  163. method = type.GetMethod("Initialize", flag, null, args, null);
  164. app.RegisterCLRMethodRedirection(method, Initialize_47);
  165. args = new Type[]{typeof(System.Array), typeof(System.Object)};
  166. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  167. app.RegisterCLRMethodRedirection(method, LastIndexOf_48);
  168. args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32)};
  169. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  170. app.RegisterCLRMethodRedirection(method, LastIndexOf_49);
  171. args = new Type[]{typeof(System.Array), typeof(System.Object), typeof(System.Int32), typeof(System.Int32)};
  172. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  173. app.RegisterCLRMethodRedirection(method, LastIndexOf_50);
  174. args = new Type[]{typeof(System.Array)};
  175. method = type.GetMethod("Reverse", flag, null, args, null);
  176. app.RegisterCLRMethodRedirection(method, Reverse_51);
  177. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
  178. method = type.GetMethod("Reverse", flag, null, args, null);
  179. app.RegisterCLRMethodRedirection(method, Reverse_52);
  180. args = new Type[]{typeof(System.Array)};
  181. method = type.GetMethod("Sort", flag, null, args, null);
  182. app.RegisterCLRMethodRedirection(method, Sort_53);
  183. args = new Type[]{typeof(System.Array), typeof(System.Array)};
  184. method = type.GetMethod("Sort", flag, null, args, null);
  185. app.RegisterCLRMethodRedirection(method, Sort_54);
  186. args = new Type[]{typeof(System.Array), typeof(System.Collections.IComparer)};
  187. method = type.GetMethod("Sort", flag, null, args, null);
  188. app.RegisterCLRMethodRedirection(method, Sort_55);
  189. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
  190. method = type.GetMethod("Sort", flag, null, args, null);
  191. app.RegisterCLRMethodRedirection(method, Sort_56);
  192. args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Collections.IComparer)};
  193. method = type.GetMethod("Sort", flag, null, args, null);
  194. app.RegisterCLRMethodRedirection(method, Sort_57);
  195. args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
  196. method = type.GetMethod("Sort", flag, null, args, null);
  197. app.RegisterCLRMethodRedirection(method, Sort_58);
  198. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Collections.IComparer)};
  199. method = type.GetMethod("Sort", flag, null, args, null);
  200. app.RegisterCLRMethodRedirection(method, Sort_59);
  201. args = new Type[]{typeof(System.Array), typeof(System.Array), typeof(System.Int32), typeof(System.Int32), typeof(System.Collections.IComparer)};
  202. method = type.GetMethod("Sort", flag, null, args, null);
  203. app.RegisterCLRMethodRedirection(method, Sort_60);
  204. args = new Type[]{typeof(System.Array), typeof(System.Int32)};
  205. method = type.GetMethod("CopyTo", flag, null, args, null);
  206. app.RegisterCLRMethodRedirection(method, CopyTo_61);
  207. args = new Type[]{typeof(System.Array), typeof(System.Int64)};
  208. method = type.GetMethod("CopyTo", flag, null, args, null);
  209. app.RegisterCLRMethodRedirection(method, CopyTo_62);
  210. args = new Type[]{typeof(System.Array), typeof(System.Int32), typeof(System.Array), typeof(System.Int32), typeof(System.Int32)};
  211. method = type.GetMethod("ConstrainedCopy", flag, null, args, null);
  212. app.RegisterCLRMethodRedirection(method, ConstrainedCopy_63);
  213. }
  214. static StackObject* get_Length_0(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  215. {
  216. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  217. StackObject* ptr_of_this_method;
  218. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  219. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  220. System.Array instance_of_this_method;
  221. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  222. __intp.Free(ptr_of_this_method);
  223. var result_of_this_method = instance_of_this_method.Length;
  224. __ret->ObjectType = ObjectTypes.Integer;
  225. __ret->Value = result_of_this_method;
  226. return __ret + 1;
  227. }
  228. static StackObject* get_LongLength_1(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  229. {
  230. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  231. StackObject* ptr_of_this_method;
  232. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  233. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  234. System.Array instance_of_this_method;
  235. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  236. __intp.Free(ptr_of_this_method);
  237. var result_of_this_method = instance_of_this_method.LongLength;
  238. __ret->ObjectType = ObjectTypes.Long;
  239. *(long*)&__ret->Value = result_of_this_method;
  240. return __ret + 1;
  241. }
  242. static StackObject* get_Rank_2(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  243. {
  244. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  245. StackObject* ptr_of_this_method;
  246. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  247. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  248. System.Array instance_of_this_method;
  249. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  250. __intp.Free(ptr_of_this_method);
  251. var result_of_this_method = instance_of_this_method.Rank;
  252. __ret->ObjectType = ObjectTypes.Integer;
  253. __ret->Value = result_of_this_method;
  254. return __ret + 1;
  255. }
  256. static StackObject* GetLength_3(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  257. {
  258. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  259. StackObject* ptr_of_this_method;
  260. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  261. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  262. System.Int32 dimension = ptr_of_this_method->Value;
  263. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  264. System.Array instance_of_this_method;
  265. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  266. __intp.Free(ptr_of_this_method);
  267. var result_of_this_method = instance_of_this_method.GetLength(dimension);
  268. __ret->ObjectType = ObjectTypes.Integer;
  269. __ret->Value = result_of_this_method;
  270. return __ret + 1;
  271. }
  272. static StackObject* GetLongLength_4(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  273. {
  274. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  275. StackObject* ptr_of_this_method;
  276. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  277. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  278. System.Int32 dimension = ptr_of_this_method->Value;
  279. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  280. System.Array instance_of_this_method;
  281. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  282. __intp.Free(ptr_of_this_method);
  283. var result_of_this_method = instance_of_this_method.GetLongLength(dimension);
  284. __ret->ObjectType = ObjectTypes.Long;
  285. *(long*)&__ret->Value = result_of_this_method;
  286. return __ret + 1;
  287. }
  288. static StackObject* GetLowerBound_5(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  289. {
  290. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  291. StackObject* ptr_of_this_method;
  292. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  293. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  294. System.Int32 dimension = ptr_of_this_method->Value;
  295. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  296. System.Array instance_of_this_method;
  297. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  298. __intp.Free(ptr_of_this_method);
  299. var result_of_this_method = instance_of_this_method.GetLowerBound(dimension);
  300. __ret->ObjectType = ObjectTypes.Integer;
  301. __ret->Value = result_of_this_method;
  302. return __ret + 1;
  303. }
  304. static StackObject* GetValue_6(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  305. {
  306. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  307. StackObject* ptr_of_this_method;
  308. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  309. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  310. System.Int32[] indices = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  311. __intp.Free(ptr_of_this_method);
  312. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  313. System.Array instance_of_this_method;
  314. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  315. __intp.Free(ptr_of_this_method);
  316. var result_of_this_method = instance_of_this_method.GetValue(indices);
  317. object obj_result_of_this_method = result_of_this_method;
  318. if(obj_result_of_this_method is CrossBindingAdaptorType)
  319. {
  320. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  321. }
  322. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  323. }
  324. static StackObject* SetValue_7(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  325. {
  326. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  327. StackObject* ptr_of_this_method;
  328. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  329. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  330. System.Int32[] indices = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  331. __intp.Free(ptr_of_this_method);
  332. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  333. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  334. __intp.Free(ptr_of_this_method);
  335. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  336. System.Array instance_of_this_method;
  337. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  338. __intp.Free(ptr_of_this_method);
  339. instance_of_this_method.SetValue(value, indices);
  340. return __ret;
  341. }
  342. static StackObject* get_IsSynchronized_8(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  343. {
  344. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  345. StackObject* ptr_of_this_method;
  346. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  347. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  348. System.Array instance_of_this_method;
  349. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  350. __intp.Free(ptr_of_this_method);
  351. var result_of_this_method = instance_of_this_method.IsSynchronized;
  352. __ret->ObjectType = ObjectTypes.Integer;
  353. __ret->Value = result_of_this_method ? 1 : 0;
  354. return __ret + 1;
  355. }
  356. static StackObject* get_SyncRoot_9(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  357. {
  358. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  359. StackObject* ptr_of_this_method;
  360. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  361. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  362. System.Array instance_of_this_method;
  363. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  364. __intp.Free(ptr_of_this_method);
  365. var result_of_this_method = instance_of_this_method.SyncRoot;
  366. object obj_result_of_this_method = result_of_this_method;
  367. if(obj_result_of_this_method is CrossBindingAdaptorType)
  368. {
  369. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  370. }
  371. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  372. }
  373. static StackObject* get_IsFixedSize_10(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  374. {
  375. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  376. StackObject* ptr_of_this_method;
  377. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  378. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  379. System.Array instance_of_this_method;
  380. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  381. __intp.Free(ptr_of_this_method);
  382. var result_of_this_method = instance_of_this_method.IsFixedSize;
  383. __ret->ObjectType = ObjectTypes.Integer;
  384. __ret->Value = result_of_this_method ? 1 : 0;
  385. return __ret + 1;
  386. }
  387. static StackObject* get_IsReadOnly_11(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  388. {
  389. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  390. StackObject* ptr_of_this_method;
  391. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  392. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  393. System.Array instance_of_this_method;
  394. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  395. __intp.Free(ptr_of_this_method);
  396. var result_of_this_method = instance_of_this_method.IsReadOnly;
  397. __ret->ObjectType = ObjectTypes.Integer;
  398. __ret->Value = result_of_this_method ? 1 : 0;
  399. return __ret + 1;
  400. }
  401. static StackObject* GetEnumerator_12(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  402. {
  403. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  404. StackObject* ptr_of_this_method;
  405. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  406. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  407. System.Array instance_of_this_method;
  408. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  409. __intp.Free(ptr_of_this_method);
  410. var result_of_this_method = instance_of_this_method.GetEnumerator();
  411. object obj_result_of_this_method = result_of_this_method;
  412. if(obj_result_of_this_method is CrossBindingAdaptorType)
  413. {
  414. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  415. }
  416. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  417. }
  418. static StackObject* GetUpperBound_13(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  419. {
  420. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  421. StackObject* ptr_of_this_method;
  422. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  423. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  424. System.Int32 dimension = ptr_of_this_method->Value;
  425. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  426. System.Array instance_of_this_method;
  427. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  428. __intp.Free(ptr_of_this_method);
  429. var result_of_this_method = instance_of_this_method.GetUpperBound(dimension);
  430. __ret->ObjectType = ObjectTypes.Integer;
  431. __ret->Value = result_of_this_method;
  432. return __ret + 1;
  433. }
  434. static StackObject* GetValue_14(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  435. {
  436. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  437. StackObject* ptr_of_this_method;
  438. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  439. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  440. System.Int32 index = ptr_of_this_method->Value;
  441. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  442. System.Array instance_of_this_method;
  443. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  444. __intp.Free(ptr_of_this_method);
  445. var result_of_this_method = instance_of_this_method.GetValue(index);
  446. object obj_result_of_this_method = result_of_this_method;
  447. if(obj_result_of_this_method is CrossBindingAdaptorType)
  448. {
  449. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  450. }
  451. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  452. }
  453. static StackObject* GetValue_15(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  454. {
  455. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  456. StackObject* ptr_of_this_method;
  457. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  458. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  459. System.Int32 index2 = ptr_of_this_method->Value;
  460. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  461. System.Int32 index1 = ptr_of_this_method->Value;
  462. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  463. System.Array instance_of_this_method;
  464. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  465. __intp.Free(ptr_of_this_method);
  466. var result_of_this_method = instance_of_this_method.GetValue(index1, index2);
  467. object obj_result_of_this_method = result_of_this_method;
  468. if(obj_result_of_this_method is CrossBindingAdaptorType)
  469. {
  470. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  471. }
  472. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  473. }
  474. static StackObject* GetValue_16(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  475. {
  476. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  477. StackObject* ptr_of_this_method;
  478. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  479. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  480. System.Int32 index3 = ptr_of_this_method->Value;
  481. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  482. System.Int32 index2 = ptr_of_this_method->Value;
  483. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  484. System.Int32 index1 = ptr_of_this_method->Value;
  485. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  486. System.Array instance_of_this_method;
  487. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  488. __intp.Free(ptr_of_this_method);
  489. var result_of_this_method = instance_of_this_method.GetValue(index1, index2, index3);
  490. object obj_result_of_this_method = result_of_this_method;
  491. if(obj_result_of_this_method is CrossBindingAdaptorType)
  492. {
  493. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  494. }
  495. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  496. }
  497. static StackObject* GetValue_17(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  498. {
  499. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  500. StackObject* ptr_of_this_method;
  501. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  502. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  503. System.Int64 index = *(long*)&ptr_of_this_method->Value;
  504. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  505. System.Array instance_of_this_method;
  506. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  507. __intp.Free(ptr_of_this_method);
  508. var result_of_this_method = instance_of_this_method.GetValue(index);
  509. object obj_result_of_this_method = result_of_this_method;
  510. if(obj_result_of_this_method is CrossBindingAdaptorType)
  511. {
  512. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  513. }
  514. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  515. }
  516. static StackObject* GetValue_18(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  517. {
  518. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  519. StackObject* ptr_of_this_method;
  520. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  521. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  522. System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
  523. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  524. System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
  525. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  526. System.Array instance_of_this_method;
  527. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  528. __intp.Free(ptr_of_this_method);
  529. var result_of_this_method = instance_of_this_method.GetValue(index1, index2);
  530. object obj_result_of_this_method = result_of_this_method;
  531. if(obj_result_of_this_method is CrossBindingAdaptorType)
  532. {
  533. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  534. }
  535. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  536. }
  537. static StackObject* GetValue_19(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  538. {
  539. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  540. StackObject* ptr_of_this_method;
  541. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  542. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  543. System.Int64 index3 = *(long*)&ptr_of_this_method->Value;
  544. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  545. System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
  546. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  547. System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
  548. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  549. System.Array instance_of_this_method;
  550. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  551. __intp.Free(ptr_of_this_method);
  552. var result_of_this_method = instance_of_this_method.GetValue(index1, index2, index3);
  553. object obj_result_of_this_method = result_of_this_method;
  554. if(obj_result_of_this_method is CrossBindingAdaptorType)
  555. {
  556. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  557. }
  558. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  559. }
  560. static StackObject* SetValue_20(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  561. {
  562. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  563. StackObject* ptr_of_this_method;
  564. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  565. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  566. System.Int64 index = *(long*)&ptr_of_this_method->Value;
  567. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  568. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  569. __intp.Free(ptr_of_this_method);
  570. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  571. System.Array instance_of_this_method;
  572. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  573. __intp.Free(ptr_of_this_method);
  574. instance_of_this_method.SetValue(value, index);
  575. return __ret;
  576. }
  577. static StackObject* SetValue_21(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  578. {
  579. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  580. StackObject* ptr_of_this_method;
  581. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  582. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  583. System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
  584. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  585. System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
  586. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  587. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  588. __intp.Free(ptr_of_this_method);
  589. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  590. System.Array instance_of_this_method;
  591. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  592. __intp.Free(ptr_of_this_method);
  593. instance_of_this_method.SetValue(value, index1, index2);
  594. return __ret;
  595. }
  596. static StackObject* SetValue_22(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  597. {
  598. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  599. StackObject* ptr_of_this_method;
  600. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  601. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  602. System.Int64 index3 = *(long*)&ptr_of_this_method->Value;
  603. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  604. System.Int64 index2 = *(long*)&ptr_of_this_method->Value;
  605. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  606. System.Int64 index1 = *(long*)&ptr_of_this_method->Value;
  607. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  608. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  609. __intp.Free(ptr_of_this_method);
  610. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  611. System.Array instance_of_this_method;
  612. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  613. __intp.Free(ptr_of_this_method);
  614. instance_of_this_method.SetValue(value, index1, index2, index3);
  615. return __ret;
  616. }
  617. static StackObject* SetValue_23(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  618. {
  619. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  620. StackObject* ptr_of_this_method;
  621. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  622. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  623. System.Int32 index = ptr_of_this_method->Value;
  624. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  625. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  626. __intp.Free(ptr_of_this_method);
  627. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  628. System.Array instance_of_this_method;
  629. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  630. __intp.Free(ptr_of_this_method);
  631. instance_of_this_method.SetValue(value, index);
  632. return __ret;
  633. }
  634. static StackObject* SetValue_24(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  635. {
  636. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  637. StackObject* ptr_of_this_method;
  638. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  639. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  640. System.Int32 index2 = ptr_of_this_method->Value;
  641. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  642. System.Int32 index1 = ptr_of_this_method->Value;
  643. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  644. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  645. __intp.Free(ptr_of_this_method);
  646. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  647. System.Array instance_of_this_method;
  648. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  649. __intp.Free(ptr_of_this_method);
  650. instance_of_this_method.SetValue(value, index1, index2);
  651. return __ret;
  652. }
  653. static StackObject* SetValue_25(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  654. {
  655. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  656. StackObject* ptr_of_this_method;
  657. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  658. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  659. System.Int32 index3 = ptr_of_this_method->Value;
  660. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  661. System.Int32 index2 = ptr_of_this_method->Value;
  662. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  663. System.Int32 index1 = ptr_of_this_method->Value;
  664. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  665. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  666. __intp.Free(ptr_of_this_method);
  667. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  668. System.Array instance_of_this_method;
  669. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  670. __intp.Free(ptr_of_this_method);
  671. instance_of_this_method.SetValue(value, index1, index2, index3);
  672. return __ret;
  673. }
  674. static StackObject* CreateInstance_26(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  675. {
  676. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  677. StackObject* ptr_of_this_method;
  678. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  679. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  680. System.Int32 length = ptr_of_this_method->Value;
  681. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  682. System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  683. __intp.Free(ptr_of_this_method);
  684. var result_of_this_method = System.Array.CreateInstance(elementType, length);
  685. object obj_result_of_this_method = result_of_this_method;
  686. if(obj_result_of_this_method is CrossBindingAdaptorType)
  687. {
  688. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  689. }
  690. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  691. }
  692. static StackObject* CreateInstance_27(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  693. {
  694. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  695. StackObject* ptr_of_this_method;
  696. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  697. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  698. System.Int32 length2 = ptr_of_this_method->Value;
  699. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  700. System.Int32 length1 = ptr_of_this_method->Value;
  701. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  702. System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  703. __intp.Free(ptr_of_this_method);
  704. var result_of_this_method = System.Array.CreateInstance(elementType, length1, length2);
  705. object obj_result_of_this_method = result_of_this_method;
  706. if(obj_result_of_this_method is CrossBindingAdaptorType)
  707. {
  708. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  709. }
  710. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  711. }
  712. static StackObject* CreateInstance_28(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  713. {
  714. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  715. StackObject* ptr_of_this_method;
  716. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  717. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  718. System.Int32 length3 = ptr_of_this_method->Value;
  719. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  720. System.Int32 length2 = ptr_of_this_method->Value;
  721. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  722. System.Int32 length1 = ptr_of_this_method->Value;
  723. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  724. System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  725. __intp.Free(ptr_of_this_method);
  726. var result_of_this_method = System.Array.CreateInstance(elementType, length1, length2, length3);
  727. object obj_result_of_this_method = result_of_this_method;
  728. if(obj_result_of_this_method is CrossBindingAdaptorType)
  729. {
  730. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  731. }
  732. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  733. }
  734. static StackObject* CreateInstance_29(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  735. {
  736. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  737. StackObject* ptr_of_this_method;
  738. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  739. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  740. System.Int32[] lengths = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  741. __intp.Free(ptr_of_this_method);
  742. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  743. System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  744. __intp.Free(ptr_of_this_method);
  745. var result_of_this_method = System.Array.CreateInstance(elementType, lengths);
  746. object obj_result_of_this_method = result_of_this_method;
  747. if(obj_result_of_this_method is CrossBindingAdaptorType)
  748. {
  749. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  750. }
  751. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  752. }
  753. static StackObject* CreateInstance_30(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  754. {
  755. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  756. StackObject* ptr_of_this_method;
  757. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  758. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  759. System.Int32[] lowerBounds = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  760. __intp.Free(ptr_of_this_method);
  761. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  762. System.Int32[] lengths = (System.Int32[])typeof(System.Int32[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  763. __intp.Free(ptr_of_this_method);
  764. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  765. System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  766. __intp.Free(ptr_of_this_method);
  767. var result_of_this_method = System.Array.CreateInstance(elementType, lengths, lowerBounds);
  768. object obj_result_of_this_method = result_of_this_method;
  769. if(obj_result_of_this_method is CrossBindingAdaptorType)
  770. {
  771. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  772. }
  773. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  774. }
  775. static StackObject* CreateInstance_31(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  776. {
  777. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  778. StackObject* ptr_of_this_method;
  779. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  780. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  781. System.Int64[] lengths = (System.Int64[])typeof(System.Int64[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  782. __intp.Free(ptr_of_this_method);
  783. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  784. System.Type elementType = (System.Type)typeof(System.Type).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  785. __intp.Free(ptr_of_this_method);
  786. var result_of_this_method = System.Array.CreateInstance(elementType, lengths);
  787. object obj_result_of_this_method = result_of_this_method;
  788. if(obj_result_of_this_method is CrossBindingAdaptorType)
  789. {
  790. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  791. }
  792. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  793. }
  794. static StackObject* GetValue_32(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  795. {
  796. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  797. StackObject* ptr_of_this_method;
  798. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  799. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  800. System.Int64[] indices = (System.Int64[])typeof(System.Int64[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  801. __intp.Free(ptr_of_this_method);
  802. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  803. System.Array instance_of_this_method;
  804. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  805. __intp.Free(ptr_of_this_method);
  806. var result_of_this_method = instance_of_this_method.GetValue(indices);
  807. object obj_result_of_this_method = result_of_this_method;
  808. if(obj_result_of_this_method is CrossBindingAdaptorType)
  809. {
  810. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  811. }
  812. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  813. }
  814. static StackObject* SetValue_33(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  815. {
  816. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  817. StackObject* ptr_of_this_method;
  818. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  819. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  820. System.Int64[] indices = (System.Int64[])typeof(System.Int64[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  821. __intp.Free(ptr_of_this_method);
  822. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  823. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  824. __intp.Free(ptr_of_this_method);
  825. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  826. System.Array instance_of_this_method;
  827. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  828. __intp.Free(ptr_of_this_method);
  829. instance_of_this_method.SetValue(value, indices);
  830. return __ret;
  831. }
  832. static StackObject* BinarySearch_34(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  833. {
  834. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  835. StackObject* ptr_of_this_method;
  836. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  837. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  838. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  839. __intp.Free(ptr_of_this_method);
  840. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  841. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  842. __intp.Free(ptr_of_this_method);
  843. var result_of_this_method = System.Array.BinarySearch(array, value);
  844. __ret->ObjectType = ObjectTypes.Integer;
  845. __ret->Value = result_of_this_method;
  846. return __ret + 1;
  847. }
  848. static StackObject* BinarySearch_35(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  849. {
  850. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  851. StackObject* ptr_of_this_method;
  852. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  853. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  854. System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  855. __intp.Free(ptr_of_this_method);
  856. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  857. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  858. __intp.Free(ptr_of_this_method);
  859. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  860. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  861. __intp.Free(ptr_of_this_method);
  862. var result_of_this_method = System.Array.BinarySearch(array, value, comparer);
  863. __ret->ObjectType = ObjectTypes.Integer;
  864. __ret->Value = result_of_this_method;
  865. return __ret + 1;
  866. }
  867. static StackObject* BinarySearch_36(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  868. {
  869. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  870. StackObject* ptr_of_this_method;
  871. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  872. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  873. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  874. __intp.Free(ptr_of_this_method);
  875. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  876. System.Int32 length = ptr_of_this_method->Value;
  877. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  878. System.Int32 index = ptr_of_this_method->Value;
  879. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  880. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  881. __intp.Free(ptr_of_this_method);
  882. var result_of_this_method = System.Array.BinarySearch(array, index, length, value);
  883. __ret->ObjectType = ObjectTypes.Integer;
  884. __ret->Value = result_of_this_method;
  885. return __ret + 1;
  886. }
  887. static StackObject* BinarySearch_37(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  888. {
  889. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  890. StackObject* ptr_of_this_method;
  891. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  892. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  893. System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  894. __intp.Free(ptr_of_this_method);
  895. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  896. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  897. __intp.Free(ptr_of_this_method);
  898. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  899. System.Int32 length = ptr_of_this_method->Value;
  900. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  901. System.Int32 index = ptr_of_this_method->Value;
  902. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  903. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  904. __intp.Free(ptr_of_this_method);
  905. var result_of_this_method = System.Array.BinarySearch(array, index, length, value, comparer);
  906. __ret->ObjectType = ObjectTypes.Integer;
  907. __ret->Value = result_of_this_method;
  908. return __ret + 1;
  909. }
  910. static StackObject* Clear_38(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  911. {
  912. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  913. StackObject* ptr_of_this_method;
  914. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  915. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  916. System.Int32 length = ptr_of_this_method->Value;
  917. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  918. System.Int32 index = ptr_of_this_method->Value;
  919. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  920. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  921. __intp.Free(ptr_of_this_method);
  922. System.Array.Clear(array, index, length);
  923. return __ret;
  924. }
  925. static StackObject* Clone_39(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  926. {
  927. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  928. StackObject* ptr_of_this_method;
  929. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  930. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  931. System.Array instance_of_this_method;
  932. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  933. __intp.Free(ptr_of_this_method);
  934. var result_of_this_method = instance_of_this_method.Clone();
  935. object obj_result_of_this_method = result_of_this_method;
  936. if(obj_result_of_this_method is CrossBindingAdaptorType)
  937. {
  938. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  939. }
  940. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  941. }
  942. static StackObject* Copy_40(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  943. {
  944. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  945. StackObject* ptr_of_this_method;
  946. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  947. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  948. System.Int32 length = ptr_of_this_method->Value;
  949. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  950. System.Array destinationArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  951. __intp.Free(ptr_of_this_method);
  952. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  953. System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  954. __intp.Free(ptr_of_this_method);
  955. System.Array.Copy(sourceArray, destinationArray, length);
  956. return __ret;
  957. }
  958. static StackObject* Copy_41(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  959. {
  960. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  961. StackObject* ptr_of_this_method;
  962. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  963. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  964. System.Int32 length = ptr_of_this_method->Value;
  965. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  966. System.Int32 destinationIndex = ptr_of_this_method->Value;
  967. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  968. System.Array destinationArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  969. __intp.Free(ptr_of_this_method);
  970. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  971. System.Int32 sourceIndex = ptr_of_this_method->Value;
  972. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  973. System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  974. __intp.Free(ptr_of_this_method);
  975. System.Array.Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length);
  976. return __ret;
  977. }
  978. static StackObject* Copy_42(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  979. {
  980. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  981. StackObject* ptr_of_this_method;
  982. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  983. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  984. System.Int64 length = *(long*)&ptr_of_this_method->Value;
  985. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  986. System.Int64 destinationIndex = *(long*)&ptr_of_this_method->Value;
  987. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  988. System.Array destinationArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  989. __intp.Free(ptr_of_this_method);
  990. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  991. System.Int64 sourceIndex = *(long*)&ptr_of_this_method->Value;
  992. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  993. System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  994. __intp.Free(ptr_of_this_method);
  995. System.Array.Copy(sourceArray, sourceIndex, destinationArray, destinationIndex, length);
  996. return __ret;
  997. }
  998. static StackObject* Copy_43(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  999. {
  1000. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1001. StackObject* ptr_of_this_method;
  1002. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1003. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1004. System.Int64 length = *(long*)&ptr_of_this_method->Value;
  1005. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1006. System.Array destinationArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1007. __intp.Free(ptr_of_this_method);
  1008. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1009. System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1010. __intp.Free(ptr_of_this_method);
  1011. System.Array.Copy(sourceArray, destinationArray, length);
  1012. return __ret;
  1013. }
  1014. static StackObject* IndexOf_44(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1015. {
  1016. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1017. StackObject* ptr_of_this_method;
  1018. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1019. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1020. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1021. __intp.Free(ptr_of_this_method);
  1022. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1023. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1024. __intp.Free(ptr_of_this_method);
  1025. var result_of_this_method = System.Array.IndexOf(array, value);
  1026. __ret->ObjectType = ObjectTypes.Integer;
  1027. __ret->Value = result_of_this_method;
  1028. return __ret + 1;
  1029. }
  1030. static StackObject* IndexOf_45(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1031. {
  1032. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1033. StackObject* ptr_of_this_method;
  1034. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1035. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1036. System.Int32 startIndex = ptr_of_this_method->Value;
  1037. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1038. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1039. __intp.Free(ptr_of_this_method);
  1040. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1041. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1042. __intp.Free(ptr_of_this_method);
  1043. var result_of_this_method = System.Array.IndexOf(array, value, startIndex);
  1044. __ret->ObjectType = ObjectTypes.Integer;
  1045. __ret->Value = result_of_this_method;
  1046. return __ret + 1;
  1047. }
  1048. static StackObject* IndexOf_46(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1049. {
  1050. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1051. StackObject* ptr_of_this_method;
  1052. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1053. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1054. System.Int32 count = ptr_of_this_method->Value;
  1055. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1056. System.Int32 startIndex = ptr_of_this_method->Value;
  1057. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1058. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1059. __intp.Free(ptr_of_this_method);
  1060. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1061. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1062. __intp.Free(ptr_of_this_method);
  1063. var result_of_this_method = System.Array.IndexOf(array, value, startIndex, count);
  1064. __ret->ObjectType = ObjectTypes.Integer;
  1065. __ret->Value = result_of_this_method;
  1066. return __ret + 1;
  1067. }
  1068. static StackObject* Initialize_47(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1069. {
  1070. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1071. StackObject* ptr_of_this_method;
  1072. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1073. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1074. System.Array instance_of_this_method;
  1075. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1076. __intp.Free(ptr_of_this_method);
  1077. instance_of_this_method.Initialize();
  1078. return __ret;
  1079. }
  1080. static StackObject* LastIndexOf_48(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1081. {
  1082. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1083. StackObject* ptr_of_this_method;
  1084. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1085. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1086. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1087. __intp.Free(ptr_of_this_method);
  1088. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1089. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1090. __intp.Free(ptr_of_this_method);
  1091. var result_of_this_method = System.Array.LastIndexOf(array, value);
  1092. __ret->ObjectType = ObjectTypes.Integer;
  1093. __ret->Value = result_of_this_method;
  1094. return __ret + 1;
  1095. }
  1096. static StackObject* LastIndexOf_49(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1097. {
  1098. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1099. StackObject* ptr_of_this_method;
  1100. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1101. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1102. System.Int32 startIndex = ptr_of_this_method->Value;
  1103. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1104. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1105. __intp.Free(ptr_of_this_method);
  1106. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1107. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1108. __intp.Free(ptr_of_this_method);
  1109. var result_of_this_method = System.Array.LastIndexOf(array, value, startIndex);
  1110. __ret->ObjectType = ObjectTypes.Integer;
  1111. __ret->Value = result_of_this_method;
  1112. return __ret + 1;
  1113. }
  1114. static StackObject* LastIndexOf_50(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1115. {
  1116. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1117. StackObject* ptr_of_this_method;
  1118. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1119. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1120. System.Int32 count = ptr_of_this_method->Value;
  1121. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1122. System.Int32 startIndex = ptr_of_this_method->Value;
  1123. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1124. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1125. __intp.Free(ptr_of_this_method);
  1126. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1127. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1128. __intp.Free(ptr_of_this_method);
  1129. var result_of_this_method = System.Array.LastIndexOf(array, value, startIndex, count);
  1130. __ret->ObjectType = ObjectTypes.Integer;
  1131. __ret->Value = result_of_this_method;
  1132. return __ret + 1;
  1133. }
  1134. static StackObject* Reverse_51(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1135. {
  1136. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1137. StackObject* ptr_of_this_method;
  1138. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1139. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1140. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1141. __intp.Free(ptr_of_this_method);
  1142. System.Array.Reverse(array);
  1143. return __ret;
  1144. }
  1145. static StackObject* Reverse_52(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1146. {
  1147. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1148. StackObject* ptr_of_this_method;
  1149. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1150. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1151. System.Int32 length = ptr_of_this_method->Value;
  1152. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1153. System.Int32 index = ptr_of_this_method->Value;
  1154. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1155. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1156. __intp.Free(ptr_of_this_method);
  1157. System.Array.Reverse(array, index, length);
  1158. return __ret;
  1159. }
  1160. static StackObject* Sort_53(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1161. {
  1162. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1163. StackObject* ptr_of_this_method;
  1164. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1165. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1166. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1167. __intp.Free(ptr_of_this_method);
  1168. System.Array.Sort(array);
  1169. return __ret;
  1170. }
  1171. static StackObject* Sort_54(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1172. {
  1173. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1174. StackObject* ptr_of_this_method;
  1175. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1176. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1177. System.Array items = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1178. __intp.Free(ptr_of_this_method);
  1179. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1180. System.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1181. __intp.Free(ptr_of_this_method);
  1182. System.Array.Sort(keys, items);
  1183. return __ret;
  1184. }
  1185. static StackObject* Sort_55(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1186. {
  1187. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1188. StackObject* ptr_of_this_method;
  1189. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1190. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1191. System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1192. __intp.Free(ptr_of_this_method);
  1193. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1194. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1195. __intp.Free(ptr_of_this_method);
  1196. System.Array.Sort(array, comparer);
  1197. return __ret;
  1198. }
  1199. static StackObject* Sort_56(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1200. {
  1201. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1202. StackObject* ptr_of_this_method;
  1203. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1204. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1205. System.Int32 length = ptr_of_this_method->Value;
  1206. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1207. System.Int32 index = ptr_of_this_method->Value;
  1208. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1209. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1210. __intp.Free(ptr_of_this_method);
  1211. System.Array.Sort(array, index, length);
  1212. return __ret;
  1213. }
  1214. static StackObject* Sort_57(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1215. {
  1216. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1217. StackObject* ptr_of_this_method;
  1218. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1219. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1220. System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1221. __intp.Free(ptr_of_this_method);
  1222. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1223. System.Array items = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1224. __intp.Free(ptr_of_this_method);
  1225. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1226. System.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1227. __intp.Free(ptr_of_this_method);
  1228. System.Array.Sort(keys, items, comparer);
  1229. return __ret;
  1230. }
  1231. static StackObject* Sort_58(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1232. {
  1233. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1234. StackObject* ptr_of_this_method;
  1235. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1236. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1237. System.Int32 length = ptr_of_this_method->Value;
  1238. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1239. System.Int32 index = ptr_of_this_method->Value;
  1240. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1241. System.Array items = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1242. __intp.Free(ptr_of_this_method);
  1243. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1244. System.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1245. __intp.Free(ptr_of_this_method);
  1246. System.Array.Sort(keys, items, index, length);
  1247. return __ret;
  1248. }
  1249. static StackObject* Sort_59(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1250. {
  1251. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1252. StackObject* ptr_of_this_method;
  1253. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1254. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1255. System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1256. __intp.Free(ptr_of_this_method);
  1257. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1258. System.Int32 length = ptr_of_this_method->Value;
  1259. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1260. System.Int32 index = ptr_of_this_method->Value;
  1261. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1262. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1263. __intp.Free(ptr_of_this_method);
  1264. System.Array.Sort(array, index, length, comparer);
  1265. return __ret;
  1266. }
  1267. static StackObject* Sort_60(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1268. {
  1269. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1270. StackObject* ptr_of_this_method;
  1271. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  1272. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1273. System.Collections.IComparer comparer = (System.Collections.IComparer)typeof(System.Collections.IComparer).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1274. __intp.Free(ptr_of_this_method);
  1275. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1276. System.Int32 length = ptr_of_this_method->Value;
  1277. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1278. System.Int32 index = ptr_of_this_method->Value;
  1279. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1280. System.Array items = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1281. __intp.Free(ptr_of_this_method);
  1282. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  1283. System.Array keys = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1284. __intp.Free(ptr_of_this_method);
  1285. System.Array.Sort(keys, items, index, length, comparer);
  1286. return __ret;
  1287. }
  1288. static StackObject* CopyTo_61(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1289. {
  1290. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1291. StackObject* ptr_of_this_method;
  1292. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1293. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1294. System.Int32 index = ptr_of_this_method->Value;
  1295. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1296. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1297. __intp.Free(ptr_of_this_method);
  1298. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1299. System.Array instance_of_this_method;
  1300. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1301. __intp.Free(ptr_of_this_method);
  1302. instance_of_this_method.CopyTo(array, index);
  1303. return __ret;
  1304. }
  1305. static StackObject* CopyTo_62(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1306. {
  1307. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1308. StackObject* ptr_of_this_method;
  1309. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1310. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1311. System.Int64 index = *(long*)&ptr_of_this_method->Value;
  1312. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1313. System.Array array = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1314. __intp.Free(ptr_of_this_method);
  1315. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1316. System.Array instance_of_this_method;
  1317. instance_of_this_method = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1318. __intp.Free(ptr_of_this_method);
  1319. instance_of_this_method.CopyTo(array, index);
  1320. return __ret;
  1321. }
  1322. static StackObject* ConstrainedCopy_63(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1323. {
  1324. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1325. StackObject* ptr_of_this_method;
  1326. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  1327. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1328. System.Int32 length = ptr_of_this_method->Value;
  1329. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1330. System.Int32 destinationIndex = ptr_of_this_method->Value;
  1331. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1332. System.Array destinationArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1333. __intp.Free(ptr_of_this_method);
  1334. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1335. System.Int32 sourceIndex = ptr_of_this_method->Value;
  1336. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  1337. System.Array sourceArray = (System.Array)typeof(System.Array).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1338. __intp.Free(ptr_of_this_method);
  1339. System.Array.ConstrainedCopy(sourceArray, sourceIndex, destinationArray, destinationIndex, length);
  1340. return __ret;
  1341. }
  1342. }
  1343. }