[netcore] Avoid calling load hooks during AOT.
commit3c88e9f251684c46ca07286a9637a2e5266eec15
authorZoltan Varga <vargaz@gmail.com>
Tue, 6 Aug 2019 13:49:28 +0000 (6 09:49 -0400)
committerMarek Safar <marek.safar@gmail.com>
Tue, 6 Aug 2019 17:40:23 +0000 (6 19:40 +0200)
tree9121cc6f338b53e42ed3399c4acf78fce1c42fe3
parent662b72f913db6e7e8a3f51540a6c8361e188763f
[netcore] Avoid calling load hooks during AOT.

Fixes https://github.com/mono/mono/issues/16046.
mono/metadata/assembly-load-context.c