[2019-12] [loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects...
commit64bfc6c000a6c765791019f6ba8c972ef3b9e663
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 15 Jan 2020 09:47:39 +0000 (15 10:47 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 15 Jan 2020 09:47:39 +0000 (15 10:47 +0100)
tree1591668185fd051eab7e84274fa51ac968874378
parent0fd24828b19c8f26110a5043bf45e941f3382a09
[2019-12] [loader] ReflectionOnlyLoad(byte[]) should not apply binding redirects (#18458)

* [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

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
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]