public void Dispose() { if (!disposed) { disposed = true; assemblyLoadDisableCount--; // clear the lookup cache since we might have stored the lookups failed due to DisableAssemblyLoad() //MainWindow.Instance.CurrentAssemblyList.ClearCache(); } } }