5 references to new
System.Drawing.Common.Tests (5)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (5)
98
using PathGradientBrush brush =
new
(path);
106
AssertExtensions.Throws<ArgumentNullException>("path", () => new
PathGradientBrush
((GraphicsPath)null));
113
Assert.Throws<OutOfMemoryException>(() => new
PathGradientBrush
(path));
115
Assert.Throws<OutOfMemoryException>(() => new
PathGradientBrush
(path));
122
using PathGradientBrush brush =
new
(path);