8 references to DrawRectangles
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (1)
859
g.
DrawRectangles
(pen, rectf);
System\Drawing\GraphicsTests.cs (6)
2099
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawRectangles
(null, new RectangleF[2]));
2111
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawRectangles
(pen, new RectangleF[2]));
2121
AssertExtensions.Throws<ArgumentNullException>("rects", () => graphics.
DrawRectangles
(pen, (RectangleF[])null));
2131
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawRectangles
(pen, Array.Empty<RectangleF>()));
2144
Assert.Throws<InvalidOperationException>(() => graphics.
DrawRectangles
(pen, new RectangleF[2]));
2161
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawRectangles
(pen, new RectangleF[2]));
System\Drawing\RegionTests.cs (1)
487
graphics.
DrawRectangles
(Pens.Yellow, region1.GetRegionScans(matrix));