diff --git a/src/Common/src/CoreLib/System/Runtime/CompilerServices/RuntimeFeature.cs b/src/Common/src/CoreLib/System/Runtime/CompilerServices/RuntimeFeature.cs index c6a97eca2091..b0cd9ddce26b 100644 --- a/src/Common/src/CoreLib/System/Runtime/CompilerServices/RuntimeFeature.cs +++ b/src/Common/src/CoreLib/System/Runtime/CompilerServices/RuntimeFeature.cs @@ -4,7 +4,7 @@ namespace System.Runtime.CompilerServices { - public static class RuntimeFeature + public static partial class RuntimeFeature { /// /// Name of the Portable PDB feature. @@ -30,6 +30,10 @@ public static bool IsSupported(string feature) case DefaultImplementationsOfInterfaces: #endif return true; + case nameof(IsDynamicCodeSupported): + return IsDynamicCodeSupported; + case nameof(IsDynamicCodeCompiled): + return IsDynamicCodeCompiled; } return false;