2 writes to _selectionService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
54_selectionService = (ISelectionService)serviceProvider.GetService(typeof(ISelectionService)); 1647_selectionService = null;
8 references to _selectionService
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (8)
55Debug.Assert(_selectionService is not null, "ToolStripKeyboardHandlingService relies on the selection service, which is unavailable."); 56if (_selectionService is not null) 58_selectionService.SelectionChanging += OnSelectionChanging; 59_selectionService.SelectionChanged += OnSelectionChanged; 218get => _selectionService; 1643if (_selectionService is not null) 1645_selectionService.SelectionChanging -= OnSelectionChanging; 1646_selectionService.SelectionChanged -= OnSelectionChanged;