10 references to DrawPath
System.Drawing.Common.Tests (9)
mono\System.Drawing\GraphicsTests.cs (3)
2857
Assert.Throws<ArgumentNullException>(() => g.
DrawPath
(null, path));
2865
Assert.Throws<ArgumentNullException>(() => g.
DrawPath
(Pens.Black, null));
2887
g.
DrawPath
(Pens.SteelBlue, path);
System\Drawing\GraphicsTests.cs (6)
2385
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawPath
(null, graphicsPath));
2397
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawPath
(pen, graphicsPath));
2406
AssertExtensions.Throws<ArgumentNullException>("path", () => graphics.
DrawPath
(pen, null));
2418
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawPath
(pen, graphicsPath));
2431
Assert.Throws<InvalidOperationException>(() => graphics.
DrawPath
(pen, graphicsPath));
2448
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawPath
(pen, graphicsPath));
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
119
g.
DrawPath
(pen, path);