| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- using System.Collections.Generic;
- public class AOTGenericReferences : UnityEngine.MonoBehaviour
- {
- // {{ AOT assemblies
- public static readonly IReadOnlyList<string> PatchedAOTAssemblyList = new List<string>
- {
- "System.Core.dll",
- "UnityEngine.CoreModule.dll",
- "UnityEngine.JSONSerializeModule.dll",
- "mscorlib.dll",
- };
- // }}
- // {{ constraint implement type
- // }}
- // {{ AOT generic types
- // System.Action<UnityEngine.Vector2>
- // System.Action<UnityEngine.Vector2Int>
- // System.Action<byte>
- // System.Action<int,int,int,int>
- // System.Action<int>
- // System.Action<object>
- // System.Collections.Generic.ArraySortHelper<UnityEngine.Vector2Int>
- // System.Collections.Generic.ArraySortHelper<int>
- // System.Collections.Generic.ArraySortHelper<object>
- // System.Collections.Generic.Comparer<UnityEngine.Vector2Int>
- // System.Collections.Generic.Comparer<double>
- // System.Collections.Generic.Comparer<float>
- // System.Collections.Generic.Comparer<int>
- // System.Collections.Generic.Comparer<object>
- // System.Collections.Generic.Dictionary.Enumerator<object,object>
- // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<object,object>
- // System.Collections.Generic.Dictionary.KeyCollection<object,object>
- // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<object,object>
- // System.Collections.Generic.Dictionary.ValueCollection<object,object>
- // System.Collections.Generic.Dictionary<object,object>
- // System.Collections.Generic.EqualityComparer<int>
- // System.Collections.Generic.EqualityComparer<object>
- // System.Collections.Generic.HashSet.Enumerator<int>
- // System.Collections.Generic.HashSet.Enumerator<object>
- // System.Collections.Generic.HashSet<int>
- // System.Collections.Generic.HashSet<object>
- // System.Collections.Generic.HashSetEqualityComparer<int>
- // System.Collections.Generic.HashSetEqualityComparer<object>
- // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<object,object>>
- // System.Collections.Generic.ICollection<UnityEngine.Vector2>
- // System.Collections.Generic.ICollection<UnityEngine.Vector2Int>
- // System.Collections.Generic.ICollection<float>
- // System.Collections.Generic.ICollection<int>
- // System.Collections.Generic.ICollection<object>
- // System.Collections.Generic.IComparer<UnityEngine.Vector2Int>
- // System.Collections.Generic.IComparer<double>
- // System.Collections.Generic.IComparer<float>
- // System.Collections.Generic.IComparer<int>
- // System.Collections.Generic.IComparer<object>
- // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,object>>
- // System.Collections.Generic.IEnumerable<UnityEngine.Vector2>
- // System.Collections.Generic.IEnumerable<UnityEngine.Vector2Int>
- // System.Collections.Generic.IEnumerable<byte>
- // System.Collections.Generic.IEnumerable<float>
- // System.Collections.Generic.IEnumerable<int>
- // System.Collections.Generic.IEnumerable<object>
- // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<object,object>>
- // System.Collections.Generic.IEnumerator<UnityEngine.Vector2>
- // System.Collections.Generic.IEnumerator<UnityEngine.Vector2Int>
- // System.Collections.Generic.IEnumerator<byte>
- // System.Collections.Generic.IEnumerator<float>
- // System.Collections.Generic.IEnumerator<int>
- // System.Collections.Generic.IEnumerator<object>
- // System.Collections.Generic.IEqualityComparer<int>
- // System.Collections.Generic.IEqualityComparer<object>
- // System.Collections.Generic.IList<UnityEngine.Vector2Int>
- // System.Collections.Generic.IList<int>
- // System.Collections.Generic.IList<object>
- // System.Collections.Generic.IReadOnlyCollection<int>
- // System.Collections.Generic.IReadOnlyList<int>
- // System.Collections.Generic.KeyValuePair<object,object>
- // System.Collections.Generic.List.Enumerator<UnityEngine.Vector2Int>
- // System.Collections.Generic.List.Enumerator<int>
- // System.Collections.Generic.List.Enumerator<object>
- // System.Collections.Generic.List<UnityEngine.Vector2Int>
- // System.Collections.Generic.List<int>
- // System.Collections.Generic.List<object>
- // System.Collections.Generic.ObjectComparer<UnityEngine.Vector2Int>
- // System.Collections.Generic.ObjectComparer<double>
- // System.Collections.Generic.ObjectComparer<float>
- // System.Collections.Generic.ObjectComparer<int>
- // System.Collections.Generic.ObjectComparer<object>
- // System.Collections.Generic.ObjectEqualityComparer<int>
- // System.Collections.Generic.ObjectEqualityComparer<object>
- // System.Collections.Generic.Queue.Enumerator<object>
- // System.Collections.Generic.Queue<object>
- // System.Collections.Generic.Stack.Enumerator<object>
- // System.Collections.Generic.Stack<object>
- // System.Collections.ObjectModel.ReadOnlyCollection<UnityEngine.Vector2Int>
- // System.Collections.ObjectModel.ReadOnlyCollection<int>
- // System.Collections.ObjectModel.ReadOnlyCollection<object>
- // System.Comparison<UnityEngine.Vector2Int>
- // System.Comparison<int>
- // System.Comparison<object>
- // System.Func<System.DateTime>
- // System.Func<UnityEngine.Vector2,byte>
- // System.Func<byte,byte>
- // System.Func<float,byte>
- // System.Func<int,byte>
- // System.Func<int,float>
- // System.Func<int,int>
- // System.Func<int,object>
- // System.Func<object,UnityEngine.Vector2>
- // System.Func<object,byte>
- // System.Func<object,double>
- // System.Func<object,float>
- // System.Func<object,int>
- // System.Func<object,object>
- // System.Linq.Buffer<UnityEngine.Vector2>
- // System.Linq.Buffer<float>
- // System.Linq.Buffer<int>
- // System.Linq.Buffer<object>
- // System.Linq.Enumerable.<DefaultIfEmptyIterator>d__95<int>
- // System.Linq.Enumerable.<DistinctIterator>d__68<int>
- // System.Linq.Enumerable.<RepeatIterator>d__117<int>
- // System.Linq.Enumerable.<TakeIterator>d__25<object>
- // System.Linq.Enumerable.Iterator<UnityEngine.Vector2>
- // System.Linq.Enumerable.Iterator<float>
- // System.Linq.Enumerable.Iterator<int>
- // System.Linq.Enumerable.Iterator<object>
- // System.Linq.Enumerable.WhereArrayIterator<int>
- // System.Linq.Enumerable.WhereArrayIterator<object>
- // System.Linq.Enumerable.WhereEnumerableIterator<UnityEngine.Vector2>
- // System.Linq.Enumerable.WhereEnumerableIterator<float>
- // System.Linq.Enumerable.WhereEnumerableIterator<int>
- // System.Linq.Enumerable.WhereEnumerableIterator<object>
- // System.Linq.Enumerable.WhereListIterator<int>
- // System.Linq.Enumerable.WhereListIterator<object>
- // System.Linq.Enumerable.WhereSelectArrayIterator<int,object>
- // System.Linq.Enumerable.WhereSelectArrayIterator<object,UnityEngine.Vector2>
- // System.Linq.Enumerable.WhereSelectArrayIterator<object,float>
- // System.Linq.Enumerable.WhereSelectArrayIterator<object,int>
- // System.Linq.Enumerable.WhereSelectArrayIterator<object,object>
- // System.Linq.Enumerable.WhereSelectEnumerableIterator<int,object>
- // System.Linq.Enumerable.WhereSelectEnumerableIterator<object,UnityEngine.Vector2>
- // System.Linq.Enumerable.WhereSelectEnumerableIterator<object,float>
- // System.Linq.Enumerable.WhereSelectEnumerableIterator<object,int>
- // System.Linq.Enumerable.WhereSelectEnumerableIterator<object,object>
- // System.Linq.Enumerable.WhereSelectListIterator<int,object>
- // System.Linq.Enumerable.WhereSelectListIterator<object,UnityEngine.Vector2>
- // System.Linq.Enumerable.WhereSelectListIterator<object,float>
- // System.Linq.Enumerable.WhereSelectListIterator<object,int>
- // System.Linq.Enumerable.WhereSelectListIterator<object,object>
- // System.Linq.EnumerableSorter<int,float>
- // System.Linq.EnumerableSorter<int,int>
- // System.Linq.EnumerableSorter<int>
- // System.Linq.EnumerableSorter<object,double>
- // System.Linq.EnumerableSorter<object,int>
- // System.Linq.EnumerableSorter<object>
- // System.Linq.IOrderedEnumerable<int>
- // System.Linq.OrderedEnumerable.<GetEnumerator>d__1<int>
- // System.Linq.OrderedEnumerable.<GetEnumerator>d__1<object>
- // System.Linq.OrderedEnumerable<int,float>
- // System.Linq.OrderedEnumerable<int,int>
- // System.Linq.OrderedEnumerable<int>
- // System.Linq.OrderedEnumerable<object,double>
- // System.Linq.OrderedEnumerable<object,int>
- // System.Linq.OrderedEnumerable<object>
- // System.Linq.Set<int>
- // System.Nullable<UnityEngine.Color>
- // System.Nullable<int>
- // System.Predicate<UnityEngine.Vector2Int>
- // System.Predicate<int>
- // System.Predicate<object>
- // }}
- public void RefMethods()
- {
- // int System.Array.FindIndex<object>(object[],System.Predicate<object>)
- // int System.Array.FindIndex<object>(object[],int,int,System.Predicate<object>)
- // bool System.Linq.Enumerable.All<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,bool>)
- // bool System.Linq.Enumerable.Any<int>(System.Collections.Generic.IEnumerable<int>,System.Func<int,bool>)
- // bool System.Linq.Enumerable.Any<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,bool>)
- // int System.Linq.Enumerable.Count<byte>(System.Collections.Generic.IEnumerable<byte>,System.Func<byte,bool>)
- // int System.Linq.Enumerable.Count<int>(System.Collections.Generic.IEnumerable<int>)
- // int System.Linq.Enumerable.Count<int>(System.Collections.Generic.IEnumerable<int>,System.Func<int,bool>)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.DefaultIfEmpty<int>(System.Collections.Generic.IEnumerable<int>,int)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.DefaultIfEmptyIterator<int>(System.Collections.Generic.IEnumerable<int>,int)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.Distinct<int>(System.Collections.Generic.IEnumerable<int>)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.DistinctIterator<int>(System.Collections.Generic.IEnumerable<int>,System.Collections.Generic.IEqualityComparer<int>)
- // int System.Linq.Enumerable.First<int>(System.Collections.Generic.IEnumerable<int>)
- // object System.Linq.Enumerable.First<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,bool>)
- // float System.Linq.Enumerable.Max<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,float>)
- // int System.Linq.Enumerable.Max<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,int>)
- // float System.Linq.Enumerable.Min<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,float>)
- // int System.Linq.Enumerable.Min<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,int>)
- // System.Linq.IOrderedEnumerable<int> System.Linq.Enumerable.OrderBy<int,float>(System.Collections.Generic.IEnumerable<int>,System.Func<int,float>)
- // System.Linq.IOrderedEnumerable<int> System.Linq.Enumerable.OrderBy<int,int>(System.Collections.Generic.IEnumerable<int>,System.Func<int,int>)
- // System.Linq.IOrderedEnumerable<object> System.Linq.Enumerable.OrderBy<object,double>(System.Collections.Generic.IEnumerable<object>,System.Func<object,double>)
- // System.Linq.IOrderedEnumerable<object> System.Linq.Enumerable.OrderBy<object,int>(System.Collections.Generic.IEnumerable<object>,System.Func<object,int>)
- // System.Linq.IOrderedEnumerable<int> System.Linq.Enumerable.OrderByDescending<int,int>(System.Collections.Generic.IEnumerable<int>,System.Func<int,int>)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.Repeat<int>(int,int)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.RepeatIterator<int>(int,int)
- // System.Collections.Generic.IEnumerable<UnityEngine.Vector2> System.Linq.Enumerable.Select<object,UnityEngine.Vector2>(System.Collections.Generic.IEnumerable<object>,System.Func<object,UnityEngine.Vector2>)
- // System.Collections.Generic.IEnumerable<float> System.Linq.Enumerable.Select<object,float>(System.Collections.Generic.IEnumerable<object>,System.Func<object,float>)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.Select<object,int>(System.Collections.Generic.IEnumerable<object>,System.Func<object,int>)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.Select<int,object>(System.Collections.Generic.IEnumerable<int>,System.Func<int,object>)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.Select<object,object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,object>)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.Take<object>(System.Collections.Generic.IEnumerable<object>,int)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.TakeIterator<object>(System.Collections.Generic.IEnumerable<object>,int)
- // System.Linq.IOrderedEnumerable<int> System.Linq.Enumerable.ThenBy<int,int>(System.Linq.IOrderedEnumerable<int>,System.Func<int,int>)
- // System.Linq.IOrderedEnumerable<int> System.Linq.Enumerable.ThenByDescending<int,int>(System.Linq.IOrderedEnumerable<int>,System.Func<int,int>)
- // UnityEngine.Vector2[] System.Linq.Enumerable.ToArray<UnityEngine.Vector2>(System.Collections.Generic.IEnumerable<UnityEngine.Vector2>)
- // float[] System.Linq.Enumerable.ToArray<float>(System.Collections.Generic.IEnumerable<float>)
- // object[] System.Linq.Enumerable.ToArray<object>(System.Collections.Generic.IEnumerable<object>)
- // System.Collections.Generic.List<int> System.Linq.Enumerable.ToList<int>(System.Collections.Generic.IEnumerable<int>)
- // System.Collections.Generic.List<object> System.Linq.Enumerable.ToList<object>(System.Collections.Generic.IEnumerable<object>)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.Where<int>(System.Collections.Generic.IEnumerable<int>,System.Func<int,bool>)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.Where<object>(System.Collections.Generic.IEnumerable<object>,System.Func<object,bool>)
- // System.Collections.Generic.IEnumerable<UnityEngine.Vector2> System.Linq.Enumerable.Iterator<object>.Select<UnityEngine.Vector2>(System.Func<object,UnityEngine.Vector2>)
- // System.Collections.Generic.IEnumerable<float> System.Linq.Enumerable.Iterator<object>.Select<float>(System.Func<object,float>)
- // System.Collections.Generic.IEnumerable<int> System.Linq.Enumerable.Iterator<object>.Select<int>(System.Func<object,int>)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.Iterator<int>.Select<object>(System.Func<int,object>)
- // System.Collections.Generic.IEnumerable<object> System.Linq.Enumerable.Iterator<object>.Select<object>(System.Func<object,object>)
- // System.Linq.IOrderedEnumerable<int> System.Linq.IOrderedEnumerable<int>.CreateOrderedEnumerable<int>(System.Func<int,int>,System.Collections.Generic.IComparer<int>,bool)
- // object UnityEngine.Component.GetComponent<object>()
- // object UnityEngine.Component.GetComponentInChildren<object>()
- // object[] UnityEngine.Component.GetComponentsInChildren<object>()
- // object[] UnityEngine.Component.GetComponentsInChildren<object>(bool)
- // object UnityEngine.GameObject.AddComponent<object>()
- // object UnityEngine.GameObject.GetComponent<object>()
- // object[] UnityEngine.GameObject.GetComponentsInChildren<object>(bool)
- // object UnityEngine.JsonUtility.FromJson<object>(string)
- // object UnityEngine.Object.FindAnyObjectByType<object>()
- // object[] UnityEngine.Resources.ConvertObjects<object>(UnityEngine.Object[])
- // object UnityEngine.Resources.Load<object>(string)
- // object[] UnityEngine.Resources.LoadAll<object>(string)
- // object UnityEngine.ScriptableObject.CreateInstance<object>()
- }
- }
|