[loader] Parse in more netcore hosting properties (#18850)
commit45cb6fbba6a4bc0683aff5e0fd0968a8ade7c698
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 19 Feb 2020 19:10:33 +0000 (19 14:10 -0500)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2020 19:10:33 +0000 (19 14:10 -0500)
tree556a32a6f7ee9f0d15e87ff4a5cb53aefdabe0d5
parentb4337dd4e83a8e89c278e5eaa3e3135a1dd672c9
[loader] Parse in more netcore hosting properties (#18850)

This includes some other minor cleanup to the netcore hosting functions.

Setting `assemblies_path` with `APP_PATHS` despite it also being set by `MONO_PATH` doesn't scare me too much because:
1) Anyone using `MONO_PATH` is probably not going through the hosting API and is using `mono-sgen` directly
2) The default host doesn't set `APP_PATHS` (and we've worked fine without it being set at all up until now
3) This is a temporary measure; we will have to refactor our preload hook when we want to properly support the other loader properties anyway

Co-authored-by: Ryan Lucia <ryan@luciaonline.net>
mono/metadata/appdomain.c
mono/metadata/assembly-internals.h
mono/metadata/assembly.c
mono/metadata/native-library.c
mono/mini/monovm.c