8 references to DrawArc
System.Drawing.Common.Tests (8)
System\Drawing\Graphics_DrawBezierTests.cs (1)
111
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0, 0, 1, 1, 0, 90));
System\Drawing\GraphicsTests.cs (7)
1961
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawArc
(null, 0, 0, 1, 1, 0, 90));
1975
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0, 0, 1, 1, 0, 90));
1987
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0, 0, 0, 1, 0, 90));
1999
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0, 0, 1, 0, 0, 90));
2014
Assert.Throws<InvalidOperationException>(() => graphics.
DrawArc
(pen, 0, 0, 1, 1, 0, 90));
2033
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0, 0, 1, 1, 0, 90));
2267
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0, 0, 1, 0, 0, 90));