3 references to AddPolygon
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\GraphicsPathTests.cs (3)
939
AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().
AddPolygon
((Point[])null));
970
AssertExtensions.Throws<ArgumentException>(null, () => gp.
AddPolygon
(points));
1923
gp.
AddPolygon
(points);