private static void UnbindAssemblyLoader(IAssemblyLoader loader) { loader.OnUnbind(); loader.OnAssemblyLoaded -= SetDirty; }