Preserve UnmanagedCallersOnlyAttribute on mono, the runtime needs it, and it can...
authorZoltan Varga <vargaz@gmail.com>
Sat, 28 Nov 2020 16:52:15 +0000 (11:52 -0500)
committerGitHub <noreply@github.com>
Sat, 28 Nov 2020 16:52:15 +0000 (11:52 -0500)
src/mono/netcore/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.xml

index 0732f1f..dbf1729 100644 (file)
                        <field name="FirstChanceException"/>
                </type>
 
+               <!-- mono_method_has_unmanaged_callers_only_attribute () -->
+               <!-- aot-compiler.c -->
+               <type fullname="System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute"/>
+
                <type fullname="Mono.NullByRefReturnException">
                        <!-- marshal-ilgen.c:emit_invoke_call -->
                        <method signature="System.Void .ctor()" />