File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 850850 <type fullname =" Mono.ValueTuple`3" preserve =" fields" />
851851 <type fullname =" Mono.ValueTuple`4" preserve =" fields" />
852852 <type fullname =" Mono.ValueTuple`5" preserve =" fields" />
853+
854+ <!-- IL2CPP enum sharing -->
855+ <type fullname =" System.SByteEnum" />
856+ <type fullname =" System.Int16Enum" />
857+ <type fullname =" System.Int32Enum" />
858+ <type fullname =" System.Int64Enum" />
859+
860+ <type fullname =" System.ByteEnum" />
861+ <type fullname =" System.UInt16Enum" />
862+ <type fullname =" System.UInt32Enum" />
863+ <type fullname =" System.UInt64Enum" />
853864 </assembly >
854865</linker >
Original file line number Diff line number Diff line change 1+ using System ;
2+
3+ #if UNITY_AOT
4+
5+ namespace System
6+ {
7+ enum SByteEnum : sbyte { }
8+ enum Int16Enum : short { }
9+ enum Int32Enum : int { }
10+ enum Int64Enum : long { }
11+
12+ enum ByteEnum : byte { }
13+ enum UInt16Enum : ushort { }
14+ enum UInt32Enum : uint { }
15+ enum UInt64Enum : ulong { }
16+ }
17+
18+ #endif
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ System/Delegate.cs
9494System/DelegateSerializationHolder.cs
9595System/DomainManagerInitializationFlags.cs
9696System/EmptyArray.cs
97+ System/EnumSharing.cs
9798System/Environment.cs
9899System/EnvironmentVariableTarget.cs
99100System/Guid.cs
You can’t perform that action at this time.
0 commit comments