Initialize IsolatedComponentLoadContext.Name (#24001)
authorSteve MacLean <stmaclea@microsoft.com>
Mon, 15 Apr 2019 23:59:36 +0000 (19:59 -0400)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2019 23:59:36 +0000 (19:59 -0400)
src/System.Private.CoreLib/src/Internal/Runtime/InteropServices/IsolatedComponentLoadContext.cs

index d78d7dd..e81eacf 100644 (file)
@@ -17,7 +17,7 @@ namespace Internal.Runtime.InteropServices
     {
         private readonly AssemblyDependencyResolver _resolver;
 
-        public IsolatedComponentLoadContext(string componentAssemblyPath)
+        public IsolatedComponentLoadContext(string componentAssemblyPath) : base($"IsolatedComponentLoadContext({componentAssemblyPath})")
         {
             _resolver = new AssemblyDependencyResolver(componentAssemblyPath);
         }