System.Runtime.CompilerServices.Unsafe_CodeGen.c 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #include "pch-c.h"
  2. #ifndef _MSC_VER
  3. # include <alloca.h>
  4. #else
  5. # include <malloc.h>
  6. #endif
  7. #include "codegen/il2cpp-codegen-metadata.h"
  8. // 0x00000001 T System.Runtime.CompilerServices.Unsafe::Read(System.Void*)
  9. // 0x00000002 T System.Runtime.CompilerServices.Unsafe::ReadUnaligned(System.Byte&)
  10. // 0x00000003 System.Void System.Runtime.CompilerServices.Unsafe::WriteUnaligned(System.Byte&,T)
  11. // 0x00000004 System.Void* System.Runtime.CompilerServices.Unsafe::AsPointer(T&)
  12. // 0x00000005 System.Void System.Runtime.CompilerServices.Unsafe::SkipInit(T&)
  13. // 0x00000006 System.Int32 System.Runtime.CompilerServices.Unsafe::SizeOf()
  14. // 0x00000007 System.Void System.Runtime.CompilerServices.Unsafe::CopyBlock(System.Byte&,System.Byte&,System.UInt32)
  15. extern void Unsafe_CopyBlock_mEB2CB6E517E5DB6C204029FD2E458B110AEE8FC7 (void);
  16. // 0x00000008 System.Void System.Runtime.CompilerServices.Unsafe::CopyBlockUnaligned(System.Byte&,System.Byte&,System.UInt32)
  17. extern void Unsafe_CopyBlockUnaligned_m4B9A634A3C08AEED469CA7150F24B1B553A0216C (void);
  18. // 0x00000009 System.Void System.Runtime.CompilerServices.Unsafe::InitBlockUnaligned(System.Void*,System.Byte,System.UInt32)
  19. extern void Unsafe_InitBlockUnaligned_mDBC18343453EDA9D3974E125987D6774C5257F2F (void);
  20. // 0x0000000A System.Void System.Runtime.CompilerServices.Unsafe::InitBlockUnaligned(System.Byte&,System.Byte,System.UInt32)
  21. extern void Unsafe_InitBlockUnaligned_m68B5C8F29E67BD60711F6E9A841EB06C08B3D406 (void);
  22. // 0x0000000B T System.Runtime.CompilerServices.Unsafe::As(System.Object)
  23. // 0x0000000C T& System.Runtime.CompilerServices.Unsafe::AsRef(System.Void*)
  24. // 0x0000000D T& System.Runtime.CompilerServices.Unsafe::AsRef(T&)
  25. // 0x0000000E TTo& System.Runtime.CompilerServices.Unsafe::As(TFrom&)
  26. // 0x0000000F T& System.Runtime.CompilerServices.Unsafe::Add(T&,System.Int32)
  27. // 0x00000010 System.Void* System.Runtime.CompilerServices.Unsafe::Add(System.Void*,System.Int32)
  28. // 0x00000011 T& System.Runtime.CompilerServices.Unsafe::Add(T&,System.IntPtr)
  29. // 0x00000012 T& System.Runtime.CompilerServices.Unsafe::AddByteOffset(T&,System.IntPtr)
  30. // 0x00000013 T& System.Runtime.CompilerServices.Unsafe::Subtract(T&,System.Int32)
  31. // 0x00000014 System.IntPtr System.Runtime.CompilerServices.Unsafe::ByteOffset(T&,T&)
  32. // 0x00000015 System.Boolean System.Runtime.CompilerServices.Unsafe::AreSame(T&,T&)
  33. // 0x00000016 System.Boolean System.Runtime.CompilerServices.Unsafe::IsAddressLessThan(T&,T&)
  34. // 0x00000017 System.Void System.Runtime.Versioning.NonVersionableAttribute::.ctor()
  35. extern void NonVersionableAttribute__ctor_m76289A4A00F259E5B5FC95BA62D1CB6D13466EA8 (void);
  36. // 0x00000018 System.Void System.Runtime.CompilerServices.IsReadOnlyAttribute::.ctor()
  37. extern void IsReadOnlyAttribute__ctor_m835F2A578DB494301E752B9F715E5595CF841B3B (void);
  38. static Il2CppMethodPointer s_methodPointers[24] =
  39. {
  40. NULL,
  41. NULL,
  42. NULL,
  43. NULL,
  44. NULL,
  45. NULL,
  46. Unsafe_CopyBlock_mEB2CB6E517E5DB6C204029FD2E458B110AEE8FC7,
  47. Unsafe_CopyBlockUnaligned_m4B9A634A3C08AEED469CA7150F24B1B553A0216C,
  48. Unsafe_InitBlockUnaligned_mDBC18343453EDA9D3974E125987D6774C5257F2F,
  49. Unsafe_InitBlockUnaligned_m68B5C8F29E67BD60711F6E9A841EB06C08B3D406,
  50. NULL,
  51. NULL,
  52. NULL,
  53. NULL,
  54. NULL,
  55. NULL,
  56. NULL,
  57. NULL,
  58. NULL,
  59. NULL,
  60. NULL,
  61. NULL,
  62. NonVersionableAttribute__ctor_m76289A4A00F259E5B5FC95BA62D1CB6D13466EA8,
  63. IsReadOnlyAttribute__ctor_m835F2A578DB494301E752B9F715E5595CF841B3B,
  64. };
  65. static const int32_t s_InvokerIndices[24] =
  66. {
  67. -1,
  68. -1,
  69. -1,
  70. -1,
  71. -1,
  72. -1,
  73. 11906,
  74. 11906,
  75. 11924,
  76. 11924,
  77. -1,
  78. -1,
  79. -1,
  80. -1,
  81. -1,
  82. -1,
  83. -1,
  84. -1,
  85. -1,
  86. -1,
  87. -1,
  88. -1,
  89. 8645,
  90. 8645,
  91. };
  92. static const Il2CppTokenRangePair s_rgctxIndices[5] =
  93. {
  94. { 0x06000006, { 0, 1 } },
  95. { 0x0600000F, { 1, 1 } },
  96. { 0x06000010, { 2, 1 } },
  97. { 0x06000011, { 3, 1 } },
  98. { 0x06000013, { 4, 1 } },
  99. };
  100. extern const uint32_t g_rgctx_T_tB05ECAAAEDF44D498FD1EAF2F74F9C6C78425BF5;
  101. extern const uint32_t g_rgctx_T_t1B5EA1CCC461CFBA4811851634B73C8BF9BB903F;
  102. extern const uint32_t g_rgctx_T_t6578FD8D25904745DD1BFDC5BD3EE2B2C1998DCE;
  103. extern const uint32_t g_rgctx_T_tD7E72960443CB9ADFAC5FC67418B0B2B5CEF6544;
  104. extern const uint32_t g_rgctx_T_t24DF7B2681C56DD14D28A9788743C05F958BA8F1;
  105. static const Il2CppRGCTXDefinition s_rgctxValues[5] =
  106. {
  107. { (Il2CppRGCTXDataType)2, (const Il2CppRGCTXDefinitionData *)&g_rgctx_T_tB05ECAAAEDF44D498FD1EAF2F74F9C6C78425BF5 },
  108. { (Il2CppRGCTXDataType)2, (const Il2CppRGCTXDefinitionData *)&g_rgctx_T_t1B5EA1CCC461CFBA4811851634B73C8BF9BB903F },
  109. { (Il2CppRGCTXDataType)2, (const Il2CppRGCTXDefinitionData *)&g_rgctx_T_t6578FD8D25904745DD1BFDC5BD3EE2B2C1998DCE },
  110. { (Il2CppRGCTXDataType)2, (const Il2CppRGCTXDefinitionData *)&g_rgctx_T_tD7E72960443CB9ADFAC5FC67418B0B2B5CEF6544 },
  111. { (Il2CppRGCTXDataType)2, (const Il2CppRGCTXDefinitionData *)&g_rgctx_T_t24DF7B2681C56DD14D28A9788743C05F958BA8F1 },
  112. };
  113. extern const CustomAttributesCacheGenerator g_System_Runtime_CompilerServices_Unsafe_AttributeGenerators[];
  114. IL2CPP_EXTERN_C const Il2CppCodeGenModule g_System_Runtime_CompilerServices_Unsafe_CodeGenModule;
  115. const Il2CppCodeGenModule g_System_Runtime_CompilerServices_Unsafe_CodeGenModule =
  116. {
  117. "System.Runtime.CompilerServices.Unsafe.dll",
  118. 24,
  119. s_methodPointers,
  120. 0,
  121. NULL,
  122. s_InvokerIndices,
  123. 0,
  124. NULL,
  125. 5,
  126. s_rgctxIndices,
  127. 5,
  128. s_rgctxValues,
  129. NULL,
  130. g_System_Runtime_CompilerServices_Unsafe_AttributeGenerators,
  131. NULL, // module initializer,
  132. NULL,
  133. NULL,
  134. NULL,
  135. };