System\Drawing\Drawing2D\MatrixTests.cs (5)
108using Matrix matrix = new(rect, plgpnts);
132AssertExtensions.Throws<ArgumentNullException>("plgpts", () => new Matrix(default, null));
142AssertExtensions.Throws<ArgumentException>(null, () => new Matrix(default, new Point[length]));
148Assert.Throws<ExternalException>(() => new Matrix(new Rectangle(1, 1, 0, 1), new Point[3]));
155Assert.Throws<ExternalException>(() => new Matrix(new Rectangle(1, 1, 1, 0), new Point[3]));