5 references to new
System.Drawing.Common.Tests (5)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (1)
192using GraphicsPath gp = new(points, types);
System\Drawing\Drawing2D\GraphicsPathTests.cs (4)
66using GraphicsPath gp = new(points, types); 82AssertExtensions.Throws<ArgumentNullException>("pts", () => new GraphicsPath((Point[])null, new byte[1])); 95AssertExtensions.Throws<ArgumentException>(null, () => new GraphicsPath(new Point[pointsLength], new byte[typesLength])); 2056using GraphicsPath path = new(expectedPoints, expectedTypes);