public static void Refresh(Assembly assembly) { if (assembly == null) { return; } foreach (Module mod in assembly.GetModules()) { Refresh(mod); } }