System\Drawing\Drawing2D\MatrixTests.cs (5)
107using Matrix matrix = new(rect, plgpnts);
131AssertExtensions.Throws<ArgumentNullException>("plgpts", () => new Matrix(default, null));
141AssertExtensions.Throws<ArgumentException>(null, () => new Matrix(default, new Point[length]));
147Assert.Throws<OutOfMemoryException>(() => new Matrix(new Rectangle(1, 1, 0, 1), new Point[3]));
154Assert.Throws<OutOfMemoryException>(() => new Matrix(new Rectangle(1, 1, 1, 0), new Point[3]));