From b471a3f1776fc22f7fdfbf67a3df096041b70112 Mon Sep 17 00:00:00 2001 From: Tau Date: Sat, 6 Apr 2024 12:28:45 +0200 Subject: [PATCH] Rename constant --- FrameworkFeatureConstants.props | 2 +- Funcky/Monads/Option/OptionJsonConverter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FrameworkFeatureConstants.props b/FrameworkFeatureConstants.props index f4d8526b..d37daa6d 100644 --- a/FrameworkFeatureConstants.props +++ b/FrameworkFeatureConstants.props @@ -13,7 +13,7 @@ $(DefineConstants);STACK_TRACE_HIDDEN_SUPPORTED;DATE_ONLY_SUPPORTED;TIME_ONLY_SUPPORTED;PRIORITY_QUEUE;TRY_GET_NON_ENUMERATED_COUNT;HTTP_HEADERS_NON_VALIDATED;ELEMENT_AT_INDEX - $(DefineConstants);GENERIC_MATH;GENERIC_PARSABLE;NATIVE_AOT + $(DefineConstants);GENERIC_MATH;GENERIC_PARSABLE;AOT $(DefineConstants);RANDOM_SHUFFLE;UTF8_SPAN_PARSABLE diff --git a/Funcky/Monads/Option/OptionJsonConverter.cs b/Funcky/Monads/Option/OptionJsonConverter.cs index 72076d84..d6f3f479 100644 --- a/Funcky/Monads/Option/OptionJsonConverter.cs +++ b/Funcky/Monads/Option/OptionJsonConverter.cs @@ -5,7 +5,7 @@ namespace Funcky.Monads; /// A JSON converter for that serializes transparently and as null. -#if NATIVE_AOT +#if AOT [RequiresDynamicCode("The converter needs to be able to instantiate generics at runtime.")] #endif public sealed class OptionJsonConverter : JsonConverterFactory