System_String_Binding.cs 163 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717
  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_String_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.String);
  21. args = new Type[]{typeof(System.String), typeof(System.String)};
  22. method = type.GetMethod("Equals", flag, null, args, null);
  23. app.RegisterCLRMethodRedirection(method, Equals_0);
  24. args = new Type[]{typeof(System.Object)};
  25. method = type.GetMethod("Equals", flag, null, args, null);
  26. app.RegisterCLRMethodRedirection(method, Equals_1);
  27. args = new Type[]{typeof(System.String)};
  28. method = type.GetMethod("Equals", flag, null, args, null);
  29. app.RegisterCLRMethodRedirection(method, Equals_2);
  30. args = new Type[]{typeof(System.Int32)};
  31. method = type.GetMethod("get_Chars", flag, null, args, null);
  32. app.RegisterCLRMethodRedirection(method, get_Chars_3);
  33. args = new Type[]{};
  34. method = type.GetMethod("Clone", flag, null, args, null);
  35. app.RegisterCLRMethodRedirection(method, Clone_4);
  36. args = new Type[]{};
  37. method = type.GetMethod("GetTypeCode", flag, null, args, null);
  38. app.RegisterCLRMethodRedirection(method, GetTypeCode_5);
  39. args = new Type[]{typeof(System.Int32), typeof(System.Char[]), typeof(System.Int32), typeof(System.Int32)};
  40. method = type.GetMethod("CopyTo", flag, null, args, null);
  41. app.RegisterCLRMethodRedirection(method, CopyTo_6);
  42. args = new Type[]{};
  43. method = type.GetMethod("ToCharArray", flag, null, args, null);
  44. app.RegisterCLRMethodRedirection(method, ToCharArray_7);
  45. args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
  46. method = type.GetMethod("ToCharArray", flag, null, args, null);
  47. app.RegisterCLRMethodRedirection(method, ToCharArray_8);
  48. args = new Type[]{typeof(System.Char[])};
  49. method = type.GetMethod("Split", flag, null, args, null);
  50. app.RegisterCLRMethodRedirection(method, Split_9);
  51. args = new Type[]{typeof(System.Char[]), typeof(System.Int32)};
  52. method = type.GetMethod("Split", flag, null, args, null);
  53. app.RegisterCLRMethodRedirection(method, Split_10);
  54. args = new Type[]{typeof(System.Char[]), typeof(System.Int32), typeof(System.StringSplitOptions)};
  55. method = type.GetMethod("Split", flag, null, args, null);
  56. app.RegisterCLRMethodRedirection(method, Split_11);
  57. args = new Type[]{typeof(System.String[]), typeof(System.Int32), typeof(System.StringSplitOptions)};
  58. method = type.GetMethod("Split", flag, null, args, null);
  59. app.RegisterCLRMethodRedirection(method, Split_12);
  60. args = new Type[]{typeof(System.Char[]), typeof(System.StringSplitOptions)};
  61. method = type.GetMethod("Split", flag, null, args, null);
  62. app.RegisterCLRMethodRedirection(method, Split_13);
  63. args = new Type[]{typeof(System.String[]), typeof(System.StringSplitOptions)};
  64. method = type.GetMethod("Split", flag, null, args, null);
  65. app.RegisterCLRMethodRedirection(method, Split_14);
  66. args = new Type[]{typeof(System.Int32)};
  67. method = type.GetMethod("Substring", flag, null, args, null);
  68. app.RegisterCLRMethodRedirection(method, Substring_15);
  69. args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
  70. method = type.GetMethod("Substring", flag, null, args, null);
  71. app.RegisterCLRMethodRedirection(method, Substring_16);
  72. args = new Type[]{};
  73. method = type.GetMethod("Trim", flag, null, args, null);
  74. app.RegisterCLRMethodRedirection(method, Trim_17);
  75. args = new Type[]{typeof(System.Char[])};
  76. method = type.GetMethod("Trim", flag, null, args, null);
  77. app.RegisterCLRMethodRedirection(method, Trim_18);
  78. args = new Type[]{typeof(System.Char[])};
  79. method = type.GetMethod("TrimStart", flag, null, args, null);
  80. app.RegisterCLRMethodRedirection(method, TrimStart_19);
  81. args = new Type[]{typeof(System.Char[])};
  82. method = type.GetMethod("TrimEnd", flag, null, args, null);
  83. app.RegisterCLRMethodRedirection(method, TrimEnd_20);
  84. args = new Type[]{typeof(System.String), typeof(System.String)};
  85. method = type.GetMethod("Compare", flag, null, args, null);
  86. app.RegisterCLRMethodRedirection(method, Compare_21);
  87. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.Boolean)};
  88. method = type.GetMethod("Compare", flag, null, args, null);
  89. app.RegisterCLRMethodRedirection(method, Compare_22);
  90. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.Boolean), typeof(System.Globalization.CultureInfo)};
  91. method = type.GetMethod("Compare", flag, null, args, null);
  92. app.RegisterCLRMethodRedirection(method, Compare_23);
  93. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.String), typeof(System.Int32), typeof(System.Int32)};
  94. method = type.GetMethod("Compare", flag, null, args, null);
  95. app.RegisterCLRMethodRedirection(method, Compare_24);
  96. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.String), typeof(System.Int32), typeof(System.Int32), typeof(System.Boolean)};
  97. method = type.GetMethod("Compare", flag, null, args, null);
  98. app.RegisterCLRMethodRedirection(method, Compare_25);
  99. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.String), typeof(System.Int32), typeof(System.Int32), typeof(System.Boolean), typeof(System.Globalization.CultureInfo)};
  100. method = type.GetMethod("Compare", flag, null, args, null);
  101. app.RegisterCLRMethodRedirection(method, Compare_26);
  102. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.StringComparison)};
  103. method = type.GetMethod("Compare", flag, null, args, null);
  104. app.RegisterCLRMethodRedirection(method, Compare_27);
  105. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.String), typeof(System.Int32), typeof(System.Int32), typeof(System.StringComparison)};
  106. method = type.GetMethod("Compare", flag, null, args, null);
  107. app.RegisterCLRMethodRedirection(method, Compare_28);
  108. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.StringComparison)};
  109. method = type.GetMethod("Equals", flag, null, args, null);
  110. app.RegisterCLRMethodRedirection(method, Equals_29);
  111. args = new Type[]{typeof(System.String), typeof(System.StringComparison)};
  112. method = type.GetMethod("Equals", flag, null, args, null);
  113. app.RegisterCLRMethodRedirection(method, Equals_30);
  114. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.Globalization.CultureInfo), typeof(System.Globalization.CompareOptions)};
  115. method = type.GetMethod("Compare", flag, null, args, null);
  116. app.RegisterCLRMethodRedirection(method, Compare_31);
  117. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.String), typeof(System.Int32), typeof(System.Int32), typeof(System.Globalization.CultureInfo), typeof(System.Globalization.CompareOptions)};
  118. method = type.GetMethod("Compare", flag, null, args, null);
  119. app.RegisterCLRMethodRedirection(method, Compare_32);
  120. args = new Type[]{typeof(System.Object)};
  121. method = type.GetMethod("CompareTo", flag, null, args, null);
  122. app.RegisterCLRMethodRedirection(method, CompareTo_33);
  123. args = new Type[]{typeof(System.String)};
  124. method = type.GetMethod("CompareTo", flag, null, args, null);
  125. app.RegisterCLRMethodRedirection(method, CompareTo_34);
  126. args = new Type[]{typeof(System.String), typeof(System.String)};
  127. method = type.GetMethod("CompareOrdinal", flag, null, args, null);
  128. app.RegisterCLRMethodRedirection(method, CompareOrdinal_35);
  129. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.String), typeof(System.Int32), typeof(System.Int32)};
  130. method = type.GetMethod("CompareOrdinal", flag, null, args, null);
  131. app.RegisterCLRMethodRedirection(method, CompareOrdinal_36);
  132. args = new Type[]{typeof(System.String)};
  133. method = type.GetMethod("EndsWith", flag, null, args, null);
  134. app.RegisterCLRMethodRedirection(method, EndsWith_37);
  135. args = new Type[]{typeof(System.String), typeof(System.Boolean), typeof(System.Globalization.CultureInfo)};
  136. method = type.GetMethod("EndsWith", flag, null, args, null);
  137. app.RegisterCLRMethodRedirection(method, EndsWith_38);
  138. args = new Type[]{typeof(System.Char[])};
  139. method = type.GetMethod("IndexOfAny", flag, null, args, null);
  140. app.RegisterCLRMethodRedirection(method, IndexOfAny_39);
  141. args = new Type[]{typeof(System.Char[]), typeof(System.Int32)};
  142. method = type.GetMethod("IndexOfAny", flag, null, args, null);
  143. app.RegisterCLRMethodRedirection(method, IndexOfAny_40);
  144. args = new Type[]{typeof(System.Char[]), typeof(System.Int32), typeof(System.Int32)};
  145. method = type.GetMethod("IndexOfAny", flag, null, args, null);
  146. app.RegisterCLRMethodRedirection(method, IndexOfAny_41);
  147. args = new Type[]{typeof(System.String), typeof(System.StringComparison)};
  148. method = type.GetMethod("IndexOf", flag, null, args, null);
  149. app.RegisterCLRMethodRedirection(method, IndexOf_42);
  150. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.StringComparison)};
  151. method = type.GetMethod("IndexOf", flag, null, args, null);
  152. app.RegisterCLRMethodRedirection(method, IndexOf_43);
  153. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.Int32), typeof(System.StringComparison)};
  154. method = type.GetMethod("IndexOf", flag, null, args, null);
  155. app.RegisterCLRMethodRedirection(method, IndexOf_44);
  156. args = new Type[]{typeof(System.String), typeof(System.StringComparison)};
  157. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  158. app.RegisterCLRMethodRedirection(method, LastIndexOf_45);
  159. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.StringComparison)};
  160. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  161. app.RegisterCLRMethodRedirection(method, LastIndexOf_46);
  162. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.Int32), typeof(System.StringComparison)};
  163. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  164. app.RegisterCLRMethodRedirection(method, LastIndexOf_47);
  165. args = new Type[]{typeof(System.Char)};
  166. method = type.GetMethod("IndexOf", flag, null, args, null);
  167. app.RegisterCLRMethodRedirection(method, IndexOf_48);
  168. args = new Type[]{typeof(System.Char), typeof(System.Int32)};
  169. method = type.GetMethod("IndexOf", flag, null, args, null);
  170. app.RegisterCLRMethodRedirection(method, IndexOf_49);
  171. args = new Type[]{typeof(System.Char), typeof(System.Int32), typeof(System.Int32)};
  172. method = type.GetMethod("IndexOf", flag, null, args, null);
  173. app.RegisterCLRMethodRedirection(method, IndexOf_50);
  174. args = new Type[]{typeof(System.String)};
  175. method = type.GetMethod("IndexOf", flag, null, args, null);
  176. app.RegisterCLRMethodRedirection(method, IndexOf_51);
  177. args = new Type[]{typeof(System.String), typeof(System.Int32)};
  178. method = type.GetMethod("IndexOf", flag, null, args, null);
  179. app.RegisterCLRMethodRedirection(method, IndexOf_52);
  180. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.Int32)};
  181. method = type.GetMethod("IndexOf", flag, null, args, null);
  182. app.RegisterCLRMethodRedirection(method, IndexOf_53);
  183. args = new Type[]{typeof(System.Char[])};
  184. method = type.GetMethod("LastIndexOfAny", flag, null, args, null);
  185. app.RegisterCLRMethodRedirection(method, LastIndexOfAny_54);
  186. args = new Type[]{typeof(System.Char[]), typeof(System.Int32)};
  187. method = type.GetMethod("LastIndexOfAny", flag, null, args, null);
  188. app.RegisterCLRMethodRedirection(method, LastIndexOfAny_55);
  189. args = new Type[]{typeof(System.Char[]), typeof(System.Int32), typeof(System.Int32)};
  190. method = type.GetMethod("LastIndexOfAny", flag, null, args, null);
  191. app.RegisterCLRMethodRedirection(method, LastIndexOfAny_56);
  192. args = new Type[]{typeof(System.Char)};
  193. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  194. app.RegisterCLRMethodRedirection(method, LastIndexOf_57);
  195. args = new Type[]{typeof(System.Char), typeof(System.Int32)};
  196. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  197. app.RegisterCLRMethodRedirection(method, LastIndexOf_58);
  198. args = new Type[]{typeof(System.Char), typeof(System.Int32), typeof(System.Int32)};
  199. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  200. app.RegisterCLRMethodRedirection(method, LastIndexOf_59);
  201. args = new Type[]{typeof(System.String)};
  202. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  203. app.RegisterCLRMethodRedirection(method, LastIndexOf_60);
  204. args = new Type[]{typeof(System.String), typeof(System.Int32)};
  205. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  206. app.RegisterCLRMethodRedirection(method, LastIndexOf_61);
  207. args = new Type[]{typeof(System.String), typeof(System.Int32), typeof(System.Int32)};
  208. method = type.GetMethod("LastIndexOf", flag, null, args, null);
  209. app.RegisterCLRMethodRedirection(method, LastIndexOf_62);
  210. args = new Type[]{typeof(System.String)};
  211. method = type.GetMethod("Contains", flag, null, args, null);
  212. app.RegisterCLRMethodRedirection(method, Contains_63);
  213. args = new Type[]{typeof(System.String)};
  214. method = type.GetMethod("IsNullOrEmpty", flag, null, args, null);
  215. app.RegisterCLRMethodRedirection(method, IsNullOrEmpty_64);
  216. args = new Type[]{};
  217. method = type.GetMethod("Normalize", flag, null, args, null);
  218. app.RegisterCLRMethodRedirection(method, Normalize_65);
  219. args = new Type[]{typeof(System.Text.NormalizationForm)};
  220. method = type.GetMethod("Normalize", flag, null, args, null);
  221. app.RegisterCLRMethodRedirection(method, Normalize_66);
  222. args = new Type[]{};
  223. method = type.GetMethod("IsNormalized", flag, null, args, null);
  224. app.RegisterCLRMethodRedirection(method, IsNormalized_67);
  225. args = new Type[]{typeof(System.Text.NormalizationForm)};
  226. method = type.GetMethod("IsNormalized", flag, null, args, null);
  227. app.RegisterCLRMethodRedirection(method, IsNormalized_68);
  228. args = new Type[]{typeof(System.Int32)};
  229. method = type.GetMethod("Remove", flag, null, args, null);
  230. app.RegisterCLRMethodRedirection(method, Remove_69);
  231. args = new Type[]{typeof(System.Int32)};
  232. method = type.GetMethod("PadLeft", flag, null, args, null);
  233. app.RegisterCLRMethodRedirection(method, PadLeft_70);
  234. args = new Type[]{typeof(System.Int32), typeof(System.Char)};
  235. method = type.GetMethod("PadLeft", flag, null, args, null);
  236. app.RegisterCLRMethodRedirection(method, PadLeft_71);
  237. args = new Type[]{typeof(System.Int32)};
  238. method = type.GetMethod("PadRight", flag, null, args, null);
  239. app.RegisterCLRMethodRedirection(method, PadRight_72);
  240. args = new Type[]{typeof(System.Int32), typeof(System.Char)};
  241. method = type.GetMethod("PadRight", flag, null, args, null);
  242. app.RegisterCLRMethodRedirection(method, PadRight_73);
  243. args = new Type[]{typeof(System.String)};
  244. method = type.GetMethod("StartsWith", flag, null, args, null);
  245. app.RegisterCLRMethodRedirection(method, StartsWith_74);
  246. args = new Type[]{typeof(System.String), typeof(System.StringComparison)};
  247. method = type.GetMethod("StartsWith", flag, null, args, null);
  248. app.RegisterCLRMethodRedirection(method, StartsWith_75);
  249. args = new Type[]{typeof(System.String), typeof(System.StringComparison)};
  250. method = type.GetMethod("EndsWith", flag, null, args, null);
  251. app.RegisterCLRMethodRedirection(method, EndsWith_76);
  252. args = new Type[]{typeof(System.String), typeof(System.Boolean), typeof(System.Globalization.CultureInfo)};
  253. method = type.GetMethod("StartsWith", flag, null, args, null);
  254. app.RegisterCLRMethodRedirection(method, StartsWith_77);
  255. args = new Type[]{typeof(System.Char), typeof(System.Char)};
  256. method = type.GetMethod("Replace", flag, null, args, null);
  257. app.RegisterCLRMethodRedirection(method, Replace_78);
  258. args = new Type[]{typeof(System.String), typeof(System.String)};
  259. method = type.GetMethod("Replace", flag, null, args, null);
  260. app.RegisterCLRMethodRedirection(method, Replace_79);
  261. args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
  262. method = type.GetMethod("Remove", flag, null, args, null);
  263. app.RegisterCLRMethodRedirection(method, Remove_80);
  264. args = new Type[]{};
  265. method = type.GetMethod("ToLower", flag, null, args, null);
  266. app.RegisterCLRMethodRedirection(method, ToLower_81);
  267. args = new Type[]{typeof(System.Globalization.CultureInfo)};
  268. method = type.GetMethod("ToLower", flag, null, args, null);
  269. app.RegisterCLRMethodRedirection(method, ToLower_82);
  270. args = new Type[]{};
  271. method = type.GetMethod("ToLowerInvariant", flag, null, args, null);
  272. app.RegisterCLRMethodRedirection(method, ToLowerInvariant_83);
  273. args = new Type[]{};
  274. method = type.GetMethod("ToUpper", flag, null, args, null);
  275. app.RegisterCLRMethodRedirection(method, ToUpper_84);
  276. args = new Type[]{typeof(System.Globalization.CultureInfo)};
  277. method = type.GetMethod("ToUpper", flag, null, args, null);
  278. app.RegisterCLRMethodRedirection(method, ToUpper_85);
  279. args = new Type[]{};
  280. method = type.GetMethod("ToUpperInvariant", flag, null, args, null);
  281. app.RegisterCLRMethodRedirection(method, ToUpperInvariant_86);
  282. args = new Type[]{};
  283. method = type.GetMethod("ToString", flag, null, args, null);
  284. app.RegisterCLRMethodRedirection(method, ToString_87);
  285. args = new Type[]{typeof(System.IFormatProvider)};
  286. method = type.GetMethod("ToString", flag, null, args, null);
  287. app.RegisterCLRMethodRedirection(method, ToString_88);
  288. args = new Type[]{typeof(System.String), typeof(System.Object)};
  289. method = type.GetMethod("Format", flag, null, args, null);
  290. app.RegisterCLRMethodRedirection(method, Format_89);
  291. args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object)};
  292. method = type.GetMethod("Format", flag, null, args, null);
  293. app.RegisterCLRMethodRedirection(method, Format_90);
  294. args = new Type[]{typeof(System.String), typeof(System.Object), typeof(System.Object), typeof(System.Object)};
  295. method = type.GetMethod("Format", flag, null, args, null);
  296. app.RegisterCLRMethodRedirection(method, Format_91);
  297. args = new Type[]{typeof(System.String), typeof(System.Object[])};
  298. method = type.GetMethod("Format", flag, null, args, null);
  299. app.RegisterCLRMethodRedirection(method, Format_92);
  300. args = new Type[]{typeof(System.IFormatProvider), typeof(System.String), typeof(System.Object[])};
  301. method = type.GetMethod("Format", flag, null, args, null);
  302. app.RegisterCLRMethodRedirection(method, Format_93);
  303. args = new Type[]{typeof(System.String)};
  304. method = type.GetMethod("Copy", flag, null, args, null);
  305. app.RegisterCLRMethodRedirection(method, Copy_94);
  306. args = new Type[]{typeof(System.Object)};
  307. method = type.GetMethod("Concat", flag, null, args, null);
  308. app.RegisterCLRMethodRedirection(method, Concat_95);
  309. args = new Type[]{typeof(System.Object), typeof(System.Object)};
  310. method = type.GetMethod("Concat", flag, null, args, null);
  311. app.RegisterCLRMethodRedirection(method, Concat_96);
  312. args = new Type[]{typeof(System.Object), typeof(System.Object), typeof(System.Object)};
  313. method = type.GetMethod("Concat", flag, null, args, null);
  314. app.RegisterCLRMethodRedirection(method, Concat_97);
  315. args = new Type[]{typeof(System.Object), typeof(System.Object), typeof(System.Object), typeof(System.Object)};
  316. method = type.GetMethod("Concat", flag, null, args, null);
  317. app.RegisterCLRMethodRedirection(method, Concat_98);
  318. args = new Type[]{typeof(System.String), typeof(System.String)};
  319. method = type.GetMethod("Concat", flag, null, args, null);
  320. app.RegisterCLRMethodRedirection(method, Concat_99);
  321. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.String)};
  322. method = type.GetMethod("Concat", flag, null, args, null);
  323. app.RegisterCLRMethodRedirection(method, Concat_100);
  324. args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.String), typeof(System.String)};
  325. method = type.GetMethod("Concat", flag, null, args, null);
  326. app.RegisterCLRMethodRedirection(method, Concat_101);
  327. args = new Type[]{typeof(System.Object[])};
  328. method = type.GetMethod("Concat", flag, null, args, null);
  329. app.RegisterCLRMethodRedirection(method, Concat_102);
  330. args = new Type[]{typeof(System.String[])};
  331. method = type.GetMethod("Concat", flag, null, args, null);
  332. app.RegisterCLRMethodRedirection(method, Concat_103);
  333. args = new Type[]{typeof(System.Int32), typeof(System.String)};
  334. method = type.GetMethod("Insert", flag, null, args, null);
  335. app.RegisterCLRMethodRedirection(method, Insert_104);
  336. args = new Type[]{typeof(System.String)};
  337. method = type.GetMethod("Intern", flag, null, args, null);
  338. app.RegisterCLRMethodRedirection(method, Intern_105);
  339. args = new Type[]{typeof(System.String)};
  340. method = type.GetMethod("IsInterned", flag, null, args, null);
  341. app.RegisterCLRMethodRedirection(method, IsInterned_106);
  342. args = new Type[]{typeof(System.String), typeof(System.String[])};
  343. method = type.GetMethod("Join", flag, null, args, null);
  344. app.RegisterCLRMethodRedirection(method, Join_107);
  345. args = new Type[]{typeof(System.String), typeof(System.String[]), typeof(System.Int32), typeof(System.Int32)};
  346. method = type.GetMethod("Join", flag, null, args, null);
  347. app.RegisterCLRMethodRedirection(method, Join_108);
  348. args = new Type[]{};
  349. method = type.GetMethod("get_Length", flag, null, args, null);
  350. app.RegisterCLRMethodRedirection(method, get_Length_109);
  351. args = new Type[]{};
  352. method = type.GetMethod("GetEnumerator", flag, null, args, null);
  353. app.RegisterCLRMethodRedirection(method, GetEnumerator_110);
  354. args = new Type[]{};
  355. method = type.GetMethod("GetHashCode", flag, null, args, null);
  356. app.RegisterCLRMethodRedirection(method, GetHashCode_111);
  357. args = new Type[]{typeof(System.String), typeof(System.String)};
  358. method = type.GetMethod("op_Equality", flag, null, args, null);
  359. app.RegisterCLRMethodRedirection(method, op_Equality_112);
  360. args = new Type[]{typeof(System.String), typeof(System.String)};
  361. method = type.GetMethod("op_Inequality", flag, null, args, null);
  362. app.RegisterCLRMethodRedirection(method, op_Inequality_113);
  363. args = new Type[]{typeof(System.Char[]), typeof(System.Int32), typeof(System.Int32)};
  364. method = type.GetConstructor(flag, null, args, null);
  365. app.RegisterCLRMethodRedirection(method, Ctor_0);
  366. args = new Type[]{typeof(System.Char[])};
  367. method = type.GetConstructor(flag, null, args, null);
  368. app.RegisterCLRMethodRedirection(method, Ctor_1);
  369. args = new Type[]{typeof(System.Char), typeof(System.Int32)};
  370. method = type.GetConstructor(flag, null, args, null);
  371. app.RegisterCLRMethodRedirection(method, Ctor_2);
  372. }
  373. static StackObject* Equals_0(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, 2);
  378. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  379. System.String b = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  380. __intp.Free(ptr_of_this_method);
  381. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  382. System.String a = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  383. __intp.Free(ptr_of_this_method);
  384. var result_of_this_method = System.String.Equals(a, b);
  385. __ret->ObjectType = ObjectTypes.Integer;
  386. __ret->Value = result_of_this_method ? 1 : 0;
  387. return __ret + 1;
  388. }
  389. static StackObject* Equals_1(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  390. {
  391. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  392. StackObject* ptr_of_this_method;
  393. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  394. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  395. System.Object obj = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  396. __intp.Free(ptr_of_this_method);
  397. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  398. System.String instance_of_this_method;
  399. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  400. __intp.Free(ptr_of_this_method);
  401. var result_of_this_method = instance_of_this_method.Equals(obj);
  402. __ret->ObjectType = ObjectTypes.Integer;
  403. __ret->Value = result_of_this_method ? 1 : 0;
  404. return __ret + 1;
  405. }
  406. static StackObject* Equals_2(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  407. {
  408. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  409. StackObject* ptr_of_this_method;
  410. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  411. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  412. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  413. __intp.Free(ptr_of_this_method);
  414. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  415. System.String instance_of_this_method;
  416. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  417. __intp.Free(ptr_of_this_method);
  418. var result_of_this_method = instance_of_this_method.Equals(value);
  419. __ret->ObjectType = ObjectTypes.Integer;
  420. __ret->Value = result_of_this_method ? 1 : 0;
  421. return __ret + 1;
  422. }
  423. static StackObject* get_Chars_3(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  424. {
  425. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  426. StackObject* ptr_of_this_method;
  427. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  428. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  429. System.Int32 index = ptr_of_this_method->Value;
  430. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  431. System.String instance_of_this_method;
  432. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  433. __intp.Free(ptr_of_this_method);
  434. var result_of_this_method = instance_of_this_method[index];
  435. __ret->ObjectType = ObjectTypes.Integer;
  436. __ret->Value = (int)result_of_this_method;
  437. return __ret + 1;
  438. }
  439. static StackObject* Clone_4(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  440. {
  441. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  442. StackObject* ptr_of_this_method;
  443. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  444. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  445. System.String instance_of_this_method;
  446. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  447. __intp.Free(ptr_of_this_method);
  448. var result_of_this_method = instance_of_this_method.Clone();
  449. object obj_result_of_this_method = result_of_this_method;
  450. if(obj_result_of_this_method is CrossBindingAdaptorType)
  451. {
  452. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
  453. }
  454. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  455. }
  456. static StackObject* GetTypeCode_5(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  457. {
  458. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  459. StackObject* ptr_of_this_method;
  460. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  461. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  462. System.String instance_of_this_method;
  463. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  464. __intp.Free(ptr_of_this_method);
  465. var result_of_this_method = instance_of_this_method.GetTypeCode();
  466. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  467. }
  468. static StackObject* CopyTo_6(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  469. {
  470. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  471. StackObject* ptr_of_this_method;
  472. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  473. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  474. System.Int32 count = ptr_of_this_method->Value;
  475. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  476. System.Int32 destinationIndex = ptr_of_this_method->Value;
  477. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  478. System.Char[] destination = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  479. __intp.Free(ptr_of_this_method);
  480. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  481. System.Int32 sourceIndex = ptr_of_this_method->Value;
  482. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  483. System.String instance_of_this_method;
  484. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  485. __intp.Free(ptr_of_this_method);
  486. instance_of_this_method.CopyTo(sourceIndex, destination, destinationIndex, count);
  487. return __ret;
  488. }
  489. static StackObject* ToCharArray_7(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  490. {
  491. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  492. StackObject* ptr_of_this_method;
  493. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  494. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  495. System.String instance_of_this_method;
  496. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  497. __intp.Free(ptr_of_this_method);
  498. var result_of_this_method = instance_of_this_method.ToCharArray();
  499. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  500. }
  501. static StackObject* ToCharArray_8(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  502. {
  503. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  504. StackObject* ptr_of_this_method;
  505. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  506. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  507. System.Int32 length = ptr_of_this_method->Value;
  508. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  509. System.Int32 startIndex = ptr_of_this_method->Value;
  510. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  511. System.String instance_of_this_method;
  512. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  513. __intp.Free(ptr_of_this_method);
  514. var result_of_this_method = instance_of_this_method.ToCharArray(startIndex, length);
  515. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  516. }
  517. static StackObject* Split_9(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  518. {
  519. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  520. StackObject* ptr_of_this_method;
  521. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  522. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  523. System.Char[] separator = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  524. __intp.Free(ptr_of_this_method);
  525. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  526. System.String instance_of_this_method;
  527. instance_of_this_method = (System.String)typeof(System.String).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.Split(separator);
  530. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  531. }
  532. static StackObject* Split_10(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  533. {
  534. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  535. StackObject* ptr_of_this_method;
  536. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  537. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  538. System.Int32 count = ptr_of_this_method->Value;
  539. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  540. System.Char[] separator = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  541. __intp.Free(ptr_of_this_method);
  542. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  543. System.String instance_of_this_method;
  544. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  545. __intp.Free(ptr_of_this_method);
  546. var result_of_this_method = instance_of_this_method.Split(separator, count);
  547. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  548. }
  549. static StackObject* Split_11(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  550. {
  551. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  552. StackObject* ptr_of_this_method;
  553. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  554. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  555. System.StringSplitOptions options = (System.StringSplitOptions)typeof(System.StringSplitOptions).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  556. __intp.Free(ptr_of_this_method);
  557. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  558. System.Int32 count = ptr_of_this_method->Value;
  559. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  560. System.Char[] separator = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  561. __intp.Free(ptr_of_this_method);
  562. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  563. System.String instance_of_this_method;
  564. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  565. __intp.Free(ptr_of_this_method);
  566. var result_of_this_method = instance_of_this_method.Split(separator, count, options);
  567. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  568. }
  569. static StackObject* Split_12(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  570. {
  571. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  572. StackObject* ptr_of_this_method;
  573. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  574. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  575. System.StringSplitOptions options = (System.StringSplitOptions)typeof(System.StringSplitOptions).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  576. __intp.Free(ptr_of_this_method);
  577. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  578. System.Int32 count = ptr_of_this_method->Value;
  579. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  580. System.String[] separator = (System.String[])typeof(System.String[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  581. __intp.Free(ptr_of_this_method);
  582. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  583. System.String instance_of_this_method;
  584. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  585. __intp.Free(ptr_of_this_method);
  586. var result_of_this_method = instance_of_this_method.Split(separator, count, options);
  587. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  588. }
  589. static StackObject* Split_13(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  590. {
  591. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  592. StackObject* ptr_of_this_method;
  593. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  594. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  595. System.StringSplitOptions options = (System.StringSplitOptions)typeof(System.StringSplitOptions).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  596. __intp.Free(ptr_of_this_method);
  597. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  598. System.Char[] separator = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  599. __intp.Free(ptr_of_this_method);
  600. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  601. System.String instance_of_this_method;
  602. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  603. __intp.Free(ptr_of_this_method);
  604. var result_of_this_method = instance_of_this_method.Split(separator, options);
  605. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  606. }
  607. static StackObject* Split_14(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  608. {
  609. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  610. StackObject* ptr_of_this_method;
  611. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  612. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  613. System.StringSplitOptions options = (System.StringSplitOptions)typeof(System.StringSplitOptions).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  614. __intp.Free(ptr_of_this_method);
  615. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  616. System.String[] separator = (System.String[])typeof(System.String[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  617. __intp.Free(ptr_of_this_method);
  618. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  619. System.String instance_of_this_method;
  620. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  621. __intp.Free(ptr_of_this_method);
  622. var result_of_this_method = instance_of_this_method.Split(separator, options);
  623. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  624. }
  625. static StackObject* Substring_15(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  626. {
  627. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  628. StackObject* ptr_of_this_method;
  629. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  630. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  631. System.Int32 startIndex = ptr_of_this_method->Value;
  632. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  633. System.String instance_of_this_method;
  634. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  635. __intp.Free(ptr_of_this_method);
  636. var result_of_this_method = instance_of_this_method.Substring(startIndex);
  637. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  638. }
  639. static StackObject* Substring_16(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  640. {
  641. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  642. StackObject* ptr_of_this_method;
  643. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  644. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  645. System.Int32 length = ptr_of_this_method->Value;
  646. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  647. System.Int32 startIndex = ptr_of_this_method->Value;
  648. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  649. System.String instance_of_this_method;
  650. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  651. __intp.Free(ptr_of_this_method);
  652. var result_of_this_method = instance_of_this_method.Substring(startIndex, length);
  653. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  654. }
  655. static StackObject* Trim_17(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  656. {
  657. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  658. StackObject* ptr_of_this_method;
  659. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  660. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  661. System.String instance_of_this_method;
  662. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  663. __intp.Free(ptr_of_this_method);
  664. var result_of_this_method = instance_of_this_method.Trim();
  665. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  666. }
  667. static StackObject* Trim_18(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  668. {
  669. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  670. StackObject* ptr_of_this_method;
  671. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  672. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  673. System.Char[] trimChars = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  674. __intp.Free(ptr_of_this_method);
  675. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  676. System.String instance_of_this_method;
  677. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  678. __intp.Free(ptr_of_this_method);
  679. var result_of_this_method = instance_of_this_method.Trim(trimChars);
  680. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  681. }
  682. static StackObject* TrimStart_19(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  683. {
  684. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  685. StackObject* ptr_of_this_method;
  686. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  687. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  688. System.Char[] trimChars = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  689. __intp.Free(ptr_of_this_method);
  690. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  691. System.String instance_of_this_method;
  692. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  693. __intp.Free(ptr_of_this_method);
  694. var result_of_this_method = instance_of_this_method.TrimStart(trimChars);
  695. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  696. }
  697. static StackObject* TrimEnd_20(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  698. {
  699. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  700. StackObject* ptr_of_this_method;
  701. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  702. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  703. System.Char[] trimChars = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  704. __intp.Free(ptr_of_this_method);
  705. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  706. System.String instance_of_this_method;
  707. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  708. __intp.Free(ptr_of_this_method);
  709. var result_of_this_method = instance_of_this_method.TrimEnd(trimChars);
  710. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  711. }
  712. static StackObject* Compare_21(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, 2);
  717. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  718. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  719. __intp.Free(ptr_of_this_method);
  720. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  721. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  722. __intp.Free(ptr_of_this_method);
  723. var result_of_this_method = System.String.Compare(strA, strB);
  724. __ret->ObjectType = ObjectTypes.Integer;
  725. __ret->Value = result_of_this_method;
  726. return __ret + 1;
  727. }
  728. static StackObject* Compare_22(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  729. {
  730. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  731. StackObject* ptr_of_this_method;
  732. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  733. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  734. System.Boolean ignoreCase = ptr_of_this_method->Value == 1;
  735. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  736. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  737. __intp.Free(ptr_of_this_method);
  738. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  739. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  740. __intp.Free(ptr_of_this_method);
  741. var result_of_this_method = System.String.Compare(strA, strB, ignoreCase);
  742. __ret->ObjectType = ObjectTypes.Integer;
  743. __ret->Value = result_of_this_method;
  744. return __ret + 1;
  745. }
  746. static StackObject* Compare_23(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  747. {
  748. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  749. StackObject* ptr_of_this_method;
  750. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  751. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  752. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  753. __intp.Free(ptr_of_this_method);
  754. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  755. System.Boolean ignoreCase = ptr_of_this_method->Value == 1;
  756. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  757. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  758. __intp.Free(ptr_of_this_method);
  759. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  760. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  761. __intp.Free(ptr_of_this_method);
  762. var result_of_this_method = System.String.Compare(strA, strB, ignoreCase, culture);
  763. __ret->ObjectType = ObjectTypes.Integer;
  764. __ret->Value = result_of_this_method;
  765. return __ret + 1;
  766. }
  767. static StackObject* Compare_24(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  768. {
  769. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  770. StackObject* ptr_of_this_method;
  771. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  772. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  773. System.Int32 length = ptr_of_this_method->Value;
  774. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  775. System.Int32 indexB = ptr_of_this_method->Value;
  776. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  777. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  778. __intp.Free(ptr_of_this_method);
  779. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  780. System.Int32 indexA = ptr_of_this_method->Value;
  781. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  782. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  783. __intp.Free(ptr_of_this_method);
  784. var result_of_this_method = System.String.Compare(strA, indexA, strB, indexB, length);
  785. __ret->ObjectType = ObjectTypes.Integer;
  786. __ret->Value = result_of_this_method;
  787. return __ret + 1;
  788. }
  789. static StackObject* Compare_25(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  790. {
  791. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  792. StackObject* ptr_of_this_method;
  793. StackObject* __ret = ILIntepreter.Minus(__esp, 6);
  794. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  795. System.Boolean ignoreCase = ptr_of_this_method->Value == 1;
  796. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  797. System.Int32 length = ptr_of_this_method->Value;
  798. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  799. System.Int32 indexB = ptr_of_this_method->Value;
  800. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  801. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  802. __intp.Free(ptr_of_this_method);
  803. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  804. System.Int32 indexA = ptr_of_this_method->Value;
  805. ptr_of_this_method = ILIntepreter.Minus(__esp, 6);
  806. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  807. __intp.Free(ptr_of_this_method);
  808. var result_of_this_method = System.String.Compare(strA, indexA, strB, indexB, length, ignoreCase);
  809. __ret->ObjectType = ObjectTypes.Integer;
  810. __ret->Value = result_of_this_method;
  811. return __ret + 1;
  812. }
  813. static StackObject* Compare_26(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  814. {
  815. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  816. StackObject* ptr_of_this_method;
  817. StackObject* __ret = ILIntepreter.Minus(__esp, 7);
  818. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  819. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  820. __intp.Free(ptr_of_this_method);
  821. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  822. System.Boolean ignoreCase = ptr_of_this_method->Value == 1;
  823. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  824. System.Int32 length = ptr_of_this_method->Value;
  825. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  826. System.Int32 indexB = ptr_of_this_method->Value;
  827. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  828. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  829. __intp.Free(ptr_of_this_method);
  830. ptr_of_this_method = ILIntepreter.Minus(__esp, 6);
  831. System.Int32 indexA = ptr_of_this_method->Value;
  832. ptr_of_this_method = ILIntepreter.Minus(__esp, 7);
  833. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  834. __intp.Free(ptr_of_this_method);
  835. var result_of_this_method = System.String.Compare(strA, indexA, strB, indexB, length, ignoreCase, culture);
  836. __ret->ObjectType = ObjectTypes.Integer;
  837. __ret->Value = result_of_this_method;
  838. return __ret + 1;
  839. }
  840. static StackObject* Compare_27(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  841. {
  842. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  843. StackObject* ptr_of_this_method;
  844. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  845. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  846. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  847. __intp.Free(ptr_of_this_method);
  848. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  849. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  850. __intp.Free(ptr_of_this_method);
  851. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  852. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  853. __intp.Free(ptr_of_this_method);
  854. var result_of_this_method = System.String.Compare(strA, strB, comparisonType);
  855. __ret->ObjectType = ObjectTypes.Integer;
  856. __ret->Value = result_of_this_method;
  857. return __ret + 1;
  858. }
  859. static StackObject* Compare_28(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  860. {
  861. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  862. StackObject* ptr_of_this_method;
  863. StackObject* __ret = ILIntepreter.Minus(__esp, 6);
  864. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  865. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  866. __intp.Free(ptr_of_this_method);
  867. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  868. System.Int32 length = ptr_of_this_method->Value;
  869. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  870. System.Int32 indexB = ptr_of_this_method->Value;
  871. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  872. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  873. __intp.Free(ptr_of_this_method);
  874. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  875. System.Int32 indexA = ptr_of_this_method->Value;
  876. ptr_of_this_method = ILIntepreter.Minus(__esp, 6);
  877. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  878. __intp.Free(ptr_of_this_method);
  879. var result_of_this_method = System.String.Compare(strA, indexA, strB, indexB, length, comparisonType);
  880. __ret->ObjectType = ObjectTypes.Integer;
  881. __ret->Value = result_of_this_method;
  882. return __ret + 1;
  883. }
  884. static StackObject* Equals_29(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  885. {
  886. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  887. StackObject* ptr_of_this_method;
  888. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  889. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  890. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  891. __intp.Free(ptr_of_this_method);
  892. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  893. System.String b = (System.String)typeof(System.String).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, 3);
  896. System.String a = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  897. __intp.Free(ptr_of_this_method);
  898. var result_of_this_method = System.String.Equals(a, b, comparisonType);
  899. __ret->ObjectType = ObjectTypes.Integer;
  900. __ret->Value = result_of_this_method ? 1 : 0;
  901. return __ret + 1;
  902. }
  903. static StackObject* Equals_30(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  904. {
  905. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  906. StackObject* ptr_of_this_method;
  907. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  908. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  909. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  910. __intp.Free(ptr_of_this_method);
  911. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  912. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  913. __intp.Free(ptr_of_this_method);
  914. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  915. System.String instance_of_this_method;
  916. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  917. __intp.Free(ptr_of_this_method);
  918. var result_of_this_method = instance_of_this_method.Equals(value, comparisonType);
  919. __ret->ObjectType = ObjectTypes.Integer;
  920. __ret->Value = result_of_this_method ? 1 : 0;
  921. return __ret + 1;
  922. }
  923. static StackObject* Compare_31(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  924. {
  925. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  926. StackObject* ptr_of_this_method;
  927. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  928. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  929. System.Globalization.CompareOptions options = (System.Globalization.CompareOptions)typeof(System.Globalization.CompareOptions).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  930. __intp.Free(ptr_of_this_method);
  931. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  932. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  933. __intp.Free(ptr_of_this_method);
  934. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  935. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  936. __intp.Free(ptr_of_this_method);
  937. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  938. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  939. __intp.Free(ptr_of_this_method);
  940. var result_of_this_method = System.String.Compare(strA, strB, culture, options);
  941. __ret->ObjectType = ObjectTypes.Integer;
  942. __ret->Value = result_of_this_method;
  943. return __ret + 1;
  944. }
  945. static StackObject* Compare_32(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  946. {
  947. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  948. StackObject* ptr_of_this_method;
  949. StackObject* __ret = ILIntepreter.Minus(__esp, 7);
  950. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  951. System.Globalization.CompareOptions options = (System.Globalization.CompareOptions)typeof(System.Globalization.CompareOptions).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  952. __intp.Free(ptr_of_this_method);
  953. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  954. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  955. __intp.Free(ptr_of_this_method);
  956. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  957. System.Int32 length = ptr_of_this_method->Value;
  958. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  959. System.Int32 indexB = ptr_of_this_method->Value;
  960. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  961. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  962. __intp.Free(ptr_of_this_method);
  963. ptr_of_this_method = ILIntepreter.Minus(__esp, 6);
  964. System.Int32 indexA = ptr_of_this_method->Value;
  965. ptr_of_this_method = ILIntepreter.Minus(__esp, 7);
  966. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  967. __intp.Free(ptr_of_this_method);
  968. var result_of_this_method = System.String.Compare(strA, indexA, strB, indexB, length, culture, options);
  969. __ret->ObjectType = ObjectTypes.Integer;
  970. __ret->Value = result_of_this_method;
  971. return __ret + 1;
  972. }
  973. static StackObject* CompareTo_33(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  974. {
  975. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  976. StackObject* ptr_of_this_method;
  977. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  978. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  979. System.Object value = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  980. __intp.Free(ptr_of_this_method);
  981. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  982. System.String instance_of_this_method;
  983. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  984. __intp.Free(ptr_of_this_method);
  985. var result_of_this_method = instance_of_this_method.CompareTo(value);
  986. __ret->ObjectType = ObjectTypes.Integer;
  987. __ret->Value = result_of_this_method;
  988. return __ret + 1;
  989. }
  990. static StackObject* CompareTo_34(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  991. {
  992. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  993. StackObject* ptr_of_this_method;
  994. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  995. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  996. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  997. __intp.Free(ptr_of_this_method);
  998. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  999. System.String instance_of_this_method;
  1000. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1001. __intp.Free(ptr_of_this_method);
  1002. var result_of_this_method = instance_of_this_method.CompareTo(strB);
  1003. __ret->ObjectType = ObjectTypes.Integer;
  1004. __ret->Value = result_of_this_method;
  1005. return __ret + 1;
  1006. }
  1007. static StackObject* CompareOrdinal_35(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1008. {
  1009. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1010. StackObject* ptr_of_this_method;
  1011. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1012. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1013. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1014. __intp.Free(ptr_of_this_method);
  1015. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1016. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1017. __intp.Free(ptr_of_this_method);
  1018. var result_of_this_method = System.String.CompareOrdinal(strA, strB);
  1019. __ret->ObjectType = ObjectTypes.Integer;
  1020. __ret->Value = result_of_this_method;
  1021. return __ret + 1;
  1022. }
  1023. static StackObject* CompareOrdinal_36(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1024. {
  1025. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1026. StackObject* ptr_of_this_method;
  1027. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  1028. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1029. System.Int32 length = ptr_of_this_method->Value;
  1030. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1031. System.Int32 indexB = ptr_of_this_method->Value;
  1032. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1033. System.String strB = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1034. __intp.Free(ptr_of_this_method);
  1035. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1036. System.Int32 indexA = ptr_of_this_method->Value;
  1037. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  1038. System.String strA = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1039. __intp.Free(ptr_of_this_method);
  1040. var result_of_this_method = System.String.CompareOrdinal(strA, indexA, strB, indexB, length);
  1041. __ret->ObjectType = ObjectTypes.Integer;
  1042. __ret->Value = result_of_this_method;
  1043. return __ret + 1;
  1044. }
  1045. static StackObject* EndsWith_37(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1046. {
  1047. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1048. StackObject* ptr_of_this_method;
  1049. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1050. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1051. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1052. __intp.Free(ptr_of_this_method);
  1053. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1054. System.String instance_of_this_method;
  1055. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1056. __intp.Free(ptr_of_this_method);
  1057. var result_of_this_method = instance_of_this_method.EndsWith(value);
  1058. __ret->ObjectType = ObjectTypes.Integer;
  1059. __ret->Value = result_of_this_method ? 1 : 0;
  1060. return __ret + 1;
  1061. }
  1062. static StackObject* EndsWith_38(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1063. {
  1064. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1065. StackObject* ptr_of_this_method;
  1066. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1067. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1068. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1069. __intp.Free(ptr_of_this_method);
  1070. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1071. System.Boolean ignoreCase = ptr_of_this_method->Value == 1;
  1072. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1073. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1074. __intp.Free(ptr_of_this_method);
  1075. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1076. System.String instance_of_this_method;
  1077. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1078. __intp.Free(ptr_of_this_method);
  1079. var result_of_this_method = instance_of_this_method.EndsWith(value, ignoreCase, culture);
  1080. __ret->ObjectType = ObjectTypes.Integer;
  1081. __ret->Value = result_of_this_method ? 1 : 0;
  1082. return __ret + 1;
  1083. }
  1084. static StackObject* IndexOfAny_39(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1085. {
  1086. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1087. StackObject* ptr_of_this_method;
  1088. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1089. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1090. System.Char[] anyOf = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1091. __intp.Free(ptr_of_this_method);
  1092. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1093. System.String instance_of_this_method;
  1094. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1095. __intp.Free(ptr_of_this_method);
  1096. var result_of_this_method = instance_of_this_method.IndexOfAny(anyOf);
  1097. __ret->ObjectType = ObjectTypes.Integer;
  1098. __ret->Value = result_of_this_method;
  1099. return __ret + 1;
  1100. }
  1101. static StackObject* IndexOfAny_40(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1102. {
  1103. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1104. StackObject* ptr_of_this_method;
  1105. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1106. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1107. System.Int32 startIndex = ptr_of_this_method->Value;
  1108. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1109. System.Char[] anyOf = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1110. __intp.Free(ptr_of_this_method);
  1111. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1112. System.String instance_of_this_method;
  1113. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1114. __intp.Free(ptr_of_this_method);
  1115. var result_of_this_method = instance_of_this_method.IndexOfAny(anyOf, startIndex);
  1116. __ret->ObjectType = ObjectTypes.Integer;
  1117. __ret->Value = result_of_this_method;
  1118. return __ret + 1;
  1119. }
  1120. static StackObject* IndexOfAny_41(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1121. {
  1122. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1123. StackObject* ptr_of_this_method;
  1124. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1125. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1126. System.Int32 count = ptr_of_this_method->Value;
  1127. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1128. System.Int32 startIndex = ptr_of_this_method->Value;
  1129. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1130. System.Char[] anyOf = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1131. __intp.Free(ptr_of_this_method);
  1132. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1133. System.String instance_of_this_method;
  1134. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1135. __intp.Free(ptr_of_this_method);
  1136. var result_of_this_method = instance_of_this_method.IndexOfAny(anyOf, startIndex, count);
  1137. __ret->ObjectType = ObjectTypes.Integer;
  1138. __ret->Value = result_of_this_method;
  1139. return __ret + 1;
  1140. }
  1141. static StackObject* IndexOf_42(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1142. {
  1143. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1144. StackObject* ptr_of_this_method;
  1145. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1146. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1147. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1148. __intp.Free(ptr_of_this_method);
  1149. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1150. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1151. __intp.Free(ptr_of_this_method);
  1152. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1153. System.String instance_of_this_method;
  1154. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1155. __intp.Free(ptr_of_this_method);
  1156. var result_of_this_method = instance_of_this_method.IndexOf(value, comparisonType);
  1157. __ret->ObjectType = ObjectTypes.Integer;
  1158. __ret->Value = result_of_this_method;
  1159. return __ret + 1;
  1160. }
  1161. static StackObject* IndexOf_43(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1162. {
  1163. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1164. StackObject* ptr_of_this_method;
  1165. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1166. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1167. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1168. __intp.Free(ptr_of_this_method);
  1169. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1170. System.Int32 startIndex = ptr_of_this_method->Value;
  1171. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1172. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1173. __intp.Free(ptr_of_this_method);
  1174. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1175. System.String instance_of_this_method;
  1176. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1177. __intp.Free(ptr_of_this_method);
  1178. var result_of_this_method = instance_of_this_method.IndexOf(value, startIndex, comparisonType);
  1179. __ret->ObjectType = ObjectTypes.Integer;
  1180. __ret->Value = result_of_this_method;
  1181. return __ret + 1;
  1182. }
  1183. static StackObject* IndexOf_44(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1184. {
  1185. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1186. StackObject* ptr_of_this_method;
  1187. StackObject* __ret = ILIntepreter.Minus(__esp, 5);
  1188. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1189. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1190. __intp.Free(ptr_of_this_method);
  1191. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1192. System.Int32 count = ptr_of_this_method->Value;
  1193. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1194. System.Int32 startIndex = ptr_of_this_method->Value;
  1195. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1196. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1197. __intp.Free(ptr_of_this_method);
  1198. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  1199. System.String instance_of_this_method;
  1200. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1201. __intp.Free(ptr_of_this_method);
  1202. var result_of_this_method = instance_of_this_method.IndexOf(value, startIndex, count, comparisonType);
  1203. __ret->ObjectType = ObjectTypes.Integer;
  1204. __ret->Value = result_of_this_method;
  1205. return __ret + 1;
  1206. }
  1207. static StackObject* LastIndexOf_45(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1208. {
  1209. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1210. StackObject* ptr_of_this_method;
  1211. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1212. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1213. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1214. __intp.Free(ptr_of_this_method);
  1215. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1216. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1217. __intp.Free(ptr_of_this_method);
  1218. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1219. System.String instance_of_this_method;
  1220. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1221. __intp.Free(ptr_of_this_method);
  1222. var result_of_this_method = instance_of_this_method.LastIndexOf(value, comparisonType);
  1223. __ret->ObjectType = ObjectTypes.Integer;
  1224. __ret->Value = result_of_this_method;
  1225. return __ret + 1;
  1226. }
  1227. static StackObject* LastIndexOf_46(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1228. {
  1229. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1230. StackObject* ptr_of_this_method;
  1231. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1232. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1233. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1234. __intp.Free(ptr_of_this_method);
  1235. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1236. System.Int32 startIndex = ptr_of_this_method->Value;
  1237. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1238. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1239. __intp.Free(ptr_of_this_method);
  1240. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1241. System.String instance_of_this_method;
  1242. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1243. __intp.Free(ptr_of_this_method);
  1244. var result_of_this_method = instance_of_this_method.LastIndexOf(value, startIndex, comparisonType);
  1245. __ret->ObjectType = ObjectTypes.Integer;
  1246. __ret->Value = result_of_this_method;
  1247. return __ret + 1;
  1248. }
  1249. static StackObject* LastIndexOf_47(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, 5);
  1254. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1255. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).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 count = ptr_of_this_method->Value;
  1259. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1260. System.Int32 startIndex = ptr_of_this_method->Value;
  1261. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1262. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1263. __intp.Free(ptr_of_this_method);
  1264. ptr_of_this_method = ILIntepreter.Minus(__esp, 5);
  1265. System.String instance_of_this_method;
  1266. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1267. __intp.Free(ptr_of_this_method);
  1268. var result_of_this_method = instance_of_this_method.LastIndexOf(value, startIndex, count, comparisonType);
  1269. __ret->ObjectType = ObjectTypes.Integer;
  1270. __ret->Value = result_of_this_method;
  1271. return __ret + 1;
  1272. }
  1273. static StackObject* IndexOf_48(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1274. {
  1275. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1276. StackObject* ptr_of_this_method;
  1277. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1278. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1279. System.Char value = (char)ptr_of_this_method->Value;
  1280. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1281. System.String instance_of_this_method;
  1282. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1283. __intp.Free(ptr_of_this_method);
  1284. var result_of_this_method = instance_of_this_method.IndexOf(value);
  1285. __ret->ObjectType = ObjectTypes.Integer;
  1286. __ret->Value = result_of_this_method;
  1287. return __ret + 1;
  1288. }
  1289. static StackObject* IndexOf_49(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1290. {
  1291. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1292. StackObject* ptr_of_this_method;
  1293. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1294. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1295. System.Int32 startIndex = ptr_of_this_method->Value;
  1296. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1297. System.Char value = (char)ptr_of_this_method->Value;
  1298. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1299. System.String instance_of_this_method;
  1300. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1301. __intp.Free(ptr_of_this_method);
  1302. var result_of_this_method = instance_of_this_method.IndexOf(value, startIndex);
  1303. __ret->ObjectType = ObjectTypes.Integer;
  1304. __ret->Value = result_of_this_method;
  1305. return __ret + 1;
  1306. }
  1307. static StackObject* IndexOf_50(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1308. {
  1309. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1310. StackObject* ptr_of_this_method;
  1311. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1312. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1313. System.Int32 count = ptr_of_this_method->Value;
  1314. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1315. System.Int32 startIndex = ptr_of_this_method->Value;
  1316. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1317. System.Char value = (char)ptr_of_this_method->Value;
  1318. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1319. System.String instance_of_this_method;
  1320. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1321. __intp.Free(ptr_of_this_method);
  1322. var result_of_this_method = instance_of_this_method.IndexOf(value, startIndex, count);
  1323. __ret->ObjectType = ObjectTypes.Integer;
  1324. __ret->Value = result_of_this_method;
  1325. return __ret + 1;
  1326. }
  1327. static StackObject* IndexOf_51(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1328. {
  1329. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1330. StackObject* ptr_of_this_method;
  1331. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1332. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1333. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1334. __intp.Free(ptr_of_this_method);
  1335. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1336. System.String instance_of_this_method;
  1337. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1338. __intp.Free(ptr_of_this_method);
  1339. var result_of_this_method = instance_of_this_method.IndexOf(value);
  1340. __ret->ObjectType = ObjectTypes.Integer;
  1341. __ret->Value = result_of_this_method;
  1342. return __ret + 1;
  1343. }
  1344. static StackObject* IndexOf_52(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1345. {
  1346. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1347. StackObject* ptr_of_this_method;
  1348. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1349. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1350. System.Int32 startIndex = ptr_of_this_method->Value;
  1351. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1352. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1353. __intp.Free(ptr_of_this_method);
  1354. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1355. System.String instance_of_this_method;
  1356. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1357. __intp.Free(ptr_of_this_method);
  1358. var result_of_this_method = instance_of_this_method.IndexOf(value, startIndex);
  1359. __ret->ObjectType = ObjectTypes.Integer;
  1360. __ret->Value = result_of_this_method;
  1361. return __ret + 1;
  1362. }
  1363. static StackObject* IndexOf_53(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1364. {
  1365. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1366. StackObject* ptr_of_this_method;
  1367. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1368. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1369. System.Int32 count = ptr_of_this_method->Value;
  1370. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1371. System.Int32 startIndex = ptr_of_this_method->Value;
  1372. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1373. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1374. __intp.Free(ptr_of_this_method);
  1375. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1376. System.String instance_of_this_method;
  1377. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1378. __intp.Free(ptr_of_this_method);
  1379. var result_of_this_method = instance_of_this_method.IndexOf(value, startIndex, count);
  1380. __ret->ObjectType = ObjectTypes.Integer;
  1381. __ret->Value = result_of_this_method;
  1382. return __ret + 1;
  1383. }
  1384. static StackObject* LastIndexOfAny_54(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1385. {
  1386. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1387. StackObject* ptr_of_this_method;
  1388. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1389. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1390. System.Char[] anyOf = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1391. __intp.Free(ptr_of_this_method);
  1392. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1393. System.String instance_of_this_method;
  1394. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1395. __intp.Free(ptr_of_this_method);
  1396. var result_of_this_method = instance_of_this_method.LastIndexOfAny(anyOf);
  1397. __ret->ObjectType = ObjectTypes.Integer;
  1398. __ret->Value = result_of_this_method;
  1399. return __ret + 1;
  1400. }
  1401. static StackObject* LastIndexOfAny_55(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1402. {
  1403. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1404. StackObject* ptr_of_this_method;
  1405. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1406. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1407. System.Int32 startIndex = ptr_of_this_method->Value;
  1408. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1409. System.Char[] anyOf = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1410. __intp.Free(ptr_of_this_method);
  1411. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1412. System.String instance_of_this_method;
  1413. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1414. __intp.Free(ptr_of_this_method);
  1415. var result_of_this_method = instance_of_this_method.LastIndexOfAny(anyOf, startIndex);
  1416. __ret->ObjectType = ObjectTypes.Integer;
  1417. __ret->Value = result_of_this_method;
  1418. return __ret + 1;
  1419. }
  1420. static StackObject* LastIndexOfAny_56(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1421. {
  1422. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1423. StackObject* ptr_of_this_method;
  1424. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1425. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1426. System.Int32 count = ptr_of_this_method->Value;
  1427. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1428. System.Int32 startIndex = ptr_of_this_method->Value;
  1429. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1430. System.Char[] anyOf = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1431. __intp.Free(ptr_of_this_method);
  1432. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1433. System.String instance_of_this_method;
  1434. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1435. __intp.Free(ptr_of_this_method);
  1436. var result_of_this_method = instance_of_this_method.LastIndexOfAny(anyOf, startIndex, count);
  1437. __ret->ObjectType = ObjectTypes.Integer;
  1438. __ret->Value = result_of_this_method;
  1439. return __ret + 1;
  1440. }
  1441. static StackObject* LastIndexOf_57(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1442. {
  1443. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1444. StackObject* ptr_of_this_method;
  1445. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1446. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1447. System.Char value = (char)ptr_of_this_method->Value;
  1448. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1449. System.String instance_of_this_method;
  1450. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1451. __intp.Free(ptr_of_this_method);
  1452. var result_of_this_method = instance_of_this_method.LastIndexOf(value);
  1453. __ret->ObjectType = ObjectTypes.Integer;
  1454. __ret->Value = result_of_this_method;
  1455. return __ret + 1;
  1456. }
  1457. static StackObject* LastIndexOf_58(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1458. {
  1459. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1460. StackObject* ptr_of_this_method;
  1461. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1462. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1463. System.Int32 startIndex = ptr_of_this_method->Value;
  1464. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1465. System.Char value = (char)ptr_of_this_method->Value;
  1466. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1467. System.String instance_of_this_method;
  1468. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1469. __intp.Free(ptr_of_this_method);
  1470. var result_of_this_method = instance_of_this_method.LastIndexOf(value, startIndex);
  1471. __ret->ObjectType = ObjectTypes.Integer;
  1472. __ret->Value = result_of_this_method;
  1473. return __ret + 1;
  1474. }
  1475. static StackObject* LastIndexOf_59(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1476. {
  1477. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1478. StackObject* ptr_of_this_method;
  1479. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1480. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1481. System.Int32 count = ptr_of_this_method->Value;
  1482. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1483. System.Int32 startIndex = ptr_of_this_method->Value;
  1484. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1485. System.Char value = (char)ptr_of_this_method->Value;
  1486. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1487. System.String instance_of_this_method;
  1488. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1489. __intp.Free(ptr_of_this_method);
  1490. var result_of_this_method = instance_of_this_method.LastIndexOf(value, startIndex, count);
  1491. __ret->ObjectType = ObjectTypes.Integer;
  1492. __ret->Value = result_of_this_method;
  1493. return __ret + 1;
  1494. }
  1495. static StackObject* LastIndexOf_60(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1496. {
  1497. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1498. StackObject* ptr_of_this_method;
  1499. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1500. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1501. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1502. __intp.Free(ptr_of_this_method);
  1503. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1504. System.String instance_of_this_method;
  1505. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1506. __intp.Free(ptr_of_this_method);
  1507. var result_of_this_method = instance_of_this_method.LastIndexOf(value);
  1508. __ret->ObjectType = ObjectTypes.Integer;
  1509. __ret->Value = result_of_this_method;
  1510. return __ret + 1;
  1511. }
  1512. static StackObject* LastIndexOf_61(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1513. {
  1514. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1515. StackObject* ptr_of_this_method;
  1516. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1517. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1518. System.Int32 startIndex = ptr_of_this_method->Value;
  1519. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1520. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1521. __intp.Free(ptr_of_this_method);
  1522. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1523. System.String instance_of_this_method;
  1524. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1525. __intp.Free(ptr_of_this_method);
  1526. var result_of_this_method = instance_of_this_method.LastIndexOf(value, startIndex);
  1527. __ret->ObjectType = ObjectTypes.Integer;
  1528. __ret->Value = result_of_this_method;
  1529. return __ret + 1;
  1530. }
  1531. static StackObject* LastIndexOf_62(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1532. {
  1533. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1534. StackObject* ptr_of_this_method;
  1535. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1536. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1537. System.Int32 count = ptr_of_this_method->Value;
  1538. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1539. System.Int32 startIndex = ptr_of_this_method->Value;
  1540. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1541. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1542. __intp.Free(ptr_of_this_method);
  1543. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1544. System.String instance_of_this_method;
  1545. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1546. __intp.Free(ptr_of_this_method);
  1547. var result_of_this_method = instance_of_this_method.LastIndexOf(value, startIndex, count);
  1548. __ret->ObjectType = ObjectTypes.Integer;
  1549. __ret->Value = result_of_this_method;
  1550. return __ret + 1;
  1551. }
  1552. static StackObject* Contains_63(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1553. {
  1554. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1555. StackObject* ptr_of_this_method;
  1556. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1557. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1558. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1559. __intp.Free(ptr_of_this_method);
  1560. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1561. System.String instance_of_this_method;
  1562. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1563. __intp.Free(ptr_of_this_method);
  1564. var result_of_this_method = instance_of_this_method.Contains(value);
  1565. __ret->ObjectType = ObjectTypes.Integer;
  1566. __ret->Value = result_of_this_method ? 1 : 0;
  1567. return __ret + 1;
  1568. }
  1569. static StackObject* IsNullOrEmpty_64(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1570. {
  1571. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1572. StackObject* ptr_of_this_method;
  1573. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1574. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1575. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1576. __intp.Free(ptr_of_this_method);
  1577. var result_of_this_method = System.String.IsNullOrEmpty(value);
  1578. __ret->ObjectType = ObjectTypes.Integer;
  1579. __ret->Value = result_of_this_method ? 1 : 0;
  1580. return __ret + 1;
  1581. }
  1582. static StackObject* Normalize_65(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1583. {
  1584. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1585. StackObject* ptr_of_this_method;
  1586. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1587. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1588. System.String instance_of_this_method;
  1589. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1590. __intp.Free(ptr_of_this_method);
  1591. var result_of_this_method = instance_of_this_method.Normalize();
  1592. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1593. }
  1594. static StackObject* Normalize_66(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1595. {
  1596. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1597. StackObject* ptr_of_this_method;
  1598. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1599. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1600. System.Text.NormalizationForm normalizationForm = (System.Text.NormalizationForm)typeof(System.Text.NormalizationForm).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1601. __intp.Free(ptr_of_this_method);
  1602. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1603. System.String instance_of_this_method;
  1604. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1605. __intp.Free(ptr_of_this_method);
  1606. var result_of_this_method = instance_of_this_method.Normalize(normalizationForm);
  1607. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1608. }
  1609. static StackObject* IsNormalized_67(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1610. {
  1611. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1612. StackObject* ptr_of_this_method;
  1613. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1614. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1615. System.String instance_of_this_method;
  1616. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1617. __intp.Free(ptr_of_this_method);
  1618. var result_of_this_method = instance_of_this_method.IsNormalized();
  1619. __ret->ObjectType = ObjectTypes.Integer;
  1620. __ret->Value = result_of_this_method ? 1 : 0;
  1621. return __ret + 1;
  1622. }
  1623. static StackObject* IsNormalized_68(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1624. {
  1625. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1626. StackObject* ptr_of_this_method;
  1627. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1628. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1629. System.Text.NormalizationForm normalizationForm = (System.Text.NormalizationForm)typeof(System.Text.NormalizationForm).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1630. __intp.Free(ptr_of_this_method);
  1631. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1632. System.String instance_of_this_method;
  1633. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1634. __intp.Free(ptr_of_this_method);
  1635. var result_of_this_method = instance_of_this_method.IsNormalized(normalizationForm);
  1636. __ret->ObjectType = ObjectTypes.Integer;
  1637. __ret->Value = result_of_this_method ? 1 : 0;
  1638. return __ret + 1;
  1639. }
  1640. static StackObject* Remove_69(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1641. {
  1642. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1643. StackObject* ptr_of_this_method;
  1644. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1645. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1646. System.Int32 startIndex = ptr_of_this_method->Value;
  1647. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1648. System.String instance_of_this_method;
  1649. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1650. __intp.Free(ptr_of_this_method);
  1651. var result_of_this_method = instance_of_this_method.Remove(startIndex);
  1652. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1653. }
  1654. static StackObject* PadLeft_70(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1655. {
  1656. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1657. StackObject* ptr_of_this_method;
  1658. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1659. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1660. System.Int32 totalWidth = ptr_of_this_method->Value;
  1661. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1662. System.String instance_of_this_method;
  1663. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1664. __intp.Free(ptr_of_this_method);
  1665. var result_of_this_method = instance_of_this_method.PadLeft(totalWidth);
  1666. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1667. }
  1668. static StackObject* PadLeft_71(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1669. {
  1670. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1671. StackObject* ptr_of_this_method;
  1672. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1673. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1674. System.Char paddingChar = (char)ptr_of_this_method->Value;
  1675. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1676. System.Int32 totalWidth = ptr_of_this_method->Value;
  1677. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1678. System.String instance_of_this_method;
  1679. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1680. __intp.Free(ptr_of_this_method);
  1681. var result_of_this_method = instance_of_this_method.PadLeft(totalWidth, paddingChar);
  1682. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1683. }
  1684. static StackObject* PadRight_72(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1685. {
  1686. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1687. StackObject* ptr_of_this_method;
  1688. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1689. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1690. System.Int32 totalWidth = ptr_of_this_method->Value;
  1691. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1692. System.String instance_of_this_method;
  1693. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1694. __intp.Free(ptr_of_this_method);
  1695. var result_of_this_method = instance_of_this_method.PadRight(totalWidth);
  1696. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1697. }
  1698. static StackObject* PadRight_73(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1699. {
  1700. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1701. StackObject* ptr_of_this_method;
  1702. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1703. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1704. System.Char paddingChar = (char)ptr_of_this_method->Value;
  1705. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1706. System.Int32 totalWidth = ptr_of_this_method->Value;
  1707. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1708. System.String instance_of_this_method;
  1709. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1710. __intp.Free(ptr_of_this_method);
  1711. var result_of_this_method = instance_of_this_method.PadRight(totalWidth, paddingChar);
  1712. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1713. }
  1714. static StackObject* StartsWith_74(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1715. {
  1716. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1717. StackObject* ptr_of_this_method;
  1718. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1719. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1720. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1721. __intp.Free(ptr_of_this_method);
  1722. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1723. System.String instance_of_this_method;
  1724. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1725. __intp.Free(ptr_of_this_method);
  1726. var result_of_this_method = instance_of_this_method.StartsWith(value);
  1727. __ret->ObjectType = ObjectTypes.Integer;
  1728. __ret->Value = result_of_this_method ? 1 : 0;
  1729. return __ret + 1;
  1730. }
  1731. static StackObject* StartsWith_75(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1732. {
  1733. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1734. StackObject* ptr_of_this_method;
  1735. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1736. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1737. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1738. __intp.Free(ptr_of_this_method);
  1739. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1740. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1741. __intp.Free(ptr_of_this_method);
  1742. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1743. System.String instance_of_this_method;
  1744. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1745. __intp.Free(ptr_of_this_method);
  1746. var result_of_this_method = instance_of_this_method.StartsWith(value, comparisonType);
  1747. __ret->ObjectType = ObjectTypes.Integer;
  1748. __ret->Value = result_of_this_method ? 1 : 0;
  1749. return __ret + 1;
  1750. }
  1751. static StackObject* EndsWith_76(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1752. {
  1753. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1754. StackObject* ptr_of_this_method;
  1755. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1756. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1757. System.StringComparison comparisonType = (System.StringComparison)typeof(System.StringComparison).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1758. __intp.Free(ptr_of_this_method);
  1759. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1760. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1761. __intp.Free(ptr_of_this_method);
  1762. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1763. System.String instance_of_this_method;
  1764. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1765. __intp.Free(ptr_of_this_method);
  1766. var result_of_this_method = instance_of_this_method.EndsWith(value, comparisonType);
  1767. __ret->ObjectType = ObjectTypes.Integer;
  1768. __ret->Value = result_of_this_method ? 1 : 0;
  1769. return __ret + 1;
  1770. }
  1771. static StackObject* StartsWith_77(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1772. {
  1773. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1774. StackObject* ptr_of_this_method;
  1775. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1776. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1777. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1778. __intp.Free(ptr_of_this_method);
  1779. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1780. System.Boolean ignoreCase = ptr_of_this_method->Value == 1;
  1781. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1782. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1783. __intp.Free(ptr_of_this_method);
  1784. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1785. System.String instance_of_this_method;
  1786. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1787. __intp.Free(ptr_of_this_method);
  1788. var result_of_this_method = instance_of_this_method.StartsWith(value, ignoreCase, culture);
  1789. __ret->ObjectType = ObjectTypes.Integer;
  1790. __ret->Value = result_of_this_method ? 1 : 0;
  1791. return __ret + 1;
  1792. }
  1793. static StackObject* Replace_78(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1794. {
  1795. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1796. StackObject* ptr_of_this_method;
  1797. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1798. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1799. System.Char newChar = (char)ptr_of_this_method->Value;
  1800. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1801. System.Char oldChar = (char)ptr_of_this_method->Value;
  1802. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1803. System.String instance_of_this_method;
  1804. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1805. __intp.Free(ptr_of_this_method);
  1806. var result_of_this_method = instance_of_this_method.Replace(oldChar, newChar);
  1807. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1808. }
  1809. static StackObject* Replace_79(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1810. {
  1811. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1812. StackObject* ptr_of_this_method;
  1813. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1814. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1815. System.String newValue = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1816. __intp.Free(ptr_of_this_method);
  1817. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1818. System.String oldValue = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1819. __intp.Free(ptr_of_this_method);
  1820. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1821. System.String instance_of_this_method;
  1822. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1823. __intp.Free(ptr_of_this_method);
  1824. var result_of_this_method = instance_of_this_method.Replace(oldValue, newValue);
  1825. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1826. }
  1827. static StackObject* Remove_80(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1828. {
  1829. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1830. StackObject* ptr_of_this_method;
  1831. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1832. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1833. System.Int32 count = ptr_of_this_method->Value;
  1834. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1835. System.Int32 startIndex = ptr_of_this_method->Value;
  1836. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1837. System.String instance_of_this_method;
  1838. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1839. __intp.Free(ptr_of_this_method);
  1840. var result_of_this_method = instance_of_this_method.Remove(startIndex, count);
  1841. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1842. }
  1843. static StackObject* ToLower_81(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1844. {
  1845. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1846. StackObject* ptr_of_this_method;
  1847. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1848. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1849. System.String instance_of_this_method;
  1850. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1851. __intp.Free(ptr_of_this_method);
  1852. var result_of_this_method = instance_of_this_method.ToLower();
  1853. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1854. }
  1855. static StackObject* ToLower_82(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1856. {
  1857. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1858. StackObject* ptr_of_this_method;
  1859. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1860. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1861. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1862. __intp.Free(ptr_of_this_method);
  1863. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1864. System.String instance_of_this_method;
  1865. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1866. __intp.Free(ptr_of_this_method);
  1867. var result_of_this_method = instance_of_this_method.ToLower(culture);
  1868. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1869. }
  1870. static StackObject* ToLowerInvariant_83(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1871. {
  1872. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1873. StackObject* ptr_of_this_method;
  1874. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1875. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1876. System.String instance_of_this_method;
  1877. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1878. __intp.Free(ptr_of_this_method);
  1879. var result_of_this_method = instance_of_this_method.ToLowerInvariant();
  1880. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1881. }
  1882. static StackObject* ToUpper_84(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1883. {
  1884. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1885. StackObject* ptr_of_this_method;
  1886. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1887. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1888. System.String instance_of_this_method;
  1889. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1890. __intp.Free(ptr_of_this_method);
  1891. var result_of_this_method = instance_of_this_method.ToUpper();
  1892. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1893. }
  1894. static StackObject* ToUpper_85(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1895. {
  1896. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1897. StackObject* ptr_of_this_method;
  1898. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1899. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1900. System.Globalization.CultureInfo culture = (System.Globalization.CultureInfo)typeof(System.Globalization.CultureInfo).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1901. __intp.Free(ptr_of_this_method);
  1902. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1903. System.String instance_of_this_method;
  1904. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1905. __intp.Free(ptr_of_this_method);
  1906. var result_of_this_method = instance_of_this_method.ToUpper(culture);
  1907. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1908. }
  1909. static StackObject* ToUpperInvariant_86(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1910. {
  1911. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1912. StackObject* ptr_of_this_method;
  1913. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1914. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1915. System.String instance_of_this_method;
  1916. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1917. __intp.Free(ptr_of_this_method);
  1918. var result_of_this_method = instance_of_this_method.ToUpperInvariant();
  1919. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1920. }
  1921. static StackObject* ToString_87(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1922. {
  1923. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1924. StackObject* ptr_of_this_method;
  1925. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  1926. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1927. System.String instance_of_this_method;
  1928. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1929. __intp.Free(ptr_of_this_method);
  1930. var result_of_this_method = instance_of_this_method.ToString();
  1931. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1932. }
  1933. static StackObject* ToString_88(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1934. {
  1935. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1936. StackObject* ptr_of_this_method;
  1937. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1938. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1939. System.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1940. __intp.Free(ptr_of_this_method);
  1941. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1942. System.String instance_of_this_method;
  1943. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1944. __intp.Free(ptr_of_this_method);
  1945. var result_of_this_method = instance_of_this_method.ToString(provider);
  1946. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1947. }
  1948. static StackObject* Format_89(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1949. {
  1950. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1951. StackObject* ptr_of_this_method;
  1952. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  1953. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1954. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1955. __intp.Free(ptr_of_this_method);
  1956. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1957. System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1958. __intp.Free(ptr_of_this_method);
  1959. var result_of_this_method = System.String.Format(format, arg0);
  1960. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1961. }
  1962. static StackObject* Format_90(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1963. {
  1964. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1965. StackObject* ptr_of_this_method;
  1966. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  1967. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1968. System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1969. __intp.Free(ptr_of_this_method);
  1970. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1971. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1972. __intp.Free(ptr_of_this_method);
  1973. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1974. System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1975. __intp.Free(ptr_of_this_method);
  1976. var result_of_this_method = System.String.Format(format, arg0, arg1);
  1977. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1978. }
  1979. static StackObject* Format_91(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  1980. {
  1981. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  1982. StackObject* ptr_of_this_method;
  1983. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  1984. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  1985. System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1986. __intp.Free(ptr_of_this_method);
  1987. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  1988. System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1989. __intp.Free(ptr_of_this_method);
  1990. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  1991. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1992. __intp.Free(ptr_of_this_method);
  1993. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  1994. System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  1995. __intp.Free(ptr_of_this_method);
  1996. var result_of_this_method = System.String.Format(format, arg0, arg1, arg2);
  1997. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  1998. }
  1999. static StackObject* Format_92(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2000. {
  2001. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2002. StackObject* ptr_of_this_method;
  2003. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2004. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2005. System.Object[] args = (System.Object[])typeof(System.Object[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2006. __intp.Free(ptr_of_this_method);
  2007. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2008. System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2009. __intp.Free(ptr_of_this_method);
  2010. var result_of_this_method = System.String.Format(format, args);
  2011. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2012. }
  2013. static StackObject* Format_93(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2014. {
  2015. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2016. StackObject* ptr_of_this_method;
  2017. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  2018. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2019. System.Object[] args = (System.Object[])typeof(System.Object[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2020. __intp.Free(ptr_of_this_method);
  2021. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2022. System.String format = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2023. __intp.Free(ptr_of_this_method);
  2024. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2025. System.IFormatProvider provider = (System.IFormatProvider)typeof(System.IFormatProvider).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2026. __intp.Free(ptr_of_this_method);
  2027. var result_of_this_method = System.String.Format(provider, format, args);
  2028. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2029. }
  2030. static StackObject* Copy_94(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2031. {
  2032. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2033. StackObject* ptr_of_this_method;
  2034. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2035. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2036. System.String str = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2037. __intp.Free(ptr_of_this_method);
  2038. var result_of_this_method = System.String.Copy(str);
  2039. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2040. }
  2041. static StackObject* Concat_95(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2042. {
  2043. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2044. StackObject* ptr_of_this_method;
  2045. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2046. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2047. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2048. __intp.Free(ptr_of_this_method);
  2049. var result_of_this_method = System.String.Concat(arg0);
  2050. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2051. }
  2052. static StackObject* Concat_96(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2053. {
  2054. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2055. StackObject* ptr_of_this_method;
  2056. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2057. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2058. System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2059. __intp.Free(ptr_of_this_method);
  2060. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2061. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2062. __intp.Free(ptr_of_this_method);
  2063. var result_of_this_method = System.String.Concat(arg0, arg1);
  2064. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2065. }
  2066. static StackObject* Concat_97(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2067. {
  2068. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2069. StackObject* ptr_of_this_method;
  2070. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  2071. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2072. System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2073. __intp.Free(ptr_of_this_method);
  2074. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2075. System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2076. __intp.Free(ptr_of_this_method);
  2077. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2078. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2079. __intp.Free(ptr_of_this_method);
  2080. var result_of_this_method = System.String.Concat(arg0, arg1, arg2);
  2081. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2082. }
  2083. static StackObject* Concat_98(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2084. {
  2085. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2086. StackObject* ptr_of_this_method;
  2087. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  2088. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2089. System.Object arg3 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2090. __intp.Free(ptr_of_this_method);
  2091. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2092. System.Object arg2 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2093. __intp.Free(ptr_of_this_method);
  2094. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2095. System.Object arg1 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2096. __intp.Free(ptr_of_this_method);
  2097. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  2098. System.Object arg0 = (System.Object)typeof(System.Object).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2099. __intp.Free(ptr_of_this_method);
  2100. var result_of_this_method = System.String.Concat(arg0, arg1, arg2, arg3);
  2101. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2102. }
  2103. static StackObject* Concat_99(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2104. {
  2105. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2106. StackObject* ptr_of_this_method;
  2107. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2108. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2109. System.String str1 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2110. __intp.Free(ptr_of_this_method);
  2111. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2112. System.String str0 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2113. __intp.Free(ptr_of_this_method);
  2114. var result_of_this_method = System.String.Concat(str0, str1);
  2115. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2116. }
  2117. static StackObject* Concat_100(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2118. {
  2119. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2120. StackObject* ptr_of_this_method;
  2121. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  2122. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2123. System.String str2 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2124. __intp.Free(ptr_of_this_method);
  2125. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2126. System.String str1 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2127. __intp.Free(ptr_of_this_method);
  2128. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2129. System.String str0 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2130. __intp.Free(ptr_of_this_method);
  2131. var result_of_this_method = System.String.Concat(str0, str1, str2);
  2132. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2133. }
  2134. static StackObject* Concat_101(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2135. {
  2136. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2137. StackObject* ptr_of_this_method;
  2138. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  2139. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2140. System.String str3 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2141. __intp.Free(ptr_of_this_method);
  2142. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2143. System.String str2 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2144. __intp.Free(ptr_of_this_method);
  2145. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2146. System.String str1 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2147. __intp.Free(ptr_of_this_method);
  2148. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  2149. System.String str0 = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2150. __intp.Free(ptr_of_this_method);
  2151. var result_of_this_method = System.String.Concat(str0, str1, str2, str3);
  2152. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2153. }
  2154. static StackObject* Concat_102(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2155. {
  2156. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2157. StackObject* ptr_of_this_method;
  2158. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2159. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2160. System.Object[] args = (System.Object[])typeof(System.Object[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2161. __intp.Free(ptr_of_this_method);
  2162. var result_of_this_method = System.String.Concat(args);
  2163. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2164. }
  2165. static StackObject* Concat_103(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2166. {
  2167. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2168. StackObject* ptr_of_this_method;
  2169. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2170. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2171. System.String[] values = (System.String[])typeof(System.String[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2172. __intp.Free(ptr_of_this_method);
  2173. var result_of_this_method = System.String.Concat(values);
  2174. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2175. }
  2176. static StackObject* Insert_104(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2177. {
  2178. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2179. StackObject* ptr_of_this_method;
  2180. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  2181. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2182. System.String value = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2183. __intp.Free(ptr_of_this_method);
  2184. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2185. System.Int32 startIndex = ptr_of_this_method->Value;
  2186. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2187. System.String instance_of_this_method;
  2188. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2189. __intp.Free(ptr_of_this_method);
  2190. var result_of_this_method = instance_of_this_method.Insert(startIndex, value);
  2191. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2192. }
  2193. static StackObject* Intern_105(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2194. {
  2195. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2196. StackObject* ptr_of_this_method;
  2197. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2198. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2199. System.String str = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2200. __intp.Free(ptr_of_this_method);
  2201. var result_of_this_method = System.String.Intern(str);
  2202. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2203. }
  2204. static StackObject* IsInterned_106(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2205. {
  2206. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2207. StackObject* ptr_of_this_method;
  2208. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2209. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2210. System.String str = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2211. __intp.Free(ptr_of_this_method);
  2212. var result_of_this_method = System.String.IsInterned(str);
  2213. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2214. }
  2215. static StackObject* Join_107(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2216. {
  2217. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2218. StackObject* ptr_of_this_method;
  2219. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2220. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2221. System.String[] value = (System.String[])typeof(System.String[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2222. __intp.Free(ptr_of_this_method);
  2223. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2224. System.String separator = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2225. __intp.Free(ptr_of_this_method);
  2226. var result_of_this_method = System.String.Join(separator, value);
  2227. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2228. }
  2229. static StackObject* Join_108(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2230. {
  2231. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2232. StackObject* ptr_of_this_method;
  2233. StackObject* __ret = ILIntepreter.Minus(__esp, 4);
  2234. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2235. System.Int32 count = ptr_of_this_method->Value;
  2236. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2237. System.Int32 startIndex = ptr_of_this_method->Value;
  2238. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2239. System.String[] value = (System.String[])typeof(System.String[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2240. __intp.Free(ptr_of_this_method);
  2241. ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
  2242. System.String separator = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2243. __intp.Free(ptr_of_this_method);
  2244. var result_of_this_method = System.String.Join(separator, value, startIndex, count);
  2245. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2246. }
  2247. static StackObject* get_Length_109(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2248. {
  2249. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2250. StackObject* ptr_of_this_method;
  2251. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2252. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2253. System.String instance_of_this_method;
  2254. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2255. __intp.Free(ptr_of_this_method);
  2256. var result_of_this_method = instance_of_this_method.Length;
  2257. __ret->ObjectType = ObjectTypes.Integer;
  2258. __ret->Value = result_of_this_method;
  2259. return __ret + 1;
  2260. }
  2261. static StackObject* GetEnumerator_110(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2262. {
  2263. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2264. StackObject* ptr_of_this_method;
  2265. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2266. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2267. System.String instance_of_this_method;
  2268. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2269. __intp.Free(ptr_of_this_method);
  2270. var result_of_this_method = instance_of_this_method.GetEnumerator();
  2271. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2272. }
  2273. static StackObject* GetHashCode_111(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2274. {
  2275. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2276. StackObject* ptr_of_this_method;
  2277. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2278. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2279. System.String instance_of_this_method;
  2280. instance_of_this_method = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2281. __intp.Free(ptr_of_this_method);
  2282. var result_of_this_method = instance_of_this_method.GetHashCode();
  2283. __ret->ObjectType = ObjectTypes.Integer;
  2284. __ret->Value = result_of_this_method;
  2285. return __ret + 1;
  2286. }
  2287. static StackObject* op_Equality_112(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2288. {
  2289. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2290. StackObject* ptr_of_this_method;
  2291. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2292. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2293. System.String b = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2294. __intp.Free(ptr_of_this_method);
  2295. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2296. System.String a = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2297. __intp.Free(ptr_of_this_method);
  2298. var result_of_this_method = a == b;
  2299. __ret->ObjectType = ObjectTypes.Integer;
  2300. __ret->Value = result_of_this_method ? 1 : 0;
  2301. return __ret + 1;
  2302. }
  2303. static StackObject* op_Inequality_113(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2304. {
  2305. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2306. StackObject* ptr_of_this_method;
  2307. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2308. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2309. System.String b = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2310. __intp.Free(ptr_of_this_method);
  2311. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2312. System.String a = (System.String)typeof(System.String).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2313. __intp.Free(ptr_of_this_method);
  2314. var result_of_this_method = a != b;
  2315. __ret->ObjectType = ObjectTypes.Integer;
  2316. __ret->Value = result_of_this_method ? 1 : 0;
  2317. return __ret + 1;
  2318. }
  2319. static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2320. {
  2321. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2322. StackObject* ptr_of_this_method;
  2323. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  2324. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2325. System.Int32 length = ptr_of_this_method->Value;
  2326. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2327. System.Int32 startIndex = ptr_of_this_method->Value;
  2328. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  2329. System.Char[] value = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2330. __intp.Free(ptr_of_this_method);
  2331. var result_of_this_method = new System.String(value, startIndex, length);
  2332. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2333. }
  2334. static StackObject* Ctor_1(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2335. {
  2336. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2337. StackObject* ptr_of_this_method;
  2338. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  2339. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2340. System.Char[] value = (System.Char[])typeof(System.Char[]).CheckCLRTypes(__domain, StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  2341. __intp.Free(ptr_of_this_method);
  2342. var result_of_this_method = new System.String(value);
  2343. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2344. }
  2345. static StackObject* Ctor_2(ILIntepreter __intp, StackObject* __esp, List<object> __mStack, CLRMethod __method, bool isNewObj)
  2346. {
  2347. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  2348. StackObject* ptr_of_this_method;
  2349. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  2350. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  2351. System.Int32 count = ptr_of_this_method->Value;
  2352. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  2353. System.Char c = (char)ptr_of_this_method->Value;
  2354. var result_of_this_method = new System.String(c, count);
  2355. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  2356. }
  2357. }
  2358. }