From 5a29df50f11efc8506158b93f6729434c94097a4 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 28 Jun 2016 16:05:56 -0700 Subject: [PATCH] Re-enable assembly load handler in CompletionCompleters --- .../engine/CommandCompletion/CompletionCompleters.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs b/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs index 77c305ee7..4200b1055 100644 --- a/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs +++ b/src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs @@ -36,8 +36,7 @@ namespace System.Management.Automation static CompletionCompleters() { #if CORECLR - // Porting note: removed until we have full assembly loading solution - // ClrFacade.AddAssemblyLoadHandler(UpdateTypeCacheOnAssemblyLoad); + ClrFacade.AddAssemblyLoadHandler(UpdateTypeCacheOnAssemblyLoad); #else AppDomain.CurrentDomain.AssemblyLoad += UpdateTypeCacheOnAssemblyLoad; #endif