diff --git a/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.iOS.xml b/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.iOS.xml
deleted file mode 100644
index ed9ce57b2481c6..00000000000000
--- a/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.iOS.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.wasm.xml b/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.wasm.xml
index f0304dd4631658..f3aea087501b7b 100644
--- a/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.wasm.xml
+++ b/src/mono/System.Private.CoreLib/src/ILLink/ILLink.Substitutions.wasm.xml
@@ -6,8 +6,5 @@
-
-
-
diff --git a/src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.Mono.cs b/src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.Mono.cs
index e54e4dda91c8e8..e4dbc849bf8ecc 100644
--- a/src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.Mono.cs
+++ b/src/mono/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeFeature.Mono.cs
@@ -14,8 +14,12 @@ public static bool IsDynamicCodeSupported
public static bool IsDynamicCodeCompiled
{
+#if TARGET_BROWSER || TARGET_IOS || TARGET_TVOS || TARGET_MACCATALYST
+ get => false;
+#else
[Intrinsic] // the JIT/AOT compiler will change this flag to false for FullAOT scenarios, otherwise true
get => IsDynamicCodeCompiled;
+#endif
}
}
}