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