22 references to IsEmpty
System.Drawing.Common.Tests (19)
mono\System.Drawing\GraphicsTests.cs (2)
168g.Clip.IsEmpty(g); 169Assert.False(g.Clip.IsEmpty(g));
System\Drawing\RegionTests.cs (17)
45Assert.False(region.IsEmpty(s_graphic)); 59Assert.Equal(isEmpty, region.IsEmpty(s_graphic)); 75Assert.Equal(isEmpty, region.IsEmpty(s_graphic)); 187Assert.True(region.IsEmpty(s_graphic)); 376Assert.False(region.IsEmpty(s_graphic)); 502Assert.True(region.IsEmpty(s_graphic)); 1050Assert.False(clipRegion.IsEmpty(s_graphic)); 1185Assert.False(region.IsEmpty(s_graphic)); 1213Assert.False(region.IsEmpty(s_graphic)); 1242Assert.True(region.IsEmpty(s_graphic)); 1269AssertExtensions.Throws<ArgumentNullException>("g", () => region.IsEmpty(null)); 1275AssertExtensions.Throws<ArgumentException>(null, () => CreateDisposedRegion().IsEmpty(s_graphic)); 1443Assert.True(region.IsEmpty(s_graphic)); 1453Assert.True(region.IsEmpty(s_graphic)); 1470Assert.False(region.IsEmpty(s_graphic)); 1475Assert.False(region.IsEmpty(s_graphic)); 1957Assert.True(region.IsEmpty(s_graphic));
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
2260return working.IsEmpty(g);
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
381if (toRefresh.IsEmpty(g) && primarySelection is not null && !primarySelection.Equals(_previousPrimarySelection)) 427if (!toUpdate.IsEmpty(g))