8 references to DrawArc
System.Drawing.Common.Tests (8)
System\Drawing\Graphics_DrawBezierTests.cs (1)
110
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new Rectangle(0, 0, 1, 1), 0, 90));
System\Drawing\GraphicsTests.cs (7)
1960
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawArc
(null, new Rectangle(0, 0, 1, 1), 0, 90));
1974
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new Rectangle(0, 0, 1, 1), 0, 90));
1986
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new Rectangle(0, 0, 0, 1), 0, 90));
1998
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new Rectangle(0, 0, 1, 0), 0, 90));
2013
Assert.Throws<InvalidOperationException>(() => graphics.
DrawArc
(pen, new Rectangle(0, 0, 1, 1), 0, 90));
2032
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new Rectangle(0, 0, 1, 1), 0, 90));
2266
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new Rectangle(0, 0, 1, 0), 0, 90));