Use non-generic Array.Sort in EnumInfo on nativeaot (#79473)
authorStephen Toub <stoub@microsoft.com>
Wed, 14 Dec 2022 07:00:38 +0000 (02:00 -0500)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 07:00:38 +0000 (23:00 -0800)
commit322f20cda9673a3872902ed3fb2ddfbcff97c007
tree0ca88c0340e969a1281d0d92b1feac8e5861e012
parentef903fd300fc5115360fc27fc41207f232a5c87d
Use non-generic Array.Sort in EnumInfo on nativeaot (#79473)

* Use non-generic Array.Sort in EnumInfo on nativeaot

* Non-generic sort

* Update src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/NativeFormatEnumInfo.cs

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/EnumInfo.cs
src/coreclr/nativeaot/System.Private.Reflection.Execution/src/Internal/Reflection/Execution/NativeFormatEnumInfo.cs
src/libraries/System.Private.CoreLib/src/System/Enum.EnumInfo.cs
src/libraries/System.Private.CoreLib/src/System/Enum.cs