8 references to DrawArc
System.Drawing.Common.Tests (8)
System\Drawing\Graphics_DrawBezierTests.cs (1)
112
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new RectangleF(0, 0, 1, 1), 0, 90));
System\Drawing\GraphicsTests.cs (7)
1962
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawArc
(null, new RectangleF(0, 0, 1, 1), 0, 90));
1976
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new RectangleF(0, 0, 1, 1), 0, 90));
1988
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new RectangleF(0, 0, 0, 1), 0, 90));
2000
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new RectangleF(0, 0, 1, 0), 0, 90));
2015
Assert.Throws<InvalidOperationException>(() => graphics.
DrawArc
(pen, new RectangleF(0, 0, 1, 1), 0, 90));
2034
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new RectangleF(0, 0, 1, 1), 0, 90));
2268
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawArc
(pen, new RectangleF(0, 0, 1, 0), 0, 90));