Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

UnityEngine.ScreenCaptureModule.cpp 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. #include "pch-cpp.hpp"
  2. struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
  3. struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
  4. struct String_t;
  5. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
  6. IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_RuntimeMethod_var;
  7. IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_RuntimeMethod_var;
  8. IL2CPP_EXTERN_C const RuntimeMethod* ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_RuntimeMethod_var;
  9. IL2CPP_EXTERN_C_BEGIN
  10. IL2CPP_EXTERN_C_END
  11. #ifdef __clang__
  12. #pragma clang diagnostic push
  13. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  14. #pragma clang diagnostic ignored "-Wunused-variable"
  15. #endif
  16. struct U3CModuleU3E_tE8CCFA91781BB9C429F0997CDE2C44CCD8FBF84E
  17. {
  18. };
  19. struct ScreenCapture_t513DA8E74951FF61C8421D7046F6FC69A4153092 : public RuntimeObject
  20. {
  21. };
  22. struct String_t : public RuntimeObject
  23. {
  24. int32_t ____stringLength;
  25. Il2CppChar ____firstChar;
  26. };
  27. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
  28. {
  29. };
  30. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
  31. {
  32. };
  33. struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
  34. {
  35. };
  36. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
  37. {
  38. bool ___m_value;
  39. };
  40. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
  41. {
  42. Il2CppChar ___m_value;
  43. };
  44. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
  45. {
  46. };
  47. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
  48. {
  49. };
  50. struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
  51. {
  52. };
  53. struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
  54. {
  55. int32_t ___m_value;
  56. };
  57. struct IntPtr_t
  58. {
  59. void* ___m_value;
  60. };
  61. struct ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E
  62. {
  63. void* ___begin;
  64. int32_t ___length;
  65. };
  66. struct UInt64_t8F12534CC8FC4B5860F2A2CD1EE79D322E7A41AF
  67. {
  68. uint64_t ___m_value;
  69. };
  70. struct UIntPtr_t
  71. {
  72. void* ____pointer;
  73. };
  74. struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
  75. {
  76. union
  77. {
  78. struct
  79. {
  80. };
  81. uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
  82. };
  83. };
  84. struct ByReference_1_t7BA5A6CA164F770BC688F21C5978D368716465F5
  85. {
  86. intptr_t ____value;
  87. };
  88. struct StereoScreenCaptureMode_tB7D8063E43F187AF9CA59AA9E9ED1492A2280268
  89. {
  90. int32_t ___value__;
  91. };
  92. struct ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1
  93. {
  94. ByReference_1_t7BA5A6CA164F770BC688F21C5978D368716465F5 ____pointer;
  95. int32_t ____length;
  96. };
  97. struct String_t_StaticFields
  98. {
  99. String_t* ___Empty;
  100. };
  101. struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
  102. {
  103. String_t* ___TrueString;
  104. String_t* ___FalseString;
  105. };
  106. struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
  107. {
  108. ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1;
  109. };
  110. struct UIntPtr_t_StaticFields
  111. {
  112. uintptr_t ___Zero;
  113. };
  114. #ifdef __clang__
  115. #pragma clang diagnostic pop
  116. #endif
  117. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar* ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_gshared (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method) ;
  118. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method) ;
  119. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, Il2CppChar* ___0_ptr, int32_t ___1_length, const RuntimeMethod* method) ;
  120. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D (String_t* ___0_filename, int32_t ___1_superSize, int32_t ___2_CaptureMode, const RuntimeMethod* method) ;
  121. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool StringMarshaller_TryMarshalEmptyOrNullString_m615203C511071D59295D889AB136575DFFEA90A6_inline (String_t* ___0_s, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___1_managedSpanWrapper, const RuntimeMethod* method) ;
  122. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 MemoryExtensions_AsSpan_m0EB07912D71097A8B05F586158966837F5C3DB38_inline (String_t* ___0_text, const RuntimeMethod* method) ;
  123. inline Il2CppChar* ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638 (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method)
  124. {
  125. return (( Il2CppChar* (*) (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1*, const RuntimeMethod*))ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_gshared)(__this, method);
  126. }
  127. inline int32_t ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method)
  128. {
  129. return (( int32_t (*) (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1*, const RuntimeMethod*))ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_gshared_inline)(__this, method);
  130. }
  131. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ManagedSpanWrapper__ctor_mB29647A21BB87EA4DF859E5C2FA2207F47E525D2 (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* __this, void* ___0_begin, int32_t ___1_length, const RuntimeMethod* method) ;
  132. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_Injected_m3E20317C5BEC5A7B4D7999B677345256C5B28A4F (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___0_filename, int32_t ___1_superSize, int32_t ___2_CaptureMode, const RuntimeMethod* method) ;
  133. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
  134. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uintptr_t UIntPtr_op_Explicit_mF1E7911DD5AC13B5E59EE8C7903469D12A3861E8 (uint64_t ___0_value, const RuntimeMethod* method) ;
  135. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void* UIntPtr_op_Explicit_m42C3EA82465934F505B4274A7CE320550A48B7B9 (uintptr_t ___0_value, const RuntimeMethod* method) ;
  136. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar* String_GetRawStringData_m87BC50B7B314C055E27A28032D1003D42FDE411D (String_t* __this, const RuntimeMethod* method) ;
  137. inline void ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, Il2CppChar* ___0_ptr, int32_t ___1_length, const RuntimeMethod* method)
  138. {
  139. (( void (*) (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1*, Il2CppChar*, int32_t, const RuntimeMethod*))ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_gshared_inline)(__this, ___0_ptr, ___1_length, method);
  140. }
  141. #ifdef __clang__
  142. #pragma clang diagnostic push
  143. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  144. #pragma clang diagnostic ignored "-Wunused-variable"
  145. #endif
  146. #ifdef __clang__
  147. #pragma clang diagnostic pop
  148. #endif
  149. #ifdef __clang__
  150. #pragma clang diagnostic push
  151. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  152. #pragma clang diagnostic ignored "-Wunused-variable"
  153. #endif
  154. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m897B0264A202824D377CCD9A5221B164DE2CF9DE (String_t* ___0_filename, const RuntimeMethod* method)
  155. {
  156. {
  157. String_t* L_0 = ___0_filename;
  158. ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D(L_0, 1, 1, NULL);
  159. return;
  160. }
  161. }
  162. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_m35F14D593665968FE8F449104B66CE35EB22344D (String_t* ___0_filename, int32_t ___1_superSize, int32_t ___2_CaptureMode, const RuntimeMethod* method)
  163. {
  164. static bool s_Il2CppMethodInitialized;
  165. if (!s_Il2CppMethodInitialized)
  166. {
  167. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_RuntimeMethod_var);
  168. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_RuntimeMethod_var);
  169. s_Il2CppMethodInitialized = true;
  170. }
  171. ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 V_0;
  172. memset((&V_0), 0, sizeof(V_0));
  173. Il2CppChar* V_1 = NULL;
  174. ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E V_2;
  175. memset((&V_2), 0, sizeof(V_2));
  176. {
  177. auto __finallyBlock = il2cpp::utils::Finally([&]
  178. {
  179. FINALLY_0035:
  180. {
  181. V_1 = (Il2CppChar*)((uintptr_t)0);
  182. return;
  183. }
  184. });
  185. try
  186. {
  187. {
  188. String_t* L_0 = ___0_filename;
  189. bool L_1;
  190. L_1 = StringMarshaller_TryMarshalEmptyOrNullString_m615203C511071D59295D889AB136575DFFEA90A6_inline(L_0, (&V_2), NULL);
  191. if (L_1)
  192. {
  193. goto IL_0029_1;
  194. }
  195. }
  196. {
  197. String_t* L_2 = ___0_filename;
  198. ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 L_3;
  199. L_3 = MemoryExtensions_AsSpan_m0EB07912D71097A8B05F586158966837F5C3DB38_inline(L_2, NULL);
  200. V_0 = L_3;
  201. Il2CppChar* L_4;
  202. L_4 = ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638((&V_0), ReadOnlySpan_1_GetPinnableReference_mB710059C1A1A30270065958DE8345808C6683638_RuntimeMethod_var);
  203. V_1 = L_4;
  204. Il2CppChar* L_5 = V_1;
  205. int32_t L_6;
  206. L_6 = ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_inline((&V_0), ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_RuntimeMethod_var);
  207. ManagedSpanWrapper__ctor_mB29647A21BB87EA4DF859E5C2FA2207F47E525D2((&V_2), (void*)((uintptr_t)L_5), L_6, NULL);
  208. }
  209. IL_0029_1:
  210. {
  211. int32_t L_7 = ___1_superSize;
  212. int32_t L_8 = ___2_CaptureMode;
  213. ScreenCapture_CaptureScreenshot_Injected_m3E20317C5BEC5A7B4D7999B677345256C5B28A4F((&V_2), L_7, L_8, NULL);
  214. goto IL_0039;
  215. }
  216. }
  217. catch(Il2CppExceptionWrapper& e)
  218. {
  219. __finallyBlock.StoreException(e.ex);
  220. }
  221. }
  222. IL_0039:
  223. {
  224. return;
  225. }
  226. }
  227. IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScreenCapture_CaptureScreenshot_Injected_m3E20317C5BEC5A7B4D7999B677345256C5B28A4F (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___0_filename, int32_t ___1_superSize, int32_t ___2_CaptureMode, const RuntimeMethod* method)
  228. {
  229. typedef void (*ScreenCapture_CaptureScreenshot_Injected_m3E20317C5BEC5A7B4D7999B677345256C5B28A4F_ftn) (ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E*, int32_t, int32_t);
  230. static ScreenCapture_CaptureScreenshot_Injected_m3E20317C5BEC5A7B4D7999B677345256C5B28A4F_ftn _il2cpp_icall_func;
  231. if (!_il2cpp_icall_func)
  232. _il2cpp_icall_func = (ScreenCapture_CaptureScreenshot_Injected_m3E20317C5BEC5A7B4D7999B677345256C5B28A4F_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.ScreenCapture::CaptureScreenshot_Injected(UnityEngine.Bindings.ManagedSpanWrapper&,System.Int32,UnityEngine.ScreenCapture/StereoScreenCaptureMode)");
  233. _il2cpp_icall_func(___0_filename, ___1_superSize, ___2_CaptureMode);
  234. }
  235. #ifdef __clang__
  236. #pragma clang diagnostic pop
  237. #endif
  238. #ifdef __clang__
  239. #pragma clang diagnostic push
  240. #pragma clang diagnostic ignored "-Winvalid-offsetof"
  241. #pragma clang diagnostic ignored "-Wunused-variable"
  242. #endif
  243. #ifdef __clang__
  244. #pragma clang diagnostic pop
  245. #endif
  246. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool StringMarshaller_TryMarshalEmptyOrNullString_m615203C511071D59295D889AB136575DFFEA90A6_inline (String_t* ___0_s, ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* ___1_managedSpanWrapper, const RuntimeMethod* method)
  247. {
  248. bool V_0 = false;
  249. bool V_1 = false;
  250. bool V_2 = false;
  251. {
  252. String_t* L_0 = ___0_s;
  253. V_0 = (bool)((((RuntimeObject*)(String_t*)L_0) == ((RuntimeObject*)(RuntimeObject*)NULL))? 1 : 0);
  254. bool L_1 = V_0;
  255. if (!L_1)
  256. {
  257. goto IL_0015;
  258. }
  259. }
  260. {
  261. ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* L_2 = ___1_managedSpanWrapper;
  262. il2cpp_codegen_initobj(L_2, sizeof(ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E));
  263. V_1 = (bool)1;
  264. goto IL_0043;
  265. }
  266. IL_0015:
  267. {
  268. String_t* L_3 = ___0_s;
  269. NullCheck(L_3);
  270. int32_t L_4;
  271. L_4 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_3, NULL);
  272. V_2 = (bool)((((int32_t)L_4) == ((int32_t)0))? 1 : 0);
  273. bool L_5 = V_2;
  274. if (!L_5)
  275. {
  276. goto IL_003f;
  277. }
  278. }
  279. {
  280. ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E* L_6 = ___1_managedSpanWrapper;
  281. uintptr_t L_7;
  282. L_7 = UIntPtr_op_Explicit_mF1E7911DD5AC13B5E59EE8C7903469D12A3861E8(((int64_t)1), NULL);
  283. void* L_8;
  284. L_8 = UIntPtr_op_Explicit_m42C3EA82465934F505B4274A7CE320550A48B7B9(L_7, NULL);
  285. ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E L_9;
  286. memset((&L_9), 0, sizeof(L_9));
  287. ManagedSpanWrapper__ctor_mB29647A21BB87EA4DF859E5C2FA2207F47E525D2((&L_9), L_8, 0, NULL);
  288. *(ManagedSpanWrapper_tE7FC4BBB631B130757F8DEB15853D98FD3D5DC0E*)L_6 = L_9;
  289. V_1 = (bool)1;
  290. goto IL_0043;
  291. }
  292. IL_003f:
  293. {
  294. V_1 = (bool)0;
  295. goto IL_0043;
  296. }
  297. IL_0043:
  298. {
  299. bool L_10 = V_1;
  300. return L_10;
  301. }
  302. }
  303. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 MemoryExtensions_AsSpan_m0EB07912D71097A8B05F586158966837F5C3DB38_inline (String_t* ___0_text, const RuntimeMethod* method)
  304. {
  305. static bool s_Il2CppMethodInitialized;
  306. if (!s_Il2CppMethodInitialized)
  307. {
  308. il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_RuntimeMethod_var);
  309. s_Il2CppMethodInitialized = true;
  310. }
  311. ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 V_0;
  312. memset((&V_0), 0, sizeof(V_0));
  313. {
  314. String_t* L_0 = ___0_text;
  315. if (L_0)
  316. {
  317. goto IL_000d;
  318. }
  319. }
  320. {
  321. il2cpp_codegen_initobj((&V_0), sizeof(ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1));
  322. ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 L_1 = V_0;
  323. return L_1;
  324. }
  325. IL_000d:
  326. {
  327. String_t* L_2 = ___0_text;
  328. NullCheck(L_2);
  329. Il2CppChar* L_3;
  330. L_3 = String_GetRawStringData_m87BC50B7B314C055E27A28032D1003D42FDE411D(L_2, NULL);
  331. String_t* L_4 = ___0_text;
  332. NullCheck(L_4);
  333. int32_t L_5;
  334. L_5 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_4, NULL);
  335. ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1 L_6;
  336. memset((&L_6), 0, sizeof(L_6));
  337. ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_inline((&L_6), L_3, L_5, ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_RuntimeMethod_var);
  338. return L_6;
  339. }
  340. }
  341. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t ReadOnlySpan_1_get_Length_m36BD32453530B535FE60A8123643219FEAABC351_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, const RuntimeMethod* method)
  342. {
  343. {
  344. int32_t L_0 = __this->____length;
  345. return L_0;
  346. }
  347. }
  348. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
  349. {
  350. {
  351. int32_t L_0 = __this->____stringLength;
  352. return L_0;
  353. }
  354. }
  355. IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void ReadOnlySpan_1__ctor_m0152E50B40750679B83FF9F30CA539FFBB98EEE8_gshared_inline (ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1* __this, Il2CppChar* ___0_ptr, int32_t ___1_length, const RuntimeMethod* method)
  356. {
  357. {
  358. Il2CppChar* L_0 = ___0_ptr;
  359. ByReference_1_t7BA5A6CA164F770BC688F21C5978D368716465F5 L_1;
  360. memset((&L_1), 0, sizeof(L_1));
  361. il2cpp_codegen_by_reference_constructor((Il2CppByReference*)(&L_1), L_0);
  362. __this->____pointer = L_1;
  363. int32_t L_2 = ___1_length;
  364. __this->____length = L_2;
  365. return;
  366. }
  367. }