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