Skip to content

Commit

Permalink
[tests/link sdk] Preserve a required method in System.Private.CoreLib…
Browse files Browse the repository at this point in the history
… to work around a bug in .NET 6.

Ref: dotnet/runtime#46908.
  • Loading branch information
rolfbjarne committed Jan 13, 2021
1 parent 88c1a34 commit ece7188
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/linker/ios/link sdk/dotnet/extra-linker-defs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@
<assembly fullname="Xamarin.iOS">
<type fullname="CoreBluetooth.CBUUID" preserve="field" />
</assembly>
<assembly fullname="System.Private.CoreLib">
<type fullname="System.Runtime.Loader.AssemblyLoadContext">
<!-- https://github.com/dotnet/runtime/issues/46908 -->
<!-- native-library.c: netcore_resolve_with_resolving_event () -->
<method name="MonoResolveUnmanagedDllUsingEvent" />
</type>
</assembly>
</linker>

0 comments on commit ece7188

Please sign in to comment.