ifdef out unsupported Enum underlying types for nativeaot (#79472)
authorStephen Toub <stoub@microsoft.com>
Thu, 15 Dec 2022 01:02:42 +0000 (20:02 -0500)
committerGitHub <noreply@github.com>
Thu, 15 Dec 2022 01:02:42 +0000 (17:02 -0800)
commitc63cd3886e424f780a10b9eb38d07c0a3ec6f80e
tree59356ebb97b93aa46409104e1f62bfc63f602fbd
parenta78811401f3b2fa8be2d8e40b9bb1e706a9e8501
ifdef out unsupported Enum underlying types for nativeaot (#79472)

* ifdef out unsupported Enum underlying types for nativeaot

* Use dedicated ifdef

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
src/libraries/Microsoft.VisualBasic.Core/tests/ConversionsTests.cs
src/libraries/System.Linq.Expressions/tests/Cast/CastTests.cs
src/libraries/System.Private.CoreLib/src/System/Enum.cs
src/libraries/System.Reflection.Emit.ILGeneration/tests/CustomAttributeBuilderTests.cs
src/libraries/System.Runtime/tests/System/EnumTests.cs