8 references to DrawArc
System.Drawing.Common.Tests (8)
System\Drawing\Graphics_DrawBezierTests.cs (1)
113
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0f, 0f, 1f, 1f, 0, 90));
System\Drawing\GraphicsTests.cs (7)
1963
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawArc
(null, 0f, 0f, 1f, 1f, 0, 90));
1977
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0f, 0f, 1f, 1f, 0, 90));
1989
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0f, 0f, 0f, 1f, 0, 90));
2001
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0f, 0f, 1f, 0f, 0, 90));
2016
Assert.Throws<InvalidOperationException>(() => graphics.
DrawArc
(pen, 0f, 0f, 1f, 1f, 0, 90));
2035
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0f, 0f, 1f, 1f, 0, 90));
2269
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, 0f, 0f, 1f, 0f, 0, 90));