From cb268dfc83e60337d5dab7bd6fa2d595761a3a01 Mon Sep 17 00:00:00 2001 From: Ryan Lucia Date: Sun, 22 Mar 2020 20:05:11 -0400 Subject: [PATCH] [loader] Fix mistake in netcore_load_reference comment The code here was right, the comment wrong. Also updated to mention that we now check APP_PATHS. --- src/mono/mono/metadata/assembly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mono/mono/metadata/assembly.c b/src/mono/mono/metadata/assembly.c index 1ef1eaa38cf67..54c57c0cf4b6e 100644 --- a/src/mono/mono/metadata/assembly.c +++ b/src/mono/mono/metadata/assembly.c @@ -1667,8 +1667,8 @@ netcore_load_reference (MonoAssemblyName *aname, MonoAssemblyLoadContext *alc, M * 3. If the ALC is not the default and this is not a satellite request, * check if it's already loaded by the default ALC. * - * 4. If the ALC is not the default or this is not a satellite request, - * check the TPA paths and ApplicationBase. + * 4. If the ALC is the default or this is not a satellite request, + * check the TPA list, APP_PATHS, and ApplicationBase. * * 5. If this is a satellite request, call the ALC ResolveSatelliteAssembly method. *