4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\TextureBrushTests.cs (4)
91
using TextureBrush brush =
new
(image, rectangle);
244
AssertExtensions.Throws<ArgumentNullException>("image", () => new
TextureBrush
(null, Rectangle.Empty));
260
AssertExtensions.Throws<ArgumentException>(null, () => new
TextureBrush
(image, Rectangle.Empty));
291
Assert.Throws<OutOfMemoryException>(() => new
TextureBrush
(image, rectangle));