QFramework.RefCounter.cpp 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. #include "il2cpp-config.h"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include <cstring>
  8. #include <string.h>
  9. #include <stdio.h>
  10. #include <cmath>
  11. #include <limits>
  12. #include <assert.h>
  13. #include <stdint.h>
  14. #include "codegen/il2cpp-codegen.h"
  15. #include "il2cpp-object-internals.h"
  16. struct VirtActionInvoker0
  17. {
  18. typedef void (*Action)(void*, const RuntimeMethod*);
  19. static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
  20. {
  21. const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
  22. ((Action)invokeData.methodPtr)(obj, invokeData.method);
  23. }
  24. };
  25. // QFramework.SafeARC
  26. struct SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C;
  27. // QFramework.SimpleRC
  28. struct SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77;
  29. // QFramework.UnsafeARC
  30. struct UnsafeARC_t53003F74E2E7D844C613DAC44DB025A4AB6EC29A;
  31. // System.Collections.Generic.HashSet`1/Slot<System.Object>[]
  32. struct SlotU5BU5D_t83FEB9D875895C5325CEBD4450ADC3B8E6FA8F4B;
  33. // System.Collections.Generic.HashSet`1<System.Object>
  34. struct HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5;
  35. // System.Collections.Generic.IEqualityComparer`1<System.Object>
  36. struct IEqualityComparer_1_tAE7A8756D8CF0882DD348DC328FB36FEE0FB7DD0;
  37. // System.Int32[]
  38. struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
  39. // System.Object[]
  40. struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
  41. // System.Runtime.Serialization.SerializationInfo
  42. struct SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26;
  43. // System.String
  44. struct String_t;
  45. IL2CPP_EXTERN_C RuntimeClass* HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5_il2cpp_TypeInfo_var;
  46. IL2CPP_EXTERN_C RuntimeClass* Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var;
  47. IL2CPP_EXTERN_C String_t* _stringLiteral06DB0486CE609AB681C6570F3485E7F9215079EF;
  48. IL2CPP_EXTERN_C String_t* _stringLiteralDCD436507F6CAA534E2B95B4A1F156A4E064A7FB;
  49. IL2CPP_EXTERN_C const RuntimeMethod* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_RuntimeMethod_var;
  50. IL2CPP_EXTERN_C const RuntimeMethod* HashSet_1_Add_mC5752F6FE57401634B963A5D15275D36D352FE4E_RuntimeMethod_var;
  51. IL2CPP_EXTERN_C const RuntimeMethod* HashSet_1_Remove_m5A9063753469889C97866CB39A30B7C391A41044_RuntimeMethod_var;
  52. IL2CPP_EXTERN_C const RuntimeMethod* HashSet_1__ctor_m45E64E05467ACD6F03EE6CD7F5F904574125C7C9_RuntimeMethod_var;
  53. IL2CPP_EXTERN_C const RuntimeMethod* HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_RuntimeMethod_var;
  54. IL2CPP_EXTERN_C const uint32_t SafeARC_Release_mD1979561ED0B2CAC58904B967593DF9F7D1A62FD_MetadataUsageId;
  55. IL2CPP_EXTERN_C const uint32_t SafeARC_Retain_m51AB75A9183235F5CE0E76C71E529C5804FEE620_MetadataUsageId;
  56. IL2CPP_EXTERN_C const uint32_t SafeARC__ctor_m12AAA3FBA63C558F594A85EF8793635CD5B6896E_MetadataUsageId;
  57. IL2CPP_EXTERN_C const uint32_t SafeARC_get_RefCount_m85AF1E3D7EFD91346E1421E63D7D36B1C3956519_MetadataUsageId;
  58. struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
  59. IL2CPP_EXTERN_C_BEGIN
  60. IL2CPP_EXTERN_C_END
  61. #ifdef __clang__
  62. #pragma clang diagnostic push
  63. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  64. #pragma clang diagnostic ignored "-Wunused-variable"
  65. #endif
  66. // <Module>
  67. struct U3CModuleU3E_t5C35A13DB407CA1FA3502AFCDE37021E1558F809
  68. {
  69. public:
  70. public:
  71. };
  72. // System.Object
  73. // QFramework.SafeARC
  74. struct SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C : public RuntimeObject
  75. {
  76. public:
  77. // System.Collections.Generic.HashSet`1<System.Object> QFramework.SafeARC::mOwners
  78. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * ___mOwners_0;
  79. public:
  80. inline static int32_t get_offset_of_mOwners_0() { return static_cast<int32_t>(offsetof(SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C, ___mOwners_0)); }
  81. inline HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * get_mOwners_0() const { return ___mOwners_0; }
  82. inline HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 ** get_address_of_mOwners_0() { return &___mOwners_0; }
  83. inline void set_mOwners_0(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * value)
  84. {
  85. ___mOwners_0 = value;
  86. Il2CppCodeGenWriteBarrier((void**)(&___mOwners_0), (void*)value);
  87. }
  88. };
  89. // QFramework.SimpleRC
  90. struct SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 : public RuntimeObject
  91. {
  92. public:
  93. // System.Int32 QFramework.SimpleRC::<RefCount>k__BackingField
  94. int32_t ___U3CRefCountU3Ek__BackingField_0;
  95. public:
  96. inline static int32_t get_offset_of_U3CRefCountU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77, ___U3CRefCountU3Ek__BackingField_0)); }
  97. inline int32_t get_U3CRefCountU3Ek__BackingField_0() const { return ___U3CRefCountU3Ek__BackingField_0; }
  98. inline int32_t* get_address_of_U3CRefCountU3Ek__BackingField_0() { return &___U3CRefCountU3Ek__BackingField_0; }
  99. inline void set_U3CRefCountU3Ek__BackingField_0(int32_t value)
  100. {
  101. ___U3CRefCountU3Ek__BackingField_0 = value;
  102. }
  103. };
  104. struct Il2CppArrayBounds;
  105. // System.Array
  106. // System.Collections.Generic.HashSet`1<System.Object>
  107. struct HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 : public RuntimeObject
  108. {
  109. public:
  110. // System.Int32[] System.Collections.Generic.HashSet`1::_buckets
  111. Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ____buckets_7;
  112. // System.Collections.Generic.HashSet`1_Slot<T>[] System.Collections.Generic.HashSet`1::_slots
  113. SlotU5BU5D_t83FEB9D875895C5325CEBD4450ADC3B8E6FA8F4B* ____slots_8;
  114. // System.Int32 System.Collections.Generic.HashSet`1::_count
  115. int32_t ____count_9;
  116. // System.Int32 System.Collections.Generic.HashSet`1::_lastIndex
  117. int32_t ____lastIndex_10;
  118. // System.Int32 System.Collections.Generic.HashSet`1::_freeList
  119. int32_t ____freeList_11;
  120. // System.Collections.Generic.IEqualityComparer`1<T> System.Collections.Generic.HashSet`1::_comparer
  121. RuntimeObject* ____comparer_12;
  122. // System.Int32 System.Collections.Generic.HashSet`1::_version
  123. int32_t ____version_13;
  124. // System.Runtime.Serialization.SerializationInfo System.Collections.Generic.HashSet`1::_siInfo
  125. SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * ____siInfo_14;
  126. public:
  127. inline static int32_t get_offset_of__buckets_7() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____buckets_7)); }
  128. inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get__buckets_7() const { return ____buckets_7; }
  129. inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of__buckets_7() { return &____buckets_7; }
  130. inline void set__buckets_7(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
  131. {
  132. ____buckets_7 = value;
  133. Il2CppCodeGenWriteBarrier((void**)(&____buckets_7), (void*)value);
  134. }
  135. inline static int32_t get_offset_of__slots_8() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____slots_8)); }
  136. inline SlotU5BU5D_t83FEB9D875895C5325CEBD4450ADC3B8E6FA8F4B* get__slots_8() const { return ____slots_8; }
  137. inline SlotU5BU5D_t83FEB9D875895C5325CEBD4450ADC3B8E6FA8F4B** get_address_of__slots_8() { return &____slots_8; }
  138. inline void set__slots_8(SlotU5BU5D_t83FEB9D875895C5325CEBD4450ADC3B8E6FA8F4B* value)
  139. {
  140. ____slots_8 = value;
  141. Il2CppCodeGenWriteBarrier((void**)(&____slots_8), (void*)value);
  142. }
  143. inline static int32_t get_offset_of__count_9() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____count_9)); }
  144. inline int32_t get__count_9() const { return ____count_9; }
  145. inline int32_t* get_address_of__count_9() { return &____count_9; }
  146. inline void set__count_9(int32_t value)
  147. {
  148. ____count_9 = value;
  149. }
  150. inline static int32_t get_offset_of__lastIndex_10() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____lastIndex_10)); }
  151. inline int32_t get__lastIndex_10() const { return ____lastIndex_10; }
  152. inline int32_t* get_address_of__lastIndex_10() { return &____lastIndex_10; }
  153. inline void set__lastIndex_10(int32_t value)
  154. {
  155. ____lastIndex_10 = value;
  156. }
  157. inline static int32_t get_offset_of__freeList_11() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____freeList_11)); }
  158. inline int32_t get__freeList_11() const { return ____freeList_11; }
  159. inline int32_t* get_address_of__freeList_11() { return &____freeList_11; }
  160. inline void set__freeList_11(int32_t value)
  161. {
  162. ____freeList_11 = value;
  163. }
  164. inline static int32_t get_offset_of__comparer_12() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____comparer_12)); }
  165. inline RuntimeObject* get__comparer_12() const { return ____comparer_12; }
  166. inline RuntimeObject** get_address_of__comparer_12() { return &____comparer_12; }
  167. inline void set__comparer_12(RuntimeObject* value)
  168. {
  169. ____comparer_12 = value;
  170. Il2CppCodeGenWriteBarrier((void**)(&____comparer_12), (void*)value);
  171. }
  172. inline static int32_t get_offset_of__version_13() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____version_13)); }
  173. inline int32_t get__version_13() const { return ____version_13; }
  174. inline int32_t* get_address_of__version_13() { return &____version_13; }
  175. inline void set__version_13(int32_t value)
  176. {
  177. ____version_13 = value;
  178. }
  179. inline static int32_t get_offset_of__siInfo_14() { return static_cast<int32_t>(offsetof(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5, ____siInfo_14)); }
  180. inline SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * get__siInfo_14() const { return ____siInfo_14; }
  181. inline SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 ** get_address_of__siInfo_14() { return &____siInfo_14; }
  182. inline void set__siInfo_14(SerializationInfo_t1BB80E9C9DEA52DBF464487234B045E2930ADA26 * value)
  183. {
  184. ____siInfo_14 = value;
  185. Il2CppCodeGenWriteBarrier((void**)(&____siInfo_14), (void*)value);
  186. }
  187. };
  188. // System.EmptyArray`1<System.Object>
  189. struct EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26 : public RuntimeObject
  190. {
  191. public:
  192. public:
  193. };
  194. struct EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26_StaticFields
  195. {
  196. public:
  197. // T[] System.EmptyArray`1::Value
  198. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___Value_0;
  199. public:
  200. inline static int32_t get_offset_of_Value_0() { return static_cast<int32_t>(offsetof(EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26_StaticFields, ___Value_0)); }
  201. inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_Value_0() const { return ___Value_0; }
  202. inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_Value_0() { return &___Value_0; }
  203. inline void set_Value_0(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
  204. {
  205. ___Value_0 = value;
  206. Il2CppCodeGenWriteBarrier((void**)(&___Value_0), (void*)value);
  207. }
  208. };
  209. // System.String
  210. struct String_t : public RuntimeObject
  211. {
  212. public:
  213. // System.Int32 System.String::m_stringLength
  214. int32_t ___m_stringLength_0;
  215. // System.Char System.String::m_firstChar
  216. Il2CppChar ___m_firstChar_1;
  217. public:
  218. inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
  219. inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
  220. inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
  221. inline void set_m_stringLength_0(int32_t value)
  222. {
  223. ___m_stringLength_0 = value;
  224. }
  225. inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
  226. inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
  227. inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
  228. inline void set_m_firstChar_1(Il2CppChar value)
  229. {
  230. ___m_firstChar_1 = value;
  231. }
  232. };
  233. struct String_t_StaticFields
  234. {
  235. public:
  236. // System.String System.String::Empty
  237. String_t* ___Empty_5;
  238. public:
  239. inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
  240. inline String_t* get_Empty_5() const { return ___Empty_5; }
  241. inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
  242. inline void set_Empty_5(String_t* value)
  243. {
  244. ___Empty_5 = value;
  245. Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
  246. }
  247. };
  248. // System.ValueType
  249. struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
  250. {
  251. public:
  252. public:
  253. };
  254. // Native definition for P/Invoke marshalling of System.ValueType
  255. struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
  256. {
  257. };
  258. // Native definition for COM marshalling of System.ValueType
  259. struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
  260. {
  261. };
  262. // QFramework.UnsafeARC
  263. struct UnsafeARC_t53003F74E2E7D844C613DAC44DB025A4AB6EC29A : public SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77
  264. {
  265. public:
  266. public:
  267. };
  268. // System.Boolean
  269. struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
  270. {
  271. public:
  272. // System.Boolean System.Boolean::m_value
  273. bool ___m_value_0;
  274. public:
  275. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); }
  276. inline bool get_m_value_0() const { return ___m_value_0; }
  277. inline bool* get_address_of_m_value_0() { return &___m_value_0; }
  278. inline void set_m_value_0(bool value)
  279. {
  280. ___m_value_0 = value;
  281. }
  282. };
  283. struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields
  284. {
  285. public:
  286. // System.String System.Boolean::TrueString
  287. String_t* ___TrueString_5;
  288. // System.String System.Boolean::FalseString
  289. String_t* ___FalseString_6;
  290. public:
  291. inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); }
  292. inline String_t* get_TrueString_5() const { return ___TrueString_5; }
  293. inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
  294. inline void set_TrueString_5(String_t* value)
  295. {
  296. ___TrueString_5 = value;
  297. Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
  298. }
  299. inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); }
  300. inline String_t* get_FalseString_6() const { return ___FalseString_6; }
  301. inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
  302. inline void set_FalseString_6(String_t* value)
  303. {
  304. ___FalseString_6 = value;
  305. Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
  306. }
  307. };
  308. // System.Int32
  309. struct Int32_t585191389E07734F19F3156FF88FB3EF4800D102
  310. {
  311. public:
  312. // System.Int32 System.Int32::m_value
  313. int32_t ___m_value_0;
  314. public:
  315. inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t585191389E07734F19F3156FF88FB3EF4800D102, ___m_value_0)); }
  316. inline int32_t get_m_value_0() const { return ___m_value_0; }
  317. inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
  318. inline void set_m_value_0(int32_t value)
  319. {
  320. ___m_value_0 = value;
  321. }
  322. };
  323. // System.Void
  324. struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
  325. {
  326. public:
  327. union
  328. {
  329. struct
  330. {
  331. };
  332. uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
  333. };
  334. public:
  335. };
  336. #ifdef __clang__
  337. #pragma clang diagnostic pop
  338. #endif
  339. // System.Object[]
  340. struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : public RuntimeArray
  341. {
  342. public:
  343. ALIGN_FIELD (8) RuntimeObject * m_Items[1];
  344. public:
  345. inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
  346. {
  347. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  348. return m_Items[index];
  349. }
  350. inline RuntimeObject ** GetAddressAt(il2cpp_array_size_t index)
  351. {
  352. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  353. return m_Items + index;
  354. }
  355. inline void SetAt(il2cpp_array_size_t index, RuntimeObject * value)
  356. {
  357. IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
  358. m_Items[index] = value;
  359. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  360. }
  361. inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
  362. {
  363. return m_Items[index];
  364. }
  365. inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
  366. {
  367. return m_Items + index;
  368. }
  369. inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
  370. {
  371. m_Items[index] = value;
  372. Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
  373. }
  374. };
  375. // System.Int32 System.Collections.Generic.HashSet`1<System.Object>::get_Count()
  376. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_gshared_inline (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, const RuntimeMethod* method);
  377. // System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Add(!0)
  378. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HashSet_1_Add_mC5752F6FE57401634B963A5D15275D36D352FE4E_gshared (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
  379. // !!0[] System.Array::Empty<System.Object>()
  380. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_gshared_inline (const RuntimeMethod* method);
  381. // System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Remove(!0)
  382. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HashSet_1_Remove_m5A9063753469889C97866CB39A30B7C391A41044_gshared (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
  383. // System.Void System.Collections.Generic.HashSet`1<System.Object>::.ctor()
  384. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HashSet_1__ctor_m45E64E05467ACD6F03EE6CD7F5F904574125C7C9_gshared (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, const RuntimeMethod* method);
  385. // System.Int32 System.Collections.Generic.HashSet`1<System.Object>::get_Count()
  386. inline int32_t HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_inline (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, const RuntimeMethod* method)
  387. {
  388. return (( int32_t (*) (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 *, const RuntimeMethod*))HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_gshared_inline)(__this, method);
  389. }
  390. // System.Collections.Generic.HashSet`1<System.Object> QFramework.SafeARC::get_Owners()
  391. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * SafeARC_get_Owners_m0BDB35BCCD04FE22FA06B419DDCC50C3B22822BF_inline (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, const RuntimeMethod* method);
  392. // System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Add(!0)
  393. inline bool HashSet_1_Add_mC5752F6FE57401634B963A5D15275D36D352FE4E (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
  394. {
  395. return (( bool (*) (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 *, RuntimeObject *, const RuntimeMethod*))HashSet_1_Add_mC5752F6FE57401634B963A5D15275D36D352FE4E_gshared)(__this, ___item0, method);
  396. }
  397. // !!0[] System.Array::Empty<System.Object>()
  398. inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_inline (const RuntimeMethod* method)
  399. {
  400. return (( ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* (*) (const RuntimeMethod*))Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_gshared_inline)(method);
  401. }
  402. // System.Void QFramework.Log::E(System.Object,System.Object[])
  403. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Log_E_m29D47134C08FEF644DBB34B35B900FFAFF7689B7 (RuntimeObject * ___msg0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
  404. // System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Remove(!0)
  405. inline bool HashSet_1_Remove_m5A9063753469889C97866CB39A30B7C391A41044 (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, RuntimeObject * ___item0, const RuntimeMethod* method)
  406. {
  407. return (( bool (*) (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 *, RuntimeObject *, const RuntimeMethod*))HashSet_1_Remove_m5A9063753469889C97866CB39A30B7C391A41044_gshared)(__this, ___item0, method);
  408. }
  409. // System.Void System.Collections.Generic.HashSet`1<System.Object>::.ctor()
  410. inline void HashSet_1__ctor_m45E64E05467ACD6F03EE6CD7F5F904574125C7C9 (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, const RuntimeMethod* method)
  411. {
  412. (( void (*) (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 *, const RuntimeMethod*))HashSet_1__ctor_m45E64E05467ACD6F03EE6CD7F5F904574125C7C9_gshared)(__this, method);
  413. }
  414. // System.Void System.Object::.ctor()
  415. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method);
  416. // System.Void QFramework.SimpleRC::set_RefCount(System.Int32)
  417. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SimpleRC_set_RefCount_m96C01BD1C291CE3706EF781115147A1AFBC0D98F_inline (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, int32_t ___value0, const RuntimeMethod* method);
  418. // System.Int32 QFramework.SimpleRC::get_RefCount()
  419. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t SimpleRC_get_RefCount_mD6BCEE7E0C64229F0DB5BD027E9ACF60827FF456_inline (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, const RuntimeMethod* method);
  420. // System.Void QFramework.SimpleRC::.ctor()
  421. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleRC__ctor_m39F1AE03640677D751BA0E4F4FA4A7829C87C6B8 (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, const RuntimeMethod* method);
  422. #ifdef __clang__
  423. #pragma clang diagnostic push
  424. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  425. #pragma clang diagnostic ignored "-Wunused-variable"
  426. #endif
  427. #ifdef __clang__
  428. #pragma clang diagnostic pop
  429. #endif
  430. #ifdef __clang__
  431. #pragma clang diagnostic push
  432. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  433. #pragma clang diagnostic ignored "-Wunused-variable"
  434. #endif
  435. // System.Int32 QFramework.SafeARC::get_RefCount()
  436. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SafeARC_get_RefCount_m85AF1E3D7EFD91346E1421E63D7D36B1C3956519 (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, const RuntimeMethod* method)
  437. {
  438. static bool s_Il2CppMethodInitialized;
  439. if (!s_Il2CppMethodInitialized)
  440. {
  441. il2cpp_codegen_initialize_method (SafeARC_get_RefCount_m85AF1E3D7EFD91346E1421E63D7D36B1C3956519_MetadataUsageId);
  442. s_Il2CppMethodInitialized = true;
  443. }
  444. {
  445. // get { return mOwners.Count; }
  446. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * L_0 = __this->get_mOwners_0();
  447. NullCheck(L_0);
  448. int32_t L_1 = HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_inline(L_0, /*hidden argument*/HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_RuntimeMethod_var);
  449. return L_1;
  450. }
  451. }
  452. // System.Collections.Generic.HashSet`1<System.Object> QFramework.SafeARC::get_Owners()
  453. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * SafeARC_get_Owners_m0BDB35BCCD04FE22FA06B419DDCC50C3B22822BF (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, const RuntimeMethod* method)
  454. {
  455. {
  456. // get { return mOwners; }
  457. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * L_0 = __this->get_mOwners_0();
  458. return L_0;
  459. }
  460. }
  461. // System.Void QFramework.SafeARC::Retain(System.Object)
  462. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeARC_Retain_m51AB75A9183235F5CE0E76C71E529C5804FEE620 (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, RuntimeObject * ___refOwner0, const RuntimeMethod* method)
  463. {
  464. static bool s_Il2CppMethodInitialized;
  465. if (!s_Il2CppMethodInitialized)
  466. {
  467. il2cpp_codegen_initialize_method (SafeARC_Retain_m51AB75A9183235F5CE0E76C71E529C5804FEE620_MetadataUsageId);
  468. s_Il2CppMethodInitialized = true;
  469. }
  470. {
  471. // if (!Owners.Add(refOwner))
  472. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * L_0 = SafeARC_get_Owners_m0BDB35BCCD04FE22FA06B419DDCC50C3B22822BF_inline(__this, /*hidden argument*/NULL);
  473. RuntimeObject * L_1 = ___refOwner0;
  474. NullCheck(L_0);
  475. bool L_2 = HashSet_1_Add_mC5752F6FE57401634B963A5D15275D36D352FE4E(L_0, L_1, /*hidden argument*/HashSet_1_Add_mC5752F6FE57401634B963A5D15275D36D352FE4E_RuntimeMethod_var);
  476. if (L_2)
  477. {
  478. goto IL_001d;
  479. }
  480. }
  481. {
  482. // Log.E("ObjectIsAlreadyRetainedByOwnerException");
  483. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_inline(/*hidden argument*/Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_RuntimeMethod_var);
  484. IL2CPP_RUNTIME_CLASS_INIT(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var);
  485. Log_E_m29D47134C08FEF644DBB34B35B900FFAFF7689B7(_stringLiteral06DB0486CE609AB681C6570F3485E7F9215079EF, L_3, /*hidden argument*/NULL);
  486. }
  487. IL_001d:
  488. {
  489. // }
  490. return;
  491. }
  492. }
  493. // System.Void QFramework.SafeARC::Release(System.Object)
  494. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeARC_Release_mD1979561ED0B2CAC58904B967593DF9F7D1A62FD (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, RuntimeObject * ___refOwner0, const RuntimeMethod* method)
  495. {
  496. static bool s_Il2CppMethodInitialized;
  497. if (!s_Il2CppMethodInitialized)
  498. {
  499. il2cpp_codegen_initialize_method (SafeARC_Release_mD1979561ED0B2CAC58904B967593DF9F7D1A62FD_MetadataUsageId);
  500. s_Il2CppMethodInitialized = true;
  501. }
  502. {
  503. // if (!Owners.Remove(refOwner))
  504. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * L_0 = SafeARC_get_Owners_m0BDB35BCCD04FE22FA06B419DDCC50C3B22822BF_inline(__this, /*hidden argument*/NULL);
  505. RuntimeObject * L_1 = ___refOwner0;
  506. NullCheck(L_0);
  507. bool L_2 = HashSet_1_Remove_m5A9063753469889C97866CB39A30B7C391A41044(L_0, L_1, /*hidden argument*/HashSet_1_Remove_m5A9063753469889C97866CB39A30B7C391A41044_RuntimeMethod_var);
  508. if (L_2)
  509. {
  510. goto IL_001d;
  511. }
  512. }
  513. {
  514. // Log.E("ObjectIsNotRetainedByOwnerExceptionWithHint");
  515. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_3 = Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_inline(/*hidden argument*/Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_RuntimeMethod_var);
  516. IL2CPP_RUNTIME_CLASS_INIT(Log_t1B0BEAD8FAEDBF283B85FF379019EAFA29EA594B_il2cpp_TypeInfo_var);
  517. Log_E_m29D47134C08FEF644DBB34B35B900FFAFF7689B7(_stringLiteralDCD436507F6CAA534E2B95B4A1F156A4E064A7FB, L_3, /*hidden argument*/NULL);
  518. }
  519. IL_001d:
  520. {
  521. // }
  522. return;
  523. }
  524. }
  525. // System.Void QFramework.SafeARC::.ctor()
  526. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeARC__ctor_m12AAA3FBA63C558F594A85EF8793635CD5B6896E (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, const RuntimeMethod* method)
  527. {
  528. static bool s_Il2CppMethodInitialized;
  529. if (!s_Il2CppMethodInitialized)
  530. {
  531. il2cpp_codegen_initialize_method (SafeARC__ctor_m12AAA3FBA63C558F594A85EF8793635CD5B6896E_MetadataUsageId);
  532. s_Il2CppMethodInitialized = true;
  533. }
  534. {
  535. // readonly HashSet<object> mOwners = new HashSet<object>();
  536. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * L_0 = (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 *)il2cpp_codegen_object_new(HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5_il2cpp_TypeInfo_var);
  537. HashSet_1__ctor_m45E64E05467ACD6F03EE6CD7F5F904574125C7C9(L_0, /*hidden argument*/HashSet_1__ctor_m45E64E05467ACD6F03EE6CD7F5F904574125C7C9_RuntimeMethod_var);
  538. __this->set_mOwners_0(L_0);
  539. Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
  540. return;
  541. }
  542. }
  543. #ifdef __clang__
  544. #pragma clang diagnostic pop
  545. #endif
  546. #ifdef __clang__
  547. #pragma clang diagnostic push
  548. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  549. #pragma clang diagnostic ignored "-Wunused-variable"
  550. #endif
  551. // System.Void QFramework.SimpleRC::.ctor()
  552. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleRC__ctor_m39F1AE03640677D751BA0E4F4FA4A7829C87C6B8 (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, const RuntimeMethod* method)
  553. {
  554. {
  555. // public SimpleRC()
  556. Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
  557. // RefCount = 0;
  558. SimpleRC_set_RefCount_m96C01BD1C291CE3706EF781115147A1AFBC0D98F_inline(__this, 0, /*hidden argument*/NULL);
  559. // }
  560. return;
  561. }
  562. }
  563. // System.Int32 QFramework.SimpleRC::get_RefCount()
  564. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SimpleRC_get_RefCount_mD6BCEE7E0C64229F0DB5BD027E9ACF60827FF456 (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, const RuntimeMethod* method)
  565. {
  566. {
  567. // public int RefCount { get; private set; }
  568. int32_t L_0 = __this->get_U3CRefCountU3Ek__BackingField_0();
  569. return L_0;
  570. }
  571. }
  572. // System.Void QFramework.SimpleRC::set_RefCount(System.Int32)
  573. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleRC_set_RefCount_m96C01BD1C291CE3706EF781115147A1AFBC0D98F (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, int32_t ___value0, const RuntimeMethod* method)
  574. {
  575. {
  576. // public int RefCount { get; private set; }
  577. int32_t L_0 = ___value0;
  578. __this->set_U3CRefCountU3Ek__BackingField_0(L_0);
  579. return;
  580. }
  581. }
  582. // System.Void QFramework.SimpleRC::Retain(System.Object)
  583. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleRC_Retain_m12627D3CE80325A30DD7C2BB265311EF22C8BFD6 (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, RuntimeObject * ___refOwner0, const RuntimeMethod* method)
  584. {
  585. int32_t V_0 = 0;
  586. {
  587. // ++RefCount;
  588. int32_t L_0 = SimpleRC_get_RefCount_mD6BCEE7E0C64229F0DB5BD027E9ACF60827FF456_inline(__this, /*hidden argument*/NULL);
  589. V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_0, (int32_t)1));
  590. int32_t L_1 = V_0;
  591. SimpleRC_set_RefCount_m96C01BD1C291CE3706EF781115147A1AFBC0D98F_inline(__this, L_1, /*hidden argument*/NULL);
  592. // }
  593. return;
  594. }
  595. }
  596. // System.Void QFramework.SimpleRC::Release(System.Object)
  597. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleRC_Release_m0C0CA3450D18F024919052488E31D880147C1F39 (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, RuntimeObject * ___refOwner0, const RuntimeMethod* method)
  598. {
  599. int32_t V_0 = 0;
  600. {
  601. // --RefCount;
  602. int32_t L_0 = SimpleRC_get_RefCount_mD6BCEE7E0C64229F0DB5BD027E9ACF60827FF456_inline(__this, /*hidden argument*/NULL);
  603. V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)1));
  604. int32_t L_1 = V_0;
  605. SimpleRC_set_RefCount_m96C01BD1C291CE3706EF781115147A1AFBC0D98F_inline(__this, L_1, /*hidden argument*/NULL);
  606. // if (RefCount == 0)
  607. int32_t L_2 = SimpleRC_get_RefCount_mD6BCEE7E0C64229F0DB5BD027E9ACF60827FF456_inline(__this, /*hidden argument*/NULL);
  608. if (L_2)
  609. {
  610. goto IL_001e;
  611. }
  612. }
  613. {
  614. // OnZeroRef();
  615. VirtActionInvoker0::Invoke(7 /* System.Void QFramework.SimpleRC::OnZeroRef() */, __this);
  616. }
  617. IL_001e:
  618. {
  619. // }
  620. return;
  621. }
  622. }
  623. // System.Void QFramework.SimpleRC::OnZeroRef()
  624. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleRC_OnZeroRef_mFE8F95B8FCAF0545B26623F9899DF1553CF2D117 (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, const RuntimeMethod* method)
  625. {
  626. {
  627. // }
  628. return;
  629. }
  630. }
  631. #ifdef __clang__
  632. #pragma clang diagnostic pop
  633. #endif
  634. #ifdef __clang__
  635. #pragma clang diagnostic push
  636. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  637. #pragma clang diagnostic ignored "-Wunused-variable"
  638. #endif
  639. // System.Void QFramework.UnsafeARC::.ctor()
  640. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnsafeARC__ctor_m5B475AF8FAD45ABDA853F0C43B0253EC22C4898E (UnsafeARC_t53003F74E2E7D844C613DAC44DB025A4AB6EC29A * __this, const RuntimeMethod* method)
  641. {
  642. {
  643. SimpleRC__ctor_m39F1AE03640677D751BA0E4F4FA4A7829C87C6B8(__this, /*hidden argument*/NULL);
  644. return;
  645. }
  646. }
  647. #ifdef __clang__
  648. #pragma clang diagnostic pop
  649. #endif
  650. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * SafeARC_get_Owners_m0BDB35BCCD04FE22FA06B419DDCC50C3B22822BF_inline (SafeARC_tBA91B699BBD081D880C6F34DBF5F5ABA010A362C * __this, const RuntimeMethod* method)
  651. {
  652. {
  653. // get { return mOwners; }
  654. HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * L_0 = __this->get_mOwners_0();
  655. return L_0;
  656. }
  657. }
  658. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void SimpleRC_set_RefCount_m96C01BD1C291CE3706EF781115147A1AFBC0D98F_inline (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, int32_t ___value0, const RuntimeMethod* method)
  659. {
  660. {
  661. // public int RefCount { get; private set; }
  662. int32_t L_0 = ___value0;
  663. __this->set_U3CRefCountU3Ek__BackingField_0(L_0);
  664. return;
  665. }
  666. }
  667. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t SimpleRC_get_RefCount_mD6BCEE7E0C64229F0DB5BD027E9ACF60827FF456_inline (SimpleRC_tCB261932C49CFE72CED5E564077CA06DF18C0A77 * __this, const RuntimeMethod* method)
  668. {
  669. {
  670. // public int RefCount { get; private set; }
  671. int32_t L_0 = __this->get_U3CRefCountU3Ek__BackingField_0();
  672. return L_0;
  673. }
  674. }
  675. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t HashSet_1_get_Count_m286A5D658D43A208043DF033DCA16BD8217AC94A_gshared_inline (HashSet_1_t20C647F44B285CB7C061931B00ED43A230F311E5 * __this, const RuntimeMethod* method)
  676. {
  677. {
  678. int32_t L_0 = (int32_t)__this->get__count_9();
  679. return L_0;
  680. }
  681. }
  682. IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_gshared_inline (const RuntimeMethod* method)
  683. {
  684. {
  685. IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->rgctx_data, 0));
  686. ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = ((EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->rgctx_data, 0)))->get_Value_0();
  687. return L_0;
  688. }
  689. }