[loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects (mono/mono...
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Wed, 15 Jan 2020 09:47:27 +0000 (04:47 -0500)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 15 Jan 2020 09:47:27 +0000 (10:47 +0100)
commit440aa4ceb2cc2ae25e38214c21d26236e779d379
tree8de869257d5caf3ab310ce94507e38591411c040
parent15bf830abed08902eb41ce7942c55cf794e2f17c
[loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects (mono/mono#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

Commit migrated from https://github.com/mono/mono/commit/e7e81a47c93f8a2e1128a4d0fd515fa235dbcf19
src/mono/mono/metadata/appdomain.c
src/mono/mono/tests/Makefile.am
src/mono/mono/tests/assembly-refonly-load-bytes-bindingredirect.cs [new file with mode: 0644]
src/mono/mono/tests/assembly-refonly-load-bytes-bindingredirect.exe.config [new file with mode: 0644]