7 references to ThrowsAny
System.Drawing.Common.Tests (7)
System\Drawing\Drawing2D\GraphicsPathTests.cs (6)
573
AssertExtensions.
ThrowsAny
<ArgumentException, ArgumentOutOfRangeException>(() => gp.AddCurve(points));
574
AssertExtensions.
ThrowsAny
<ArgumentException, ArgumentOutOfRangeException>(() => gp.AddCurve(points, 0, 2, 0.5f));
588
AssertExtensions.
ThrowsAny
<ArgumentException, ArgumentOutOfRangeException>(() => gp.AddCurve(points));
589
AssertExtensions.
ThrowsAny
<ArgumentException, ArgumentOutOfRangeException>(() => gp.AddCurve(points, 0, 2, 0.5f));
603
AssertExtensions.
ThrowsAny
<ArgumentException, ArgumentOutOfRangeException>(
614
AssertExtensions.
ThrowsAny
<ArgumentException, ArgumentOutOfRangeException>(
System\Drawing\Imaging\ImageAttributesTests.cs (1)
1221
AssertExtensions.
ThrowsAny
<ArgumentNullException, ArgumentException>(() => imageAttr.SetRemapTable(_yellowToRedColorMap, type));