7 references to DrawRectangles
System.Drawing.Common.Tests (7)
mono\System.Drawing\GraphicsTests.cs (1)
858g.DrawRectangles(pen, rects);
System\Drawing\GraphicsTests.cs (6)
2098AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawRectangles(null, new Rectangle[2])); 2110AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangles(pen, new Rectangle[2])); 2120AssertExtensions.Throws<ArgumentNullException>("rects", () => graphics.DrawRectangles(pen, (Rectangle[])null)); 2130AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangles(pen, Array.Empty<Rectangle>())); 2143Assert.Throws<InvalidOperationException>(() => graphics.DrawRectangles(pen, new Rectangle[2])); 2160AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangles(pen, new Rectangle[2]));