We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7444c76 commit 83c7d9fCopy full SHA for 83c7d9f
mcs/class/corlib/corefx/RuntimeFeature.cs
@@ -2,8 +2,13 @@ namespace System.Runtime.CompilerServices
2
{
3
partial class RuntimeFeature
4
5
+#if UNITY_AOT
6
+ public static bool IsDynamicCodeSupported => false;
7
+ public static bool IsDynamicCodeCompiled => false;
8
+#else
9
// https://github.com/dotnet/coreclr/blob/397aaccb5104844998c3bcf6e9245cc81127e1e2/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.CoreCLR.cs#L9-L10
10
public static bool IsDynamicCodeSupported => true;
11
public static bool IsDynamicCodeCompiled => true;
12
+#endif
13
}
14
0 commit comments