1 write to _currentSelectionBounds
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
420_currentSelectionBounds = new Rectangle[selComps.Count];
11 references to _currentSelectionBounds
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (11)
137Debug.Assert(_currentSelectionBounds is not null); 148ref Rectangle currentSelectionBounds = ref _currentSelectionBounds[_curCompIndex]; 163_currentSelectionBounds[_curCompIndex] = Rectangle.Union(_currentSelectionBounds[_curCompIndex], glyph.Bounds); 425Region toUpdate = DetermineRegionToRefresh(primarySelection, _previousSelectionBounds, _currentSelectionBounds); 436if (_currentSelectionBounds.Length > 0) 438Rectangle toUpdate = _currentSelectionBounds[0]; 439for (int i = 1; i < _currentSelectionBounds.Length; i++) 441toUpdate = Rectangle.Union(toUpdate, _currentSelectionBounds[i]); 456_previousSelectionBounds = _currentSelectionBounds.Length > 0 ? [.. _currentSelectionBounds] : null;