1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00

[mono] Add conditional substitution for IsDynamicCodeSupported when targeting ios-like platforms (#86971)

This commit is contained in:
Ivan Povazan 2023-06-19 14:08:10 +02:00 committed by GitHub
parent 5fe7b06e1c
commit 297571725d
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -3,5 +3,8 @@
<type fullname="System.Runtime.CompilerServices.RuntimeFeature">
<method signature="System.Boolean get_IsDynamicCodeCompiled()" body="stub" value="false" />
</type>
<type fullname="System.Runtime.CompilerServices.RuntimeFeature" feature="System.Runtime.CompilerServices.RuntimeFeature.IsDynamicCodeSupported" featurevalue="false">
<method signature="System.Boolean get_IsDynamicCodeSupported()" body="stub" value="false" />
</type>
</assembly>
</linker>

View file

@ -40,6 +40,7 @@
<InvariantGlobalization Condition="'$(TargetOS)' == 'maccatalyst' and '$(InvariantGlobalization)' == ''">true</InvariantGlobalization>
<StartupHookSupport Condition="'$(StartupHookSupport)' == ''">false</StartupHookSupport>
<UseNativeHttpHandler Condition="'$(UseNativeHttpHandler)' == ''">false</UseNativeHttpHandler>
<DynamicCodeSupport Condition="'$(DynamicCodeSupport)' == '' and '$(MonoForceInterpreter)' != 'true'">false</DynamicCodeSupport>
</PropertyGroup>
<Import Project="..\..\libraries\Directory.Build.props" />