| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- 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<DiamondArrow.Cell>
- // System.Action<UnityEngine.Vector2>
- // System.Action<byte>
- // System.Action<int>
- // System.Action<object>
- // System.ByReference<ushort>
- // System.Collections.Generic.ArraySortHelper<DiamondArrow.Cell>
- // System.Collections.Generic.ArraySortHelper<UnityEngine.Vector2>
- // System.Collections.Generic.ArraySortHelper<int>
- // System.Collections.Generic.ArraySortHelper<object>
- // System.Collections.Generic.Comparer<DiamondArrow.Cell>
- // System.Collections.Generic.Comparer<UnityEngine.Vector2>
- // System.Collections.Generic.Comparer<int>
- // System.Collections.Generic.Comparer<object>
- // System.Collections.Generic.Dictionary.Enumerator<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.Dictionary.KeyCollection.Enumerator<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.Dictionary.KeyCollection<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.Dictionary.ValueCollection.Enumerator<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.Dictionary.ValueCollection<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.Dictionary<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.EqualityComparer<DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.EqualityComparer<int>
- // System.Collections.Generic.HashSet.Enumerator<int>
- // System.Collections.Generic.HashSet<int>
- // System.Collections.Generic.HashSetEqualityComparer<int>
- // System.Collections.Generic.ICollection<DiamondArrow.Cell>
- // System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<int,DiamondArrow.ArrowBoard.Exit>>
- // System.Collections.Generic.ICollection<UnityEngine.Vector2>
- // System.Collections.Generic.ICollection<byte>
- // System.Collections.Generic.ICollection<int>
- // System.Collections.Generic.ICollection<object>
- // System.Collections.Generic.IComparer<DiamondArrow.Cell>
- // System.Collections.Generic.IComparer<UnityEngine.Vector2>
- // System.Collections.Generic.IComparer<int>
- // System.Collections.Generic.IComparer<object>
- // System.Collections.Generic.IEnumerable<DiamondArrow.Cell>
- // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<int,DiamondArrow.ArrowBoard.Exit>>
- // System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<object,object>>
- // System.Collections.Generic.IEnumerable<UnityEngine.Vector2>
- // System.Collections.Generic.IEnumerable<byte>
- // System.Collections.Generic.IEnumerable<int>
- // System.Collections.Generic.IEnumerable<object>
- // System.Collections.Generic.IEnumerator<DiamondArrow.Cell>
- // System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<int,DiamondArrow.ArrowBoard.Exit>>
- // System.Collections.Generic.IEnumerator<UnityEngine.Vector2>
- // System.Collections.Generic.IEnumerator<byte>
- // System.Collections.Generic.IEnumerator<int>
- // System.Collections.Generic.IEnumerator<object>
- // System.Collections.Generic.IEqualityComparer<int>
- // System.Collections.Generic.IList<DiamondArrow.Cell>
- // System.Collections.Generic.IList<UnityEngine.Vector2>
- // System.Collections.Generic.IList<int>
- // System.Collections.Generic.IList<object>
- // System.Collections.Generic.KeyValuePair<int,DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.KeyValuePair<object,object>
- // System.Collections.Generic.List.Enumerator<DiamondArrow.Cell>
- // System.Collections.Generic.List.Enumerator<UnityEngine.Vector2>
- // System.Collections.Generic.List.Enumerator<int>
- // System.Collections.Generic.List.Enumerator<object>
- // System.Collections.Generic.List<DiamondArrow.Cell>
- // System.Collections.Generic.List<UnityEngine.Vector2>
- // System.Collections.Generic.List<int>
- // System.Collections.Generic.List<object>
- // System.Collections.Generic.ObjectComparer<DiamondArrow.Cell>
- // System.Collections.Generic.ObjectComparer<UnityEngine.Vector2>
- // System.Collections.Generic.ObjectComparer<int>
- // System.Collections.Generic.ObjectComparer<object>
- // System.Collections.Generic.ObjectEqualityComparer<DiamondArrow.ArrowBoard.Exit>
- // System.Collections.Generic.ObjectEqualityComparer<int>
- // System.Collections.ObjectModel.ReadOnlyCollection<DiamondArrow.Cell>
- // System.Collections.ObjectModel.ReadOnlyCollection<UnityEngine.Vector2>
- // System.Collections.ObjectModel.ReadOnlyCollection<int>
- // System.Collections.ObjectModel.ReadOnlyCollection<object>
- // System.Comparison<DiamondArrow.Cell>
- // System.Comparison<UnityEngine.Vector2>
- // System.Comparison<int>
- // System.Comparison<object>
- // System.Func<int,byte>
- // System.Linq.Buffer<byte>
- // System.Linq.Enumerable.<RepeatIterator>d__117<byte>
- // System.Nullable<UnityEngine.Color>
- // System.Predicate<DiamondArrow.Cell>
- // System.Predicate<UnityEngine.Vector2>
- // System.Predicate<int>
- // System.Predicate<object>
- // System.ReadOnlySpan<ushort>
- // System.Span<ushort>
- // }}
- public void RefMethods()
- {
- // int System.Array.IndexOf<int>(int[],int)
- // int System.Array.IndexOfImpl<int>(int[],int,int,int)
- // System.Void System.Array.Resize<float>(float[]&,int)
- // System.Void System.Array.Resize<int>(int[]&,int)
- // int System.Linq.Enumerable.Count<int>(System.Collections.Generic.IEnumerable<int>,System.Func<int,bool>)
- // System.Collections.Generic.IEnumerable<byte> System.Linq.Enumerable.Repeat<byte>(byte,int)
- // System.Collections.Generic.IEnumerable<byte> System.Linq.Enumerable.RepeatIterator<byte>(byte,int)
- // byte[] System.Linq.Enumerable.ToArray<byte>(System.Collections.Generic.IEnumerable<byte>)
- // object& System.Runtime.CompilerServices.Unsafe.As<object,object>(object&)
- // System.Void* System.Runtime.CompilerServices.Unsafe.AsPointer<object>(object&)
- // object UnityEngine.Component.GetComponent<object>()
- // object UnityEngine.Component.GetComponentInChildren<object>()
- // bool UnityEngine.Component.TryGetComponent<object>(object&)
- // object UnityEngine.GameObject.AddComponent<object>()
- // object UnityEngine.GameObject.GetComponent<object>()
- // bool UnityEngine.GameObject.TryGetComponent<object>(object&)
- // object UnityEngine.JsonUtility.FromJson<object>(string)
- // object UnityEngine.Object.Instantiate<object>(object,UnityEngine.Transform,bool)
- // object UnityEngine.Resources.GetBuiltinResource<object>(string)
- }
- }
|