6 references to DrawClosedCurve
System.Drawing.Common.Tests (6)
System\Drawing\GraphicsTests.cs (6)
2575AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawClosedCurve(null, new Point[3])); 2589AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawClosedCurve(pen, new Point[3])); 2601AssertExtensions.Throws<ArgumentNullException>("points", () => graphics.DrawClosedCurve(pen, (Point[])null)); 2616AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawClosedCurve(pen, new Point[length])); 2631Assert.Throws<InvalidOperationException>(() => graphics.DrawClosedCurve(pen, new Point[3])); 2650AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawClosedCurve(pen, new Point[3]));