Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,5 @@
<type fullname="System.Environment">
<method signature="System.Int32 get_ProcessorCount()" body="stub" value="1" />
</type>
<type fullname="System.Runtime.CompilerServices.RuntimeFeature">
<method signature="System.Boolean get_IsDynamicCodeCompiled()" body="stub" value="false" />
</type>
</assembly>
</linker>
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}