3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (3)
58using PathGradientBrush brushInt = new(_defaultIntPoints, wrapMode); 79Assert.Throws<ArgumentException>(() => new PathGradientBrush(new Point[pointsLength], WrapMode.Clamp)); 88new PathGradientBrush(_defaultIntPoints, (WrapMode)int.MaxValue));