using System.Collections.Generic; public class AOTGenericReferences : UnityEngine.MonoBehaviour { // {{ AOT assemblies public static readonly IReadOnlyList PatchedAOTAssemblyList = new List { "System.Core.dll", "UnityEngine.CoreModule.dll", "UnityEngine.JSONSerializeModule.dll", "mscorlib.dll", }; // }} // {{ constraint implement type // }} // {{ AOT generic types // System.Action // System.Action // System.Action // System.Action // System.Action // System.ByReference // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.ArraySortHelper // System.Collections.Generic.Comparer // System.Collections.Generic.Comparer // System.Collections.Generic.Comparer // System.Collections.Generic.Comparer // System.Collections.Generic.Dictionary.Enumerator // System.Collections.Generic.Dictionary.KeyCollection.Enumerator // System.Collections.Generic.Dictionary.KeyCollection // System.Collections.Generic.Dictionary.ValueCollection.Enumerator // System.Collections.Generic.Dictionary.ValueCollection // System.Collections.Generic.Dictionary // System.Collections.Generic.EqualityComparer // System.Collections.Generic.EqualityComparer // System.Collections.Generic.HashSet.Enumerator // System.Collections.Generic.HashSet // System.Collections.Generic.HashSetEqualityComparer // System.Collections.Generic.ICollection // System.Collections.Generic.ICollection> // System.Collections.Generic.ICollection // System.Collections.Generic.ICollection // System.Collections.Generic.ICollection // System.Collections.Generic.ICollection // System.Collections.Generic.IComparer // System.Collections.Generic.IComparer // System.Collections.Generic.IComparer // System.Collections.Generic.IComparer // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerable> // System.Collections.Generic.IEnumerable> // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerable // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEnumerator> // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEnumerator // System.Collections.Generic.IEqualityComparer // System.Collections.Generic.IList // System.Collections.Generic.IList // System.Collections.Generic.IList // System.Collections.Generic.IList // System.Collections.Generic.KeyValuePair // System.Collections.Generic.KeyValuePair // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List.Enumerator // System.Collections.Generic.List // System.Collections.Generic.List // System.Collections.Generic.List // System.Collections.Generic.List // System.Collections.Generic.ObjectComparer // System.Collections.Generic.ObjectComparer // System.Collections.Generic.ObjectComparer // System.Collections.Generic.ObjectComparer // System.Collections.Generic.ObjectEqualityComparer // System.Collections.Generic.ObjectEqualityComparer // System.Collections.ObjectModel.ReadOnlyCollection // System.Collections.ObjectModel.ReadOnlyCollection // System.Collections.ObjectModel.ReadOnlyCollection // System.Collections.ObjectModel.ReadOnlyCollection // System.Comparison // System.Comparison // System.Comparison // System.Comparison // System.Func // System.Linq.Buffer // System.Linq.Enumerable.d__117 // System.Nullable // System.Predicate // System.Predicate // System.Predicate // System.Predicate // System.ReadOnlySpan // System.Span // }} public void RefMethods() { // int System.Array.IndexOf(int[],int) // int System.Array.IndexOfImpl(int[],int,int,int) // System.Void System.Array.Resize(float[]&,int) // System.Void System.Array.Resize(int[]&,int) // int System.Linq.Enumerable.Count(System.Collections.Generic.IEnumerable,System.Func) // System.Collections.Generic.IEnumerable System.Linq.Enumerable.Repeat(byte,int) // System.Collections.Generic.IEnumerable System.Linq.Enumerable.RepeatIterator(byte,int) // byte[] System.Linq.Enumerable.ToArray(System.Collections.Generic.IEnumerable) // object& System.Runtime.CompilerServices.Unsafe.As(object&) // System.Void* System.Runtime.CompilerServices.Unsafe.AsPointer(object&) // object UnityEngine.Component.GetComponent() // object UnityEngine.Component.GetComponentInChildren() // bool UnityEngine.Component.TryGetComponent(object&) // object UnityEngine.GameObject.AddComponent() // object UnityEngine.GameObject.GetComponent() // bool UnityEngine.GameObject.TryGetComponent(object&) // object UnityEngine.JsonUtility.FromJson(string) // object UnityEngine.Object.Instantiate(object,UnityEngine.Transform,bool) // object UnityEngine.Resources.GetBuiltinResource(string) } }