AOTGenericReferences.cs 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. using System.Collections.Generic;
  2. public class AOTGenericReferences : UnityEngine.MonoBehaviour
  3. {
  4. // {{ AOT assemblies
  5. public static readonly IReadOnlyList<string> PatchedAOTAssemblyList = new List<string>
  6. {
  7. "System.dll",
  8. "Unity.TextMeshPro.dll",
  9. "UnityEngine.CoreModule.dll",
  10. "UnityEngine.JSONSerializeModule.dll",
  11. "mscorlib.dll",
  12. };
  13. // }}
  14. // {{ constraint implement type
  15. // }}
  16. // {{ AOT generic types
  17. // System.Action<GameLevelState.SlotRef>
  18. // System.Action<UnityEngine.UIVertex>
  19. // System.Action<byte>
  20. // System.Action<int>
  21. // System.Action<object,object>
  22. // System.Action<object>
  23. // System.Collections.Generic.ArraySortHelper<GameLevelState.SlotRef>
  24. // System.Collections.Generic.ArraySortHelper<UnityEngine.UIVertex>
  25. // System.Collections.Generic.ArraySortHelper<int>
  26. // System.Collections.Generic.ArraySortHelper<object>
  27. // System.Collections.Generic.Comparer<GameLevelState.SlotRef>
  28. // System.Collections.Generic.Comparer<UnityEngine.UIVertex>
  29. // System.Collections.Generic.Comparer<int>
  30. // System.Collections.Generic.Comparer<object>
  31. // System.Collections.Generic.Dictionary.Enumerator<int,int>
  32. // System.Collections.Generic.Dictionary.Enumerator<int,object>
  33. // System.Collections.Generic.Dictionary.Enumerator<long,object>
  34. // System.Collections.Generic.Dictionary.Enumerator<object,object>
  35. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<int,int>
  36. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<int,object>
  37. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<long,object>
  38. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<object,object>
  39. // System.Collections.Generic.Dictionary.KeyCollection<int,int>
  40. // System.Collections.Generic.Dictionary.KeyCollection<int,object>
  41. // System.Collections.Generic.Dictionary.KeyCollection<long,object>
  42. // System.Collections.Generic.Dictionary.KeyCollection<object,object>
  43. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<int,int>
  44. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<int,object>
  45. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<long,object>
  46. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<object,object>
  47. // System.Collections.Generic.Dictionary.ValueCollection<int,int>
  48. // System.Collections.Generic.Dictionary.ValueCollection<int,object>
  49. // System.Collections.Generic.Dictionary.ValueCollection<long,object>
  50. // System.Collections.Generic.Dictionary.ValueCollection<object,object>
  51. // System.Collections.Generic.Dictionary<int,int>
  52. // System.Collections.Generic.Dictionary<int,object>
  53. // System.Collections.Generic.Dictionary<long,object>
  54. // System.Collections.Generic.Dictionary<object,object>
  55. // System.Collections.Generic.EqualityComparer<int>
  56. // System.Collections.Generic.EqualityComparer<long>
  57. // System.Collections.Generic.EqualityComparer<object>
  58. // System.Collections.Generic.ICollection<GameLevelState.SlotRef>
  59. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<int,int>>
  60. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<int,object>>
  61. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<long,object>>
  62. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,object>>
  63. // System.Collections.Generic.ICollection<UnityEngine.UIVertex>
  64. // System.Collections.Generic.ICollection<int>
  65. // System.Collections.Generic.ICollection<object>
  66. // System.Collections.Generic.IComparer<GameLevelState.SlotRef>
  67. // System.Collections.Generic.IComparer<UnityEngine.UIVertex>
  68. // System.Collections.Generic.IComparer<int>
  69. // System.Collections.Generic.IComparer<object>
  70. // System.Collections.Generic.IEnumerable<GameLevelState.SlotRef>
  71. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<int,int>>
  72. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<int,object>>
  73. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<long,object>>
  74. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,object>>
  75. // System.Collections.Generic.IEnumerable<UnityEngine.UIVertex>
  76. // System.Collections.Generic.IEnumerable<int>
  77. // System.Collections.Generic.IEnumerable<object>
  78. // System.Collections.Generic.IEnumerator<GameLevelState.SlotRef>
  79. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<int,int>>
  80. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<int,object>>
  81. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<long,object>>
  82. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<object,object>>
  83. // System.Collections.Generic.IEnumerator<UnityEngine.UIVertex>
  84. // System.Collections.Generic.IEnumerator<int>
  85. // System.Collections.Generic.IEnumerator<object>
  86. // System.Collections.Generic.IEqualityComparer<int>
  87. // System.Collections.Generic.IEqualityComparer<long>
  88. // System.Collections.Generic.IEqualityComparer<object>
  89. // System.Collections.Generic.IList<GameLevelState.SlotRef>
  90. // System.Collections.Generic.IList<UnityEngine.UIVertex>
  91. // System.Collections.Generic.IList<int>
  92. // System.Collections.Generic.IList<object>
  93. // System.Collections.Generic.KeyValuePair<int,int>
  94. // System.Collections.Generic.KeyValuePair<int,object>
  95. // System.Collections.Generic.KeyValuePair<long,object>
  96. // System.Collections.Generic.KeyValuePair<object,object>
  97. // System.Collections.Generic.LinkedList.Enumerator<object>
  98. // System.Collections.Generic.LinkedList<object>
  99. // System.Collections.Generic.LinkedListNode<object>
  100. // System.Collections.Generic.List.Enumerator<GameLevelState.SlotRef>
  101. // System.Collections.Generic.List.Enumerator<UnityEngine.UIVertex>
  102. // System.Collections.Generic.List.Enumerator<int>
  103. // System.Collections.Generic.List.Enumerator<object>
  104. // System.Collections.Generic.List<GameLevelState.SlotRef>
  105. // System.Collections.Generic.List<UnityEngine.UIVertex>
  106. // System.Collections.Generic.List<int>
  107. // System.Collections.Generic.List<object>
  108. // System.Collections.Generic.ObjectComparer<GameLevelState.SlotRef>
  109. // System.Collections.Generic.ObjectComparer<UnityEngine.UIVertex>
  110. // System.Collections.Generic.ObjectComparer<int>
  111. // System.Collections.Generic.ObjectComparer<object>
  112. // System.Collections.Generic.ObjectEqualityComparer<int>
  113. // System.Collections.Generic.ObjectEqualityComparer<long>
  114. // System.Collections.Generic.ObjectEqualityComparer<object>
  115. // System.Collections.ObjectModel.ReadOnlyCollection<GameLevelState.SlotRef>
  116. // System.Collections.ObjectModel.ReadOnlyCollection<UnityEngine.UIVertex>
  117. // System.Collections.ObjectModel.ReadOnlyCollection<int>
  118. // System.Collections.ObjectModel.ReadOnlyCollection<object>
  119. // System.Comparison<GameLevelState.SlotRef>
  120. // System.Comparison<UnityEngine.UIVertex>
  121. // System.Comparison<int>
  122. // System.Comparison<object>
  123. // System.Predicate<GameLevelState.SlotRef>
  124. // System.Predicate<UnityEngine.UIVertex>
  125. // System.Predicate<int>
  126. // System.Predicate<object>
  127. // System.ValueTuple<object,object>
  128. // TMPro.FastAction<object>
  129. // }}
  130. public void RefMethods()
  131. {
  132. // System.Void System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start<BootFlowController.<Start>d__16>(BootFlowController.<Start>d__16&)
  133. // object& System.Runtime.CompilerServices.Unsafe.As<object,object>(object&)
  134. // System.Void* System.Runtime.CompilerServices.Unsafe.AsPointer<object>(object&)
  135. // object UnityEngine.Component.GetComponent<object>()
  136. // object UnityEngine.Component.GetComponentInChildren<object>(bool)
  137. // object UnityEngine.Component.GetComponentInParent<object>()
  138. // object[] UnityEngine.Component.GetComponentsInChildren<object>(bool)
  139. // object UnityEngine.GameObject.AddComponent<object>()
  140. // object UnityEngine.GameObject.GetComponent<object>()
  141. // object UnityEngine.GameObject.GetComponentInChildren<object>(bool)
  142. // object[] UnityEngine.GameObject.GetComponentsInChildren<object>(bool)
  143. // object UnityEngine.JsonUtility.FromJson<object>(string)
  144. // object UnityEngine.Object.FindFirstObjectByType<object>()
  145. // object UnityEngine.Object.Instantiate<object>(object,UnityEngine.Transform)
  146. // object UnityEngine.Object.Instantiate<object>(object,UnityEngine.Transform,bool)
  147. // object[] UnityEngine.Resources.ConvertObjects<object>(UnityEngine.Object[])
  148. // object UnityEngine.Resources.Load<object>(string)
  149. // object[] UnityEngine.Resources.LoadAll<object>(string)
  150. }
  151. }