/// <summary>
 /// <see cref="IDkmModuleInstanceUnloadNotification"/> is implemented by components that want to listen
 /// for the ModuleInstanceUnload event. When this notification fires, the target process
 /// will be suspended and can be examined. ModuleInstanceUnload is sent when the monitor
 /// detects that a module has unloaded from within the target process.
 /// </summary>
 public void OnModuleInstanceUnload(DkmModuleInstance moduleInstance, DkmWorkList workList, DkmEventDescriptor eventDescriptor)
 {
     if (moduleInstance is DkmClrModuleInstance clrModuleInstance)
     {
         _listener.OnManagedModuleInstanceUnloaded(clrModuleInstance);
     }
 }