4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\TextureBrushTests.cs (4)
112
using TextureBrush brush =
new
(image, (RectangleF)rectangle);
243
AssertExtensions.Throws<ArgumentNullException>("image", () => new
TextureBrush
(null, RectangleF.Empty));
259
AssertExtensions.Throws<ArgumentException>(null, () => new
TextureBrush
(image, RectangleF.Empty));
292
Assert.Throws<OutOfMemoryException>(() => new
TextureBrush
(image, (RectangleF)rectangle));