AOTGenericReferences.cs 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. "LitJson.dll",
  8. "UnityEngine.AssetBundleModule.dll",
  9. "UnityEngine.CoreModule.dll",
  10. "mscorlib.dll",
  11. };
  12. // }}
  13. // {{ constraint implement type
  14. // }}
  15. // {{ AOT generic types
  16. // System.Action<Entry.MyVec3>
  17. // System.Action<object>
  18. // System.Collections.Generic.ArraySortHelper<Entry.MyVec3>
  19. // System.Collections.Generic.ArraySortHelper<object>
  20. // System.Collections.Generic.Comparer<Entry.MyVec3>
  21. // System.Collections.Generic.Comparer<object>
  22. // System.Collections.Generic.Dictionary.Enumerator<object,object>
  23. // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<object,object>
  24. // System.Collections.Generic.Dictionary.KeyCollection<object,object>
  25. // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<object,object>
  26. // System.Collections.Generic.Dictionary.ValueCollection<object,object>
  27. // System.Collections.Generic.Dictionary<object,object>
  28. // System.Collections.Generic.EqualityComparer<object>
  29. // System.Collections.Generic.ICollection<Entry.MyVec3>
  30. // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,object>>
  31. // System.Collections.Generic.ICollection<object>
  32. // System.Collections.Generic.IComparer<Entry.MyVec3>
  33. // System.Collections.Generic.IComparer<object>
  34. // System.Collections.Generic.IDictionary<object,LitJson.ArrayMetadata>
  35. // System.Collections.Generic.IDictionary<object,LitJson.ObjectMetadata>
  36. // System.Collections.Generic.IDictionary<object,LitJson.PropertyMetadata>
  37. // System.Collections.Generic.IDictionary<object,object>
  38. // System.Collections.Generic.IEnumerable<Entry.MyVec3>
  39. // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,object>>
  40. // System.Collections.Generic.IEnumerable<object>
  41. // System.Collections.Generic.IEnumerator<Entry.MyVec3>
  42. // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<object,object>>
  43. // System.Collections.Generic.IEnumerator<object>
  44. // System.Collections.Generic.IEqualityComparer<object>
  45. // System.Collections.Generic.IList<Entry.MyVec3>
  46. // System.Collections.Generic.IList<object>
  47. // System.Collections.Generic.KeyValuePair<object,object>
  48. // System.Collections.Generic.List.Enumerator<Entry.MyVec3>
  49. // System.Collections.Generic.List.Enumerator<object>
  50. // System.Collections.Generic.List<Entry.MyVec3>
  51. // System.Collections.Generic.List<object>
  52. // System.Collections.Generic.ObjectComparer<Entry.MyVec3>
  53. // System.Collections.Generic.ObjectComparer<object>
  54. // System.Collections.Generic.ObjectEqualityComparer<object>
  55. // System.Collections.ObjectModel.ReadOnlyCollection<Entry.MyVec3>
  56. // System.Collections.ObjectModel.ReadOnlyCollection<object>
  57. // System.Comparison<Entry.MyVec3>
  58. // System.Comparison<object>
  59. // System.Predicate<Entry.MyVec3>
  60. // System.Predicate<object>
  61. // System.Runtime.CompilerServices.ConditionalWeakTable.CreateValueCallback<object,object>
  62. // System.Runtime.CompilerServices.ConditionalWeakTable.Enumerator<object,object>
  63. // System.Runtime.CompilerServices.ConditionalWeakTable<object,object>
  64. // UnityEngine.Events.InvokableCall<object>
  65. // UnityEngine.Events.UnityAction<object>
  66. // UnityEngine.Events.UnityEvent<object>
  67. // }}
  68. public void RefMethods()
  69. {
  70. // object LitJson.JsonMapper.ToObject<object>(string)
  71. // object UnityEngine.AssetBundle.LoadAsset<object>(string)
  72. // object UnityEngine.Component.GetComponent<object>()
  73. // object UnityEngine.GameObject.AddComponent<object>()
  74. // object UnityEngine.GameObject.GetComponent<object>()
  75. // object UnityEngine.Object.FindObjectOfType<object>()
  76. // object UnityEngine.Object.Instantiate<object>(object,UnityEngine.Vector3,UnityEngine.Quaternion)
  77. }
  78. }