7 references to Equals
System.Drawing.Common.Tests (6)
System\Drawing\RegionTests.cs (6)
584
Assert.Equal(expected, region.
Equals
(other, s_graphic));
592
AssertExtensions.Throws<ArgumentNullException>("region", () => region.
Equals
(null, s_graphic));
599
AssertExtensions.Throws<ArgumentNullException>("g", () => region.
Equals
(region, null));
610
AssertExtensions.Throws<ArgumentException>(null, () => region.
Equals
(region, graphics));
618
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.
Equals
(new Region(), s_graphic));
619
AssertExtensions.Throws<ArgumentException>(null, () => new Region().
Equals
(disposedRegion, s_graphic));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
874
if (!_lastResizeRegion.
Equals
(newRegion, graphics))