diff options
author | Steve MacLean <stmaclea@microsoft.com> | 2019-03-29 19:33:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 19:33:37 -0400 |
commit | 8c7d91177742e150b91f11cf37da84b8f80f6620 (patch) | |
tree | 29f44704cd38bec45216ddeb1f1fbf024a927b17 /src/System.Private.CoreLib/shared/System | |
parent | 12e7288df91d7c2fbc84be56e520535c1ee38382 (diff) | |
download | coreclr-8c7d91177742e150b91f11cf37da84b8f80f6620.tar.gz coreclr-8c7d91177742e150b91f11cf37da84b8f80f6620.tar.bz2 coreclr-8c7d91177742e150b91f11cf37da84b8f80f6620.zip |
Assembly.Load ALC name (#23574)
Use normalized path for ALC name
Diffstat (limited to 'src/System.Private.CoreLib/shared/System')
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs b/src/System.Private.CoreLib/shared/System/Reflection/Assembly.cs index 9b3a9d8e9c..3db428ed79 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); } |