From faa798beafde87b3dcd71686c74ba1d892330d94 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 8 Jul 2024 13:15:12 -0700 Subject: [PATCH] Fix incorrect AOT runtime feature check (#1665) --- src/WinRT.Runtime/Projections/Nullable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WinRT.Runtime/Projections/Nullable.cs b/src/WinRT.Runtime/Projections/Nullable.cs index f8d77c11e..5ff63ecd9 100644 --- a/src/WinRT.Runtime/Projections/Nullable.cs +++ b/src/WinRT.Runtime/Projections/Nullable.cs @@ -465,7 +465,7 @@ private static unsafe T GetValueFromAbi(IntPtr thisPtr, Delegate marshallingDele } #if NET - if (RuntimeFeature.IsDynamicCodeSupported) + if (RuntimeFeature.IsDynamicCodeCompiled) #endif { var __params = new object[] { thisPtr, null };