void AddDropdownBar(IVsDropdownBarManager dropdownManager) {

            IVsTextView textView;
            _codeWindow.GetPrimaryView(out textView);

            if(textView == null) {
                Logger.Warn($"{nameof(AddDropdownBar)}: Unable to get primary view");
                return;
            }

            var editorAdaptersFactoryService = _serviceProvider.GetMefService<IVsEditorAdaptersFactoryService>();

            var wpfTextView = editorAdaptersFactoryService.GetWpfTextView(textView);
            if (wpfTextView == null) {
                Logger.Warn($"{nameof(AddDropdownBar)}: Unable to get IWpfTextView");
                return;
            }

            var dropdownBarClient = new DropdownBarClient(wpfTextView.TextBuffer, dropdownManager, _codeWindow, _serviceProvider);

            #if ShowMemberCombobox
            var hr = dropdownManager.AddDropdownBar(cCombos: 3, pClient: dropdownBarClient);
            #else
            var hr = dropdownManager.AddDropdownBar(cCombos: 2, pClient: dropdownBarClient);
            #endif
            if (ErrorHandler.Failed(hr)) {
                ErrorHandler.ThrowOnFailure(hr);
            }

            _dropdownBarClient = dropdownBarClient;
        }
        void RemoveDropdownBar(IVsDropdownBarManager dropdownManager) {
            if (ErrorHandler.Succeeded(dropdownManager.RemoveDropdownBar())) {

                _dropdownBarClient?.Dispose();
                _dropdownBarClient = null;
            }
        }