[netcore] Remove MonoDomain.DoAssemblyResolve (mono/mono#18139)
authorRyan Lucia <rylucia@microsoft.com>
Wed, 11 Dec 2019 23:16:50 +0000 (18:16 -0500)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 11 Dec 2019 23:16:50 +0000 (00:16 +0100)
This is no longer called in netcore builds as of a while ago, so get rid of it and the corresponding linker exclusion.

Commit migrated from https://github.com/mono/mono/commit/acc8c0c696a9a9eea9f68d9f78fdd7f5b39526c9

src/mono/netcore/System.Private.CoreLib/src/LinkerDescriptor/System.Private.CoreLib.xml
src/mono/netcore/System.Private.CoreLib/src/Mono/MonoDomain.cs

index 6654bc2..a302689 100644 (file)
@@ -9,8 +9,6 @@
                        <method name="DoTypeResolve" />
                        <!-- appdomain.c: mono_domain_try_type_builder_resolve -->
                        <method name="DoTypeBuilderResolve" />
-                       <!-- appdomain.c: mono_try_assembly_resolve -->
-                       <method name="DoAssemblyResolve" />
                        <!-- appdomain.c: mono_domain_fire_assembly_load -->
                        <method name="DoAssemblyLoad" />
                </type>
index c7decc5..7a04490 100644 (file)
@@ -23,11 +23,6 @@ namespace Mono
                {
                        return; /* FIXME */
                }
-               
-               private Assembly? DoAssemblyResolve (string name, Assembly requestingAssembly, bool refonly)
-               {
-                       return null;
-               }
 
                internal Assembly? DoTypeResolve (string name)
                {