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