[runtime] Add --assembly-loader=[strict,legacy] runtime argument
authorAleksey Kliger <aleksey@xamarin.com>
Wed, 26 Apr 2017 21:46:54 +0000 (17:46 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Wed, 26 Apr 2017 23:09:45 +0000 (19:09 -0400)
commit5dd2290ef2738ee2e708953dcb83c1822358d184
tree078bd213b243696ead0ca1837d51d027567556ec
parent0d920026b52095f00c8a0c19533e10cbc976d3f9
[runtime] Add --assembly-loader=[strict,legacy] runtime argument

If mono is compiled without DISABLE_STRICT_STRONG_NAMES, but someone passes
--assembly-loader=legacy at runtime, give them the lax strong name
checking behavior (a candidate assembly is good as long as the name is right, but ignoring
the public key token and version).
mono/metadata/appdomain.c
mono/metadata/assembly.c
mono/metadata/metadata-internals.h
mono/metadata/metadata.c
mono/mini/driver.c