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