From: Steve MacLean Date: Fri, 29 Mar 2019 23:33:37 +0000 (-0400) Subject: Assembly.Load ALC name (#23574) X-Git-Tag: accepted/tizen/unified/20190813.215958~54^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8c7d91177742e150b91f11cf37da84b8f80f6620;p=platform%2Fupstream%2Fcoreclr.git Assembly.Load ALC name (#23574) Use normalized path for ALC name --- diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs b/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs index 9b3a9d8..3db428e 100644 --- a/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs +++ b/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs @@ -254,7 +254,7 @@ namespace System.Reflection if (s_loadfile.TryGetValue(normalizedPath, out result)) return result; - AssemblyLoadContext alc = new IndividualAssemblyLoadContext(string.Format("Assembly.LoadFile({0})", path)); + AssemblyLoadContext alc = new IndividualAssemblyLoadContext(string.Format("Assembly.LoadFile({0})", normalizedPath)); result = alc.LoadFromAssemblyPath(normalizedPath); s_loadfile.Add(normalizedPath, result); }