System.Core.cpp 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223
  1. #include "pch-cpp.hpp"
  2. struct InterfaceActionInvoker0
  3. {
  4. typedef void (*Action)(void*, const RuntimeMethod*);
  5. static inline void Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
  6. {
  7. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  8. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  9. }
  10. };
  11. template <typename R>
  12. struct InterfaceFuncInvoker0
  13. {
  14. typedef R (*Func)(void*, const RuntimeMethod*);
  15. static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
  16. {
  17. const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
  18. return ((Func)invokeData.methodPtr)(obj, invokeData.method);
  19. }
  20. };
  21. struct IEnumerable_1_tAB7E6AAC5334AFEE42DB96DB8C245338F041A2DB;
  22. struct IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2;
  23. struct IEnumerable_1_t8C657FE14F31902C20E001F3F10A922428229A2F;
  24. struct IEnumerator_1_tC485938B2065194F37223DC3FA35818439FD0233;
  25. struct IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452;
  26. struct IEnumerator_1_t96C69FC6D3BFF990C18CFAF5A304D4D336E5DD32;
  27. struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
  28. struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
  29. struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129;
  30. struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F;
  31. struct Exception_t;
  32. struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
  33. struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
  34. struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB;
  35. struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
  36. struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
  37. struct String_t;
  38. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  39. struct U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D;
  40. IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var;
  41. IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var;
  42. IL2CPP_EXTERN_C RuntimeClass* IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var;
  43. IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_t8C657FE14F31902C20E001F3F10A922428229A2F_il2cpp_TypeInfo_var;
  44. IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_tAB7E6AAC5334AFEE42DB96DB8C245338F041A2DB_il2cpp_TypeInfo_var;
  45. IL2CPP_EXTERN_C RuntimeClass* IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var;
  46. IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_t96C69FC6D3BFF990C18CFAF5A304D4D336E5DD32_il2cpp_TypeInfo_var;
  47. IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_tC485938B2065194F37223DC3FA35818439FD0233_il2cpp_TypeInfo_var;
  48. IL2CPP_EXTERN_C RuntimeClass* IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var;
  49. IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var;
  50. IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var;
  51. IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
  52. IL2CPP_EXTERN_C RuntimeClass* U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D_il2cpp_TypeInfo_var;
  53. IL2CPP_EXTERN_C String_t* _stringLiteral07624473F417C06C74D59C64840A1532FCE2C626;
  54. IL2CPP_EXTERN_C String_t* _stringLiteral66F9618FDA792CAB23AF2D7FFB50AB2D3E393DC5;
  55. IL2CPP_EXTERN_C String_t* _stringLiteralB7E78BE66617B9AE36B6A6E170E3545EE25C1D11;
  56. IL2CPP_EXTERN_C String_t* _stringLiteralE68F97D6FE7BDE1580C3707638EA581299D01EDE;
  57. IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Max_m87C2E7DC5641566E63956E863E09D6590BFCB025_RuntimeMethod_var;
  58. IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Max_mF33848068459BE74BF534D16F6B678BB677EE704_RuntimeMethod_var;
  59. IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Min_m3D3C3E5CE25D27D94448CA832FB5AB9F702D5443_RuntimeMethod_var;
  60. IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Range_m4FB9BBBA09BEF5177C13506DB385CF4467C15FD8_RuntimeMethod_var;
  61. IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Sum_m0804E8F6958EBEBCC478DE60FC6053EAFDAF49D5_RuntimeMethod_var;
  62. IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Sum_mB4B29B0D6E567EB810D0B439945F9BC6ACC01284_RuntimeMethod_var;
  63. struct Exception_t_marshaled_com;
  64. struct Exception_t_marshaled_pinvoke;
  65. IL2CPP_EXTERN_C_BEGIN
  66. IL2CPP_EXTERN_C_END
  67. #ifdef __clang__
  68. #pragma clang diagnostic push
  69. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  70. #pragma clang diagnostic ignored "-Wunused-variable"
  71. #endif
  72. struct U3CModuleU3E_tA3942657997767549ED3B944EB77AFA183BBF4B9
  73. {
  74. };
  75. struct Enumerable_t372195206D92B3F390693F9449282C31FD564C09 : public RuntimeObject
  76. {
  77. };
  78. struct Error_tCE0C9D928B2D2CC69DDEC1A0ECF05131938959DB : public RuntimeObject
  79. {
  80. };
  81. struct String_t : public RuntimeObject
  82. {
  83. int32_t ____stringLength;
  84. Il2CppChar ____firstChar;
  85. };
  86. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  87. {
  88. };
  89. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  90. {
  91. };
  92. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  93. {
  94. };
  95. struct U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D : public RuntimeObject
  96. {
  97. int32_t ___U3CU3E1__state;
  98. int32_t ___U3CU3E2__current;
  99. int32_t ___U3CU3El__initialThreadId;
  100. int32_t ___start;
  101. int32_t ___U3CU3E3__start;
  102. int32_t ___count;
  103. int32_t ___U3CU3E3__count;
  104. int32_t ___U3CiU3E5__2;
  105. };
  106. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  107. {
  108. bool ___m_value;
  109. };
  110. struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
  111. {
  112. double ___m_value;
  113. };
  114. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  115. {
  116. int32_t ___m_value;
  117. };
  118. struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
  119. {
  120. int64_t ___m_value;
  121. };
  122. struct IntPtr_t
  123. {
  124. void* ___m_value;
  125. };
  126. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  127. {
  128. union
  129. {
  130. struct
  131. {
  132. };
  133. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  134. };
  135. };
  136. struct Exception_t : public RuntimeObject
  137. {
  138. String_t* ____className;
  139. String_t* ____message;
  140. RuntimeObject* ____data;
  141. Exception_t* ____innerException;
  142. String_t* ____helpURL;
  143. RuntimeObject* ____stackTrace;
  144. String_t* ____stackTraceString;
  145. String_t* ____remoteStackTraceString;
  146. int32_t ____remoteStackIndex;
  147. RuntimeObject* ____dynamicMethods;
  148. int32_t ____HResult;
  149. String_t* ____source;
  150. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager;
  151. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces;
  152. IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips;
  153. int32_t ___caught_in_unmanaged;
  154. };
  155. struct Exception_t_marshaled_pinvoke
  156. {
  157. char* ____className;
  158. char* ____message;
  159. RuntimeObject* ____data;
  160. Exception_t_marshaled_pinvoke* ____innerException;
  161. char* ____helpURL;
  162. Il2CppIUnknown* ____stackTrace;
  163. char* ____stackTraceString;
  164. char* ____remoteStackTraceString;
  165. int32_t ____remoteStackIndex;
  166. Il2CppIUnknown* ____dynamicMethods;
  167. int32_t ____HResult;
  168. char* ____source;
  169. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager;
  170. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces;
  171. Il2CppSafeArray* ___native_trace_ips;
  172. int32_t ___caught_in_unmanaged;
  173. };
  174. struct Exception_t_marshaled_com
  175. {
  176. Il2CppChar* ____className;
  177. Il2CppChar* ____message;
  178. RuntimeObject* ____data;
  179. Exception_t_marshaled_com* ____innerException;
  180. Il2CppChar* ____helpURL;
  181. Il2CppIUnknown* ____stackTrace;
  182. Il2CppChar* ____stackTraceString;
  183. Il2CppChar* ____remoteStackTraceString;
  184. int32_t ____remoteStackIndex;
  185. Il2CppIUnknown* ____dynamicMethods;
  186. int32_t ____HResult;
  187. Il2CppChar* ____source;
  188. SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager;
  189. StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces;
  190. Il2CppSafeArray* ___native_trace_ips;
  191. int32_t ___caught_in_unmanaged;
  192. };
  193. struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
  194. {
  195. };
  196. struct ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263 : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  197. {
  198. String_t* ____paramName;
  199. };
  200. struct InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  201. {
  202. };
  203. struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
  204. {
  205. };
  206. struct ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129 : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
  207. {
  208. };
  209. struct ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F : public ArgumentException_tAD90411542A20A9C72D5CDA3A84181D8B947A263
  210. {
  211. RuntimeObject* ____actualValue;
  212. };
  213. struct String_t_StaticFields
  214. {
  215. String_t* ___Empty;
  216. };
  217. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  218. {
  219. String_t* ___TrueString;
  220. String_t* ___FalseString;
  221. };
  222. struct Exception_t_StaticFields
  223. {
  224. RuntimeObject* ___s_EDILock;
  225. };
  226. #ifdef __clang__
  227. #pragma clang diagnostic pop
  228. #endif
  229. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
  230. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* __this, String_t* ___0_paramName, const RuntimeMethod* method) ;
  231. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162 (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* __this, String_t* ___0_message, const RuntimeMethod* method) ;
  232. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* __this, const RuntimeMethod* method) ;
  233. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_ArgumentOutOfRange_m7B22062E664153625DA782374A7CB9CBD3B2C01D (String_t* ___0_s, const RuntimeMethod* method) ;
  234. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_RangeIterator_mAD9E9F85AF2156C74E78C2EA554F0F32EA0E91C9 (int32_t ___0_start, int32_t ___1_count, const RuntimeMethod* method) ;
  235. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRangeIteratorU3Ed__115__ctor_m28402F68F863084357F710F6546910CC4417800C (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method) ;
  236. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE (String_t* ___0_s, const RuntimeMethod* method) ;
  237. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_NoElements_m49C996124733B026EA2FDBE9382AAD136CA22362 (const RuntimeMethod* method) ;
  238. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
  239. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF (const RuntimeMethod* method) ;
  240. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CRangeIteratorU3Ed__115_System_Collections_Generic_IEnumerableU3CSystem_Int32U3E_GetEnumerator_m712C614B8E578CF43876E5CE889386161DB2CAC9 (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method) ;
  241. #ifdef __clang__
  242. #pragma clang diagnostic push
  243. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  244. #pragma clang diagnostic ignored "-Wunused-variable"
  245. #endif
  246. #ifdef __clang__
  247. #pragma clang diagnostic pop
  248. #endif
  249. #ifdef __clang__
  250. #pragma clang diagnostic push
  251. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  252. #pragma clang diagnostic ignored "-Wunused-variable"
  253. #endif
  254. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE (String_t* ___0_s, const RuntimeMethod* method)
  255. {
  256. static bool s_Il2CppMethodInitialized;
  257. if (!s_Il2CppMethodInitialized)
  258. {
  259. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var);
  260. s_Il2CppMethodInitialized = true;
  261. }
  262. {
  263. String_t* L_0 = ___0_s;
  264. ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* L_1 = (ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129*)il2cpp_codegen_object_new(ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129_il2cpp_TypeInfo_var);
  265. ArgumentNullException__ctor_m444AE141157E333844FC1A9500224C2F9FD24F4B(L_1, L_0, NULL);
  266. return L_1;
  267. }
  268. }
  269. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_ArgumentOutOfRange_m7B22062E664153625DA782374A7CB9CBD3B2C01D (String_t* ___0_s, const RuntimeMethod* method)
  270. {
  271. static bool s_Il2CppMethodInitialized;
  272. if (!s_Il2CppMethodInitialized)
  273. {
  274. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var);
  275. s_Il2CppMethodInitialized = true;
  276. }
  277. {
  278. String_t* L_0 = ___0_s;
  279. ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F* L_1 = (ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F*)il2cpp_codegen_object_new(ArgumentOutOfRangeException_tEA2822DAF62B10EEED00E0E3A341D4BAF78CF85F_il2cpp_TypeInfo_var);
  280. ArgumentOutOfRangeException__ctor_mBC1D5DEEA1BA41DE77228CB27D6BAFEB6DCCBF4A(L_1, L_0, NULL);
  281. return L_1;
  282. }
  283. }
  284. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_NoElements_m49C996124733B026EA2FDBE9382AAD136CA22362 (const RuntimeMethod* method)
  285. {
  286. static bool s_Il2CppMethodInitialized;
  287. if (!s_Il2CppMethodInitialized)
  288. {
  289. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var);
  290. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB7E78BE66617B9AE36B6A6E170E3545EE25C1D11);
  291. s_Il2CppMethodInitialized = true;
  292. }
  293. {
  294. InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_0 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var);
  295. InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_0, _stringLiteralB7E78BE66617B9AE36B6A6E170E3545EE25C1D11, NULL);
  296. return L_0;
  297. }
  298. }
  299. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_NoMatch_mD5BC0E5ED29A185D01A63F3C17EA2C29E32C2BE4 (const RuntimeMethod* method)
  300. {
  301. static bool s_Il2CppMethodInitialized;
  302. if (!s_Il2CppMethodInitialized)
  303. {
  304. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var);
  305. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE68F97D6FE7BDE1580C3707638EA581299D01EDE);
  306. s_Il2CppMethodInitialized = true;
  307. }
  308. {
  309. InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB* L_0 = (InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB*)il2cpp_codegen_object_new(InvalidOperationException_t5DDE4D49B7405FAAB1E4576F4715A42A3FAD4BAB_il2cpp_TypeInfo_var);
  310. InvalidOperationException__ctor_mE4CB6F4712AB6D99A2358FBAE2E052B3EE976162(L_0, _stringLiteralE68F97D6FE7BDE1580C3707638EA581299D01EDE, NULL);
  311. return L_0;
  312. }
  313. }
  314. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Exception_t* Error_NotSupported_m7CFF74111E56246CAEA7BFD231BA01F7B097377A (const RuntimeMethod* method)
  315. {
  316. static bool s_Il2CppMethodInitialized;
  317. if (!s_Il2CppMethodInitialized)
  318. {
  319. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var);
  320. s_Il2CppMethodInitialized = true;
  321. }
  322. {
  323. NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var);
  324. NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
  325. return L_0;
  326. }
  327. }
  328. #ifdef __clang__
  329. #pragma clang diagnostic pop
  330. #endif
  331. #ifdef __clang__
  332. #pragma clang diagnostic push
  333. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  334. #pragma clang diagnostic ignored "-Wunused-variable"
  335. #endif
  336. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_Range_m4FB9BBBA09BEF5177C13506DB385CF4467C15FD8 (int32_t ___0_start, int32_t ___1_count, const RuntimeMethod* method)
  337. {
  338. int64_t V_0 = 0;
  339. {
  340. int32_t L_0 = ___0_start;
  341. int32_t L_1 = ___1_count;
  342. V_0 = ((int64_t)il2cpp_codegen_subtract(((int64_t)il2cpp_codegen_add(((int64_t)L_0), ((int64_t)L_1))), ((int64_t)1)));
  343. int32_t L_2 = ___1_count;
  344. if ((((int32_t)L_2) < ((int32_t)0)))
  345. {
  346. goto IL_0016;
  347. }
  348. }
  349. {
  350. int64_t L_3 = V_0;
  351. if ((((int64_t)L_3) <= ((int64_t)((int64_t)((int32_t)2147483647LL)))))
  352. {
  353. goto IL_0021;
  354. }
  355. }
  356. IL_0016:
  357. {
  358. Exception_t* L_4;
  359. L_4 = Error_ArgumentOutOfRange_m7B22062E664153625DA782374A7CB9CBD3B2C01D(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral07624473F417C06C74D59C64840A1532FCE2C626)), NULL);
  360. IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Range_m4FB9BBBA09BEF5177C13506DB385CF4467C15FD8_RuntimeMethod_var)));
  361. }
  362. IL_0021:
  363. {
  364. int32_t L_5 = ___0_start;
  365. int32_t L_6 = ___1_count;
  366. RuntimeObject* L_7;
  367. L_7 = Enumerable_RangeIterator_mAD9E9F85AF2156C74E78C2EA554F0F32EA0E91C9(L_5, L_6, NULL);
  368. return L_7;
  369. }
  370. }
  371. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_RangeIterator_mAD9E9F85AF2156C74E78C2EA554F0F32EA0E91C9 (int32_t ___0_start, int32_t ___1_count, const RuntimeMethod* method)
  372. {
  373. static bool s_Il2CppMethodInitialized;
  374. if (!s_Il2CppMethodInitialized)
  375. {
  376. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D_il2cpp_TypeInfo_var);
  377. s_Il2CppMethodInitialized = true;
  378. }
  379. {
  380. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_0 = (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D*)il2cpp_codegen_object_new(U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D_il2cpp_TypeInfo_var);
  381. U3CRangeIteratorU3Ed__115__ctor_m28402F68F863084357F710F6546910CC4417800C(L_0, ((int32_t)-2), NULL);
  382. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_1 = L_0;
  383. int32_t L_2 = ___0_start;
  384. NullCheck(L_1);
  385. L_1->___U3CU3E3__start = L_2;
  386. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_3 = L_1;
  387. int32_t L_4 = ___1_count;
  388. NullCheck(L_3);
  389. L_3->___U3CU3E3__count = L_4;
  390. return L_3;
  391. }
  392. }
  393. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Enumerable_Sum_m0804E8F6958EBEBCC478DE60FC6053EAFDAF49D5 (RuntimeObject* ___0_source, const RuntimeMethod* method)
  394. {
  395. static bool s_Il2CppMethodInitialized;
  396. if (!s_Il2CppMethodInitialized)
  397. {
  398. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_Sum_m0804E8F6958EBEBCC478DE60FC6053EAFDAF49D5_RuntimeMethod_var);
  399. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  400. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var);
  401. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var);
  402. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
  403. s_Il2CppMethodInitialized = true;
  404. }
  405. int32_t V_0 = 0;
  406. RuntimeObject* V_1 = NULL;
  407. int32_t V_2 = 0;
  408. {
  409. RuntimeObject* L_0 = ___0_source;
  410. if (L_0)
  411. {
  412. goto IL_000e;
  413. }
  414. }
  415. {
  416. Exception_t* L_1;
  417. L_1 = Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral66F9618FDA792CAB23AF2D7FFB50AB2D3E393DC5)), NULL);
  418. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Sum_m0804E8F6958EBEBCC478DE60FC6053EAFDAF49D5_RuntimeMethod_var)));
  419. }
  420. IL_000e:
  421. {
  422. V_0 = 0;
  423. RuntimeObject* L_2 = ___0_source;
  424. NullCheck(L_2);
  425. RuntimeObject* L_3;
  426. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0, IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var, L_2);
  427. V_1 = L_3;
  428. }
  429. {
  430. auto __finallyBlock = il2cpp::utils::Finally([&]
  431. {
  432. FINALLY_002e:
  433. {
  434. {
  435. RuntimeObject* L_4 = V_1;
  436. if (!L_4)
  437. {
  438. goto IL_0037;
  439. }
  440. }
  441. {
  442. RuntimeObject* L_5 = V_1;
  443. NullCheck(L_5);
  444. InterfaceActionInvoker0::Invoke(0, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_5);
  445. }
  446. IL_0037:
  447. {
  448. return;
  449. }
  450. }
  451. });
  452. try
  453. {
  454. {
  455. goto IL_0024_1;
  456. }
  457. IL_0019_1:
  458. {
  459. RuntimeObject* L_6 = V_1;
  460. NullCheck(L_6);
  461. int32_t L_7;
  462. L_7 = InterfaceFuncInvoker0< int32_t >::Invoke(0, IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var, L_6);
  463. V_2 = L_7;
  464. int32_t L_8 = V_0;
  465. int32_t L_9 = V_2;
  466. if (((int64_t)L_8 + (int64_t)L_9 < (int64_t)kIl2CppInt32Min) || ((int64_t)L_8 + (int64_t)L_9 > (int64_t)kIl2CppInt32Max))
  467. IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), Enumerable_Sum_m0804E8F6958EBEBCC478DE60FC6053EAFDAF49D5_RuntimeMethod_var);
  468. V_0 = ((int32_t)il2cpp_codegen_add(L_8, L_9));
  469. }
  470. IL_0024_1:
  471. {
  472. RuntimeObject* L_10 = V_1;
  473. NullCheck(L_10);
  474. bool L_11;
  475. L_11 = InterfaceFuncInvoker0< bool >::Invoke(0, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_10);
  476. if (L_11)
  477. {
  478. goto IL_0019_1;
  479. }
  480. }
  481. {
  482. goto IL_0038;
  483. }
  484. }
  485. catch(Il2CppExceptionWrapper& e)
  486. {
  487. __finallyBlock.StoreException(e.ex);
  488. }
  489. }
  490. IL_0038:
  491. {
  492. int32_t L_12 = V_0;
  493. return L_12;
  494. }
  495. }
  496. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double Enumerable_Sum_mB4B29B0D6E567EB810D0B439945F9BC6ACC01284 (RuntimeObject* ___0_source, const RuntimeMethod* method)
  497. {
  498. static bool s_Il2CppMethodInitialized;
  499. if (!s_Il2CppMethodInitialized)
  500. {
  501. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  502. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_tAB7E6AAC5334AFEE42DB96DB8C245338F041A2DB_il2cpp_TypeInfo_var);
  503. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_tC485938B2065194F37223DC3FA35818439FD0233_il2cpp_TypeInfo_var);
  504. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
  505. s_Il2CppMethodInitialized = true;
  506. }
  507. double V_0 = 0.0;
  508. RuntimeObject* V_1 = NULL;
  509. double V_2 = 0.0;
  510. {
  511. RuntimeObject* L_0 = ___0_source;
  512. if (L_0)
  513. {
  514. goto IL_000e;
  515. }
  516. }
  517. {
  518. Exception_t* L_1;
  519. L_1 = Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral66F9618FDA792CAB23AF2D7FFB50AB2D3E393DC5)), NULL);
  520. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Sum_mB4B29B0D6E567EB810D0B439945F9BC6ACC01284_RuntimeMethod_var)));
  521. }
  522. IL_000e:
  523. {
  524. V_0 = (0.0);
  525. RuntimeObject* L_2 = ___0_source;
  526. NullCheck(L_2);
  527. RuntimeObject* L_3;
  528. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0, IEnumerable_1_tAB7E6AAC5334AFEE42DB96DB8C245338F041A2DB_il2cpp_TypeInfo_var, L_2);
  529. V_1 = L_3;
  530. }
  531. {
  532. auto __finallyBlock = il2cpp::utils::Finally([&]
  533. {
  534. FINALLY_0036:
  535. {
  536. {
  537. RuntimeObject* L_4 = V_1;
  538. if (!L_4)
  539. {
  540. goto IL_003f;
  541. }
  542. }
  543. {
  544. RuntimeObject* L_5 = V_1;
  545. NullCheck(L_5);
  546. InterfaceActionInvoker0::Invoke(0, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_5);
  547. }
  548. IL_003f:
  549. {
  550. return;
  551. }
  552. }
  553. });
  554. try
  555. {
  556. {
  557. goto IL_002c_1;
  558. }
  559. IL_0021_1:
  560. {
  561. RuntimeObject* L_6 = V_1;
  562. NullCheck(L_6);
  563. double L_7;
  564. L_7 = InterfaceFuncInvoker0< double >::Invoke(0, IEnumerator_1_tC485938B2065194F37223DC3FA35818439FD0233_il2cpp_TypeInfo_var, L_6);
  565. V_2 = L_7;
  566. double L_8 = V_0;
  567. double L_9 = V_2;
  568. V_0 = ((double)il2cpp_codegen_add(L_8, L_9));
  569. }
  570. IL_002c_1:
  571. {
  572. RuntimeObject* L_10 = V_1;
  573. NullCheck(L_10);
  574. bool L_11;
  575. L_11 = InterfaceFuncInvoker0< bool >::Invoke(0, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_10);
  576. if (L_11)
  577. {
  578. goto IL_0021_1;
  579. }
  580. }
  581. {
  582. goto IL_0040;
  583. }
  584. }
  585. catch(Il2CppExceptionWrapper& e)
  586. {
  587. __finallyBlock.StoreException(e.ex);
  588. }
  589. }
  590. IL_0040:
  591. {
  592. double L_12 = V_0;
  593. return L_12;
  594. }
  595. }
  596. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Enumerable_Min_m3D3C3E5CE25D27D94448CA832FB5AB9F702D5443 (RuntimeObject* ___0_source, const RuntimeMethod* method)
  597. {
  598. static bool s_Il2CppMethodInitialized;
  599. if (!s_Il2CppMethodInitialized)
  600. {
  601. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  602. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var);
  603. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var);
  604. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
  605. s_Il2CppMethodInitialized = true;
  606. }
  607. int32_t V_0 = 0;
  608. bool V_1 = false;
  609. RuntimeObject* V_2 = NULL;
  610. int32_t V_3 = 0;
  611. {
  612. RuntimeObject* L_0 = ___0_source;
  613. if (L_0)
  614. {
  615. goto IL_000e;
  616. }
  617. }
  618. {
  619. Exception_t* L_1;
  620. L_1 = Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral66F9618FDA792CAB23AF2D7FFB50AB2D3E393DC5)), NULL);
  621. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Min_m3D3C3E5CE25D27D94448CA832FB5AB9F702D5443_RuntimeMethod_var)));
  622. }
  623. IL_000e:
  624. {
  625. V_0 = 0;
  626. V_1 = (bool)0;
  627. RuntimeObject* L_2 = ___0_source;
  628. NullCheck(L_2);
  629. RuntimeObject* L_3;
  630. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0, IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var, L_2);
  631. V_2 = L_3;
  632. }
  633. {
  634. auto __finallyBlock = il2cpp::utils::Finally([&]
  635. {
  636. FINALLY_003b:
  637. {
  638. {
  639. RuntimeObject* L_4 = V_2;
  640. if (!L_4)
  641. {
  642. goto IL_0044;
  643. }
  644. }
  645. {
  646. RuntimeObject* L_5 = V_2;
  647. NullCheck(L_5);
  648. InterfaceActionInvoker0::Invoke(0, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_5);
  649. }
  650. IL_0044:
  651. {
  652. return;
  653. }
  654. }
  655. });
  656. try
  657. {
  658. {
  659. goto IL_0031_1;
  660. }
  661. IL_001b_1:
  662. {
  663. RuntimeObject* L_6 = V_2;
  664. NullCheck(L_6);
  665. int32_t L_7;
  666. L_7 = InterfaceFuncInvoker0< int32_t >::Invoke(0, IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var, L_6);
  667. V_3 = L_7;
  668. bool L_8 = V_1;
  669. if (!L_8)
  670. {
  671. goto IL_002d_1;
  672. }
  673. }
  674. {
  675. int32_t L_9 = V_3;
  676. int32_t L_10 = V_0;
  677. if ((((int32_t)L_9) >= ((int32_t)L_10)))
  678. {
  679. goto IL_0031_1;
  680. }
  681. }
  682. {
  683. int32_t L_11 = V_3;
  684. V_0 = L_11;
  685. goto IL_0031_1;
  686. }
  687. IL_002d_1:
  688. {
  689. int32_t L_12 = V_3;
  690. V_0 = L_12;
  691. V_1 = (bool)1;
  692. }
  693. IL_0031_1:
  694. {
  695. RuntimeObject* L_13 = V_2;
  696. NullCheck(L_13);
  697. bool L_14;
  698. L_14 = InterfaceFuncInvoker0< bool >::Invoke(0, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_13);
  699. if (L_14)
  700. {
  701. goto IL_001b_1;
  702. }
  703. }
  704. {
  705. goto IL_0045;
  706. }
  707. }
  708. catch(Il2CppExceptionWrapper& e)
  709. {
  710. __finallyBlock.StoreException(e.ex);
  711. }
  712. }
  713. IL_0045:
  714. {
  715. bool L_15 = V_1;
  716. if (!L_15)
  717. {
  718. goto IL_004a;
  719. }
  720. }
  721. {
  722. int32_t L_16 = V_0;
  723. return L_16;
  724. }
  725. IL_004a:
  726. {
  727. Exception_t* L_17;
  728. L_17 = Error_NoElements_m49C996124733B026EA2FDBE9382AAD136CA22362(NULL);
  729. IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Min_m3D3C3E5CE25D27D94448CA832FB5AB9F702D5443_RuntimeMethod_var)));
  730. }
  731. }
  732. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Enumerable_Max_mF33848068459BE74BF534D16F6B678BB677EE704 (RuntimeObject* ___0_source, const RuntimeMethod* method)
  733. {
  734. static bool s_Il2CppMethodInitialized;
  735. if (!s_Il2CppMethodInitialized)
  736. {
  737. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  738. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var);
  739. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var);
  740. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
  741. s_Il2CppMethodInitialized = true;
  742. }
  743. int32_t V_0 = 0;
  744. bool V_1 = false;
  745. RuntimeObject* V_2 = NULL;
  746. int32_t V_3 = 0;
  747. {
  748. RuntimeObject* L_0 = ___0_source;
  749. if (L_0)
  750. {
  751. goto IL_000e;
  752. }
  753. }
  754. {
  755. Exception_t* L_1;
  756. L_1 = Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral66F9618FDA792CAB23AF2D7FFB50AB2D3E393DC5)), NULL);
  757. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Max_mF33848068459BE74BF534D16F6B678BB677EE704_RuntimeMethod_var)));
  758. }
  759. IL_000e:
  760. {
  761. V_0 = 0;
  762. V_1 = (bool)0;
  763. RuntimeObject* L_2 = ___0_source;
  764. NullCheck(L_2);
  765. RuntimeObject* L_3;
  766. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0, IEnumerable_1_tCE758D940790D6D0D56B457E522C195F8C413AF2_il2cpp_TypeInfo_var, L_2);
  767. V_2 = L_3;
  768. }
  769. {
  770. auto __finallyBlock = il2cpp::utils::Finally([&]
  771. {
  772. FINALLY_003b:
  773. {
  774. {
  775. RuntimeObject* L_4 = V_2;
  776. if (!L_4)
  777. {
  778. goto IL_0044;
  779. }
  780. }
  781. {
  782. RuntimeObject* L_5 = V_2;
  783. NullCheck(L_5);
  784. InterfaceActionInvoker0::Invoke(0, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_5);
  785. }
  786. IL_0044:
  787. {
  788. return;
  789. }
  790. }
  791. });
  792. try
  793. {
  794. {
  795. goto IL_0031_1;
  796. }
  797. IL_001b_1:
  798. {
  799. RuntimeObject* L_6 = V_2;
  800. NullCheck(L_6);
  801. int32_t L_7;
  802. L_7 = InterfaceFuncInvoker0< int32_t >::Invoke(0, IEnumerator_1_tD6A90A7446DA8E6CF865EDFBBF18C1200BB6D452_il2cpp_TypeInfo_var, L_6);
  803. V_3 = L_7;
  804. bool L_8 = V_1;
  805. if (!L_8)
  806. {
  807. goto IL_002d_1;
  808. }
  809. }
  810. {
  811. int32_t L_9 = V_3;
  812. int32_t L_10 = V_0;
  813. if ((((int32_t)L_9) <= ((int32_t)L_10)))
  814. {
  815. goto IL_0031_1;
  816. }
  817. }
  818. {
  819. int32_t L_11 = V_3;
  820. V_0 = L_11;
  821. goto IL_0031_1;
  822. }
  823. IL_002d_1:
  824. {
  825. int32_t L_12 = V_3;
  826. V_0 = L_12;
  827. V_1 = (bool)1;
  828. }
  829. IL_0031_1:
  830. {
  831. RuntimeObject* L_13 = V_2;
  832. NullCheck(L_13);
  833. bool L_14;
  834. L_14 = InterfaceFuncInvoker0< bool >::Invoke(0, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_13);
  835. if (L_14)
  836. {
  837. goto IL_001b_1;
  838. }
  839. }
  840. {
  841. goto IL_0045;
  842. }
  843. }
  844. catch(Il2CppExceptionWrapper& e)
  845. {
  846. __finallyBlock.StoreException(e.ex);
  847. }
  848. }
  849. IL_0045:
  850. {
  851. bool L_15 = V_1;
  852. if (!L_15)
  853. {
  854. goto IL_004a;
  855. }
  856. }
  857. {
  858. int32_t L_16 = V_0;
  859. return L_16;
  860. }
  861. IL_004a:
  862. {
  863. Exception_t* L_17;
  864. L_17 = Error_NoElements_m49C996124733B026EA2FDBE9382AAD136CA22362(NULL);
  865. IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Max_mF33848068459BE74BF534D16F6B678BB677EE704_RuntimeMethod_var)));
  866. }
  867. }
  868. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Enumerable_Max_m87C2E7DC5641566E63956E863E09D6590BFCB025 (RuntimeObject* ___0_source, const RuntimeMethod* method)
  869. {
  870. static bool s_Il2CppMethodInitialized;
  871. if (!s_Il2CppMethodInitialized)
  872. {
  873. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var);
  874. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerable_1_t8C657FE14F31902C20E001F3F10A922428229A2F_il2cpp_TypeInfo_var);
  875. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_1_t96C69FC6D3BFF990C18CFAF5A304D4D336E5DD32_il2cpp_TypeInfo_var);
  876. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var);
  877. s_Il2CppMethodInitialized = true;
  878. }
  879. int64_t V_0 = 0;
  880. bool V_1 = false;
  881. RuntimeObject* V_2 = NULL;
  882. int64_t V_3 = 0;
  883. {
  884. RuntimeObject* L_0 = ___0_source;
  885. if (L_0)
  886. {
  887. goto IL_000e;
  888. }
  889. }
  890. {
  891. Exception_t* L_1;
  892. L_1 = Error_ArgumentNull_m1141D2C9AF8AB6ACC45E7488789598C5283D4EEE(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral66F9618FDA792CAB23AF2D7FFB50AB2D3E393DC5)), NULL);
  893. IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Max_m87C2E7DC5641566E63956E863E09D6590BFCB025_RuntimeMethod_var)));
  894. }
  895. IL_000e:
  896. {
  897. V_0 = ((int64_t)0);
  898. V_1 = (bool)0;
  899. RuntimeObject* L_2 = ___0_source;
  900. NullCheck(L_2);
  901. RuntimeObject* L_3;
  902. L_3 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(0, IEnumerable_1_t8C657FE14F31902C20E001F3F10A922428229A2F_il2cpp_TypeInfo_var, L_2);
  903. V_2 = L_3;
  904. }
  905. {
  906. auto __finallyBlock = il2cpp::utils::Finally([&]
  907. {
  908. FINALLY_003c:
  909. {
  910. {
  911. RuntimeObject* L_4 = V_2;
  912. if (!L_4)
  913. {
  914. goto IL_0045;
  915. }
  916. }
  917. {
  918. RuntimeObject* L_5 = V_2;
  919. NullCheck(L_5);
  920. InterfaceActionInvoker0::Invoke(0, IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5_il2cpp_TypeInfo_var, L_5);
  921. }
  922. IL_0045:
  923. {
  924. return;
  925. }
  926. }
  927. });
  928. try
  929. {
  930. {
  931. goto IL_0032_1;
  932. }
  933. IL_001c_1:
  934. {
  935. RuntimeObject* L_6 = V_2;
  936. NullCheck(L_6);
  937. int64_t L_7;
  938. L_7 = InterfaceFuncInvoker0< int64_t >::Invoke(0, IEnumerator_1_t96C69FC6D3BFF990C18CFAF5A304D4D336E5DD32_il2cpp_TypeInfo_var, L_6);
  939. V_3 = L_7;
  940. bool L_8 = V_1;
  941. if (!L_8)
  942. {
  943. goto IL_002e_1;
  944. }
  945. }
  946. {
  947. int64_t L_9 = V_3;
  948. int64_t L_10 = V_0;
  949. if ((((int64_t)L_9) <= ((int64_t)L_10)))
  950. {
  951. goto IL_0032_1;
  952. }
  953. }
  954. {
  955. int64_t L_11 = V_3;
  956. V_0 = L_11;
  957. goto IL_0032_1;
  958. }
  959. IL_002e_1:
  960. {
  961. int64_t L_12 = V_3;
  962. V_0 = L_12;
  963. V_1 = (bool)1;
  964. }
  965. IL_0032_1:
  966. {
  967. RuntimeObject* L_13 = V_2;
  968. NullCheck(L_13);
  969. bool L_14;
  970. L_14 = InterfaceFuncInvoker0< bool >::Invoke(0, IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA_il2cpp_TypeInfo_var, L_13);
  971. if (L_14)
  972. {
  973. goto IL_001c_1;
  974. }
  975. }
  976. {
  977. goto IL_0046;
  978. }
  979. }
  980. catch(Il2CppExceptionWrapper& e)
  981. {
  982. __finallyBlock.StoreException(e.ex);
  983. }
  984. }
  985. IL_0046:
  986. {
  987. bool L_15 = V_1;
  988. if (!L_15)
  989. {
  990. goto IL_004b;
  991. }
  992. }
  993. {
  994. int64_t L_16 = V_0;
  995. return L_16;
  996. }
  997. IL_004b:
  998. {
  999. Exception_t* L_17;
  1000. L_17 = Error_NoElements_m49C996124733B026EA2FDBE9382AAD136CA22362(NULL);
  1001. IL2CPP_RAISE_MANAGED_EXCEPTION(L_17, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Enumerable_Max_m87C2E7DC5641566E63956E863E09D6590BFCB025_RuntimeMethod_var)));
  1002. }
  1003. }
  1004. #ifdef __clang__
  1005. #pragma clang diagnostic pop
  1006. #endif
  1007. #ifdef __clang__
  1008. #pragma clang diagnostic push
  1009. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  1010. #pragma clang diagnostic ignored "-Wunused-variable"
  1011. #endif
  1012. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRangeIteratorU3Ed__115__ctor_m28402F68F863084357F710F6546910CC4417800C (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
  1013. {
  1014. {
  1015. Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
  1016. int32_t L_0 = ___0_U3CU3E1__state;
  1017. __this->___U3CU3E1__state = L_0;
  1018. int32_t L_1;
  1019. L_1 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
  1020. __this->___U3CU3El__initialThreadId = L_1;
  1021. return;
  1022. }
  1023. }
  1024. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRangeIteratorU3Ed__115_System_IDisposable_Dispose_mACF95799F65FBE5A805C33ABD0ABBB8D90B865E9 (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method)
  1025. {
  1026. {
  1027. return;
  1028. }
  1029. }
  1030. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CRangeIteratorU3Ed__115_MoveNext_m4B882BD1A41035B16713BD5C47695ACEFF7A3B91 (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method)
  1031. {
  1032. int32_t V_0 = 0;
  1033. int32_t V_1 = 0;
  1034. {
  1035. int32_t L_0 = __this->___U3CU3E1__state;
  1036. V_0 = L_0;
  1037. int32_t L_1 = V_0;
  1038. if (!L_1)
  1039. {
  1040. goto IL_0010;
  1041. }
  1042. }
  1043. {
  1044. int32_t L_2 = V_0;
  1045. if ((((int32_t)L_2) == ((int32_t)1)))
  1046. {
  1047. goto IL_003c;
  1048. }
  1049. }
  1050. {
  1051. return (bool)0;
  1052. }
  1053. IL_0010:
  1054. {
  1055. __this->___U3CU3E1__state = (-1);
  1056. __this->___U3CiU3E5__2 = 0;
  1057. goto IL_0053;
  1058. }
  1059. IL_0020:
  1060. {
  1061. int32_t L_3 = __this->___start;
  1062. int32_t L_4 = __this->___U3CiU3E5__2;
  1063. __this->___U3CU3E2__current = ((int32_t)il2cpp_codegen_add(L_3, L_4));
  1064. __this->___U3CU3E1__state = 1;
  1065. return (bool)1;
  1066. }
  1067. IL_003c:
  1068. {
  1069. __this->___U3CU3E1__state = (-1);
  1070. int32_t L_5 = __this->___U3CiU3E5__2;
  1071. V_1 = L_5;
  1072. int32_t L_6 = V_1;
  1073. __this->___U3CiU3E5__2 = ((int32_t)il2cpp_codegen_add(L_6, 1));
  1074. }
  1075. IL_0053:
  1076. {
  1077. int32_t L_7 = __this->___U3CiU3E5__2;
  1078. int32_t L_8 = __this->___count;
  1079. if ((((int32_t)L_7) < ((int32_t)L_8)))
  1080. {
  1081. goto IL_0020;
  1082. }
  1083. }
  1084. {
  1085. return (bool)0;
  1086. }
  1087. }
  1088. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t U3CRangeIteratorU3Ed__115_System_Collections_Generic_IEnumeratorU3CSystem_Int32U3E_get_Current_mACDA0C0FD65D62D6CEB3DA9F761FFF589EC0AAB3 (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method)
  1089. {
  1090. {
  1091. int32_t L_0 = __this->___U3CU3E2__current;
  1092. return L_0;
  1093. }
  1094. }
  1095. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CRangeIteratorU3Ed__115_System_Collections_IEnumerator_get_Current_mC5886D606FB46765848339A4305F922494C093ED (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method)
  1096. {
  1097. {
  1098. int32_t L_0 = __this->___U3CU3E2__current;
  1099. int32_t L_1 = L_0;
  1100. RuntimeObject* L_2 = Box(il2cpp_defaults.int32_class, &L_1);
  1101. return L_2;
  1102. }
  1103. }
  1104. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CRangeIteratorU3Ed__115_System_Collections_Generic_IEnumerableU3CSystem_Int32U3E_GetEnumerator_m712C614B8E578CF43876E5CE889386161DB2CAC9 (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method)
  1105. {
  1106. static bool s_Il2CppMethodInitialized;
  1107. if (!s_Il2CppMethodInitialized)
  1108. {
  1109. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D_il2cpp_TypeInfo_var);
  1110. s_Il2CppMethodInitialized = true;
  1111. }
  1112. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* V_0 = NULL;
  1113. {
  1114. int32_t L_0 = __this->___U3CU3E1__state;
  1115. if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)-2)))))
  1116. {
  1117. goto IL_0022;
  1118. }
  1119. }
  1120. {
  1121. int32_t L_1 = __this->___U3CU3El__initialThreadId;
  1122. int32_t L_2;
  1123. L_2 = Environment_get_CurrentManagedThreadId_m66483AADCCC13272EBDCD94D31D2E52603C24BDF(NULL);
  1124. if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
  1125. {
  1126. goto IL_0022;
  1127. }
  1128. }
  1129. {
  1130. __this->___U3CU3E1__state = 0;
  1131. V_0 = __this;
  1132. goto IL_0029;
  1133. }
  1134. IL_0022:
  1135. {
  1136. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_3 = (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D*)il2cpp_codegen_object_new(U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D_il2cpp_TypeInfo_var);
  1137. U3CRangeIteratorU3Ed__115__ctor_m28402F68F863084357F710F6546910CC4417800C(L_3, 0, NULL);
  1138. V_0 = L_3;
  1139. }
  1140. IL_0029:
  1141. {
  1142. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_4 = V_0;
  1143. int32_t L_5 = __this->___U3CU3E3__start;
  1144. NullCheck(L_4);
  1145. L_4->___start = L_5;
  1146. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_6 = V_0;
  1147. int32_t L_7 = __this->___U3CU3E3__count;
  1148. NullCheck(L_6);
  1149. L_6->___count = L_7;
  1150. U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* L_8 = V_0;
  1151. return L_8;
  1152. }
  1153. }
  1154. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CRangeIteratorU3Ed__115_System_Collections_IEnumerable_GetEnumerator_m1F60B93D73E3A534079BE4AB93BD7E51F8741F34 (U3CRangeIteratorU3Ed__115_tDB1D987AE1C673965E7ABCDA1D189AD36358F14D* __this, const RuntimeMethod* method)
  1155. {
  1156. {
  1157. RuntimeObject* L_0;
  1158. L_0 = U3CRangeIteratorU3Ed__115_System_Collections_Generic_IEnumerableU3CSystem_Int32U3E_GetEnumerator_m712C614B8E578CF43876E5CE889386161DB2CAC9(__this, NULL);
  1159. return L_0;
  1160. }
  1161. }
  1162. #ifdef __clang__
  1163. #pragma clang diagnostic pop
  1164. #endif