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