7 references to FillRectangles
System.Drawing.Common.Tests (4)
mono\System.Drawing\GraphicsTests.cs (4)
897
g.
FillRectangles
(brush, rects);
1143
Assert.Throws<ArgumentNullException>(() => g.
FillRectangles
(null, new Rectangle[1]));
1151
Assert.Throws<ArgumentNullException>(() => g.
FillRectangles
(Brushes.Red, (Rectangle[])null));
1159
Assert.Throws<ArgumentException>(() => g.
FillRectangles
(Brushes.Red, Array.Empty<Rectangle>()));
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (1)
80
g.
FillRectangles
(SystemBrushes.ControlLight, shadowRects);
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
1002
g.
FillRectangles
(SystemBrushes.ButtonHighlight, whiteRectangles);
1003
g.
FillRectangles
(SystemBrushes.ButtonShadow, greyRectangles);