Implemented interface member:
23 references to Equals
System.Drawing.Primitives (1)
System\Drawing\Rectangle.cs (1)
159public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Rectangle && Equals((Rectangle)obj);
System.Windows.Forms (18)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1806if (!intersect.Equals(posRect))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
4496if (!oldResizeRect.Equals(_layout.ResizeBoxRect) && !_layout.ResizeBoxRect.IsEmpty)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (2)
201Debug.Assert(contentBoundsDebug.Equals(contentBounds)); 273Debug.Assert(errorIconBoundsDebug.Equals(errorIconBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
490Debug.Assert(checkBoxBoundsDebug.Equals(checkBoxBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
260Debug.Assert(contentBoundsDebug.Equals(contentBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
784Debug.Assert(contentBoundsDebug.Equals(contentBounds)); 890Debug.Assert(errorIconBoundsDebug.Equals(errorIconBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (2)
279Debug.Assert(imgBoundsDebug.Equals(imgBounds)); 344Debug.Assert(errBoundsDebug.Equals(errBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
474Debug.Assert(linkBoundsDebug.Equals(linkBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
236Debug.Assert(contentBoundsDebug.Equals(contentBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (2)
310Debug.Assert(textBoundsDebug.Equals(textBounds)); 382Debug.Assert(errorBoundsDebug.Equals(errorBounds));
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (2)
77Debug.Assert(contentBoundsDebug.Equals(contentBounds)); 128Debug.Assert(errorBoundsDebug.Equals(errorBounds));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
893if (!targetRectangle.Equals(rectCur))
System\Windows\Forms\Form.cs (1)
1165if (!value.Equals(MaximizedBounds))
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\CommandSet.cs (1)
3336if (pasteControlBounds.Equals(childBounds))
System\Windows\Forms\Design\SelectionUIService.cs (1)
689if (!old.Equals(_mouseDragOffset))
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
515if (_outerRect.IsEmpty || !_outerRect.Equals(rcOuterNew)) 536sizeChanged = _outerRect.IsEmpty || !_outerRect.Equals(rcNew);