Skip to content

Commit

Permalink
Fix incorrect AOT runtime feature check (#1665)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 authored Jul 8, 2024
1 parent 016e9ec commit faa798b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WinRT.Runtime/Projections/Nullable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down

0 comments on commit faa798b

Please sign in to comment.