[loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects (#18457)
commite7e81a47c93f8a2e1128a4d0fd515fa235dbcf19
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Wed, 15 Jan 2020 09:47:27 +0000 (15 04:47 -0500)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 15 Jan 2020 09:47:27 +0000 (15 10:47 +0100)
tree56efc37fecc83f882305b64db73fcf44b745b0a4
parentf4567e83dde9393fe19d4cb7e315c21899c67a3f
[loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects (#18457)

* [loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects

Match .NET Framework behavior.

Addresses https://github.com/mono/mono/issues/18388

* [tests] ReflectionOnlyLoad(byte[]) should not apply binding redirects

Regression test for https://github.com/mono/mono/issues/18388
mono/metadata/appdomain.c
mono/tests/Makefile.am
mono/tests/assembly-refonly-load-bytes-bindingredirect.cs [new file with mode: 0644]
mono/tests/assembly-refonly-load-bytes-bindingredirect.exe.config [new file with mode: 0644]