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