8 references to Exclude
System.Drawing.Common.Tests (7)
System\Drawing\RegionTests.cs (7)
780
region.
Exclude
(other);
795
region.
Exclude
(union);
805
region.
Exclude
(other);
813
AssertExtensions.Throws<ArgumentNullException>("region", () => region.
Exclude
((Region)null));
819
AssertExtensions.Throws<ArgumentException>(null, () => new Region().
Exclude
(CreateDisposedRegion()));
826
Assert.Throws<InvalidOperationException>(() => region.
Exclude
(region));
905
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.
Exclude
(other));
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
876
_lastResizeRegion.
Exclude
(newRegion); // we don't want to invalidate this region.