15 references to new
System.Drawing.Common.Tests (15)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (10)
37using GraphicsPath gp = new(_twoPoints, types); 70using GraphicsPath gp = new(_twoPoints, [0, 129]); 99using GraphicsPath gp = new(_twoPoints, [0, 129]); 110using GraphicsPath gp = new(_twoPoints, [0, 1]); 149using GraphicsPath gp = new(_twoPoints, [0, 1]); 157using GraphicsPath gp = new(_twoPoints, [0, 1]); 245using GraphicsPath gp = new(points, types); 341using GraphicsPath gp = new(points, types); 355using GraphicsPath gp = new(points, types); 371using GraphicsPath gp = new(points, types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (3)
67using GraphicsPath gpf = new(fPoints, types); 96AssertExtensions.Throws<ArgumentException>(null, () => new GraphicsPath(new PointF[pointsLength], new byte[typesLength])); 202using GraphicsPath gp = new(points, types);
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
99using GraphicsPath path = new(_defaultFloatPoints, [0, 1]); 123using GraphicsPath path = new(_defaultFloatPoints, [0, 1]);