protected override void Dispose(bool disposing) { Trace.WriteLine(String.Format(CultureInfo.CurrentUICulture, "Entering Dispose() of: {0}", this.ToString())); _OnIdleEvent.OnIdleEvent -= new OnIdleEvent(sccService.UpdateDirtyNodesGlyphs); _OnIdleEvent.UnRegisterForIdleTimeCallbacks(); _SccProvider = null; sccService.Dispose(); base.Dispose(disposing); }