mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Re-enable assembly load handler in CompletionCompleters
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user