internal void SetContext(AbstractDebuggerIntelliSenseContext context)
 {
     // If there was an old context, it must be cleaned before calling SetContext.
     Debug.Assert(_context == null);
     _context = context;
     this.SetNextFilterWorker();
 }
 internal void SetContext(AbstractDebuggerIntelliSenseContext context)
 {
     // If there was an old context, it must be cleaned before calling SetContext.
     Debug.Assert(_context == null);
     _context = context;
     this.SetCommandHandlers(context.Buffer);
 }
 internal void RemoveContext()
 {
     if (_context != null)
     {
         _context.Dispose();
         _context = null;
     }
 }
        internal void SetContext(AbstractDebuggerIntelliSenseContext context)
        {
            // We're never notified of being disabled in the immediate window, so the
            // best we can do is only keep resources from one context alive at a time.
            Dispose();

            _context = context;
            this.SetCommandHandlers(context.Buffer);
        }
 internal void RemoveContext()
 {
     Dispose();
     _context = null;
 }