21 references to Empty
System.Drawing.Common.Tests (17)
System\Drawing\RegionTests.cs (10)
323new RectangleF[] { RectangleF.Empty }, 634new RectangleF[] { RectangleF.Empty }, 654new RectangleF[] { RectangleF.Empty }, 1076new RectangleF[] { RectangleF.Empty }, 1090new RectangleF[] { RectangleF.Empty }, 1445Assert.Equal(RectangleF.Empty, region.GetBounds(s_graphic)); 1498new RectangleF[] { RectangleF.Empty }, 1531new RectangleF[] { RectangleF.Empty }, 1983new RectangleF[] { RectangleF.Empty }, 2010new RectangleF[] { RectangleF.Empty },
System\Drawing\TextureBrushTests.cs (7)
243AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, RectangleF.Empty)); 245AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, RectangleF.Empty, null)); 247AssertExtensions.Throws<ArgumentNullException>("image", () => new TextureBrush(null, WrapMode.Tile, RectangleF.Empty)); 259AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, RectangleF.Empty)); 261AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, RectangleF.Empty, null)); 263AssertExtensions.Throws<ArgumentException>(null, () => new TextureBrush(image, WrapMode.Tile, RectangleF.Empty)); 274Assert.ThrowsAny<ArgumentException>(() => new TextureBrush(image, wrapMode, RectangleF.Empty));
System.Drawing.Primitives (1)
System\Drawing\RectangleF.cs (1)
283return Empty;
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
1027RectangleF focusRectangle = RectangleF.Empty; 1325Debug.Assert(focusRectangle != RectangleF.Empty, "focusRectangle should be initialized");
System.Windows.Forms.Tests (1)
System\Windows\Forms\ControlPaintTests.cs (1)
1901yield return new object[] { s, SystemFonts.MenuFont, Color.Red, RectangleF.Empty, new StringFormat() };