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