4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (4)
37
using PathGradientBrush bi =
new
(_defaultIntPoints);
69
AssertExtensions.Throws<ArgumentNullException>("points", () => new
PathGradientBrush
((Point[])null));
78
Assert.Throws<ArgumentException>(() => new
PathGradientBrush
(new Point[pointsLength]));
205
using PathGradientBrush brush =
new
(points);