9 references to Red
System.Drawing.Common.Tests (6)
mono\System.Drawing\GraphicsTests.cs (5)
1151
Assert.Throws<ArgumentNullException>(() => g.FillRectangles(Brushes.
Red
, (Rectangle[])null));
1159
Assert.Throws<ArgumentException>(() => g.FillRectangles(Brushes.
Red
, Array.Empty<Rectangle>()));
1175
Assert.Throws<ArgumentNullException>(() => g.FillRectangles(Brushes.
Red
, (RectangleF[])null));
1183
Assert.Throws<ArgumentException>(() => g.FillRectangles(Brushes.
Red
, Array.Empty<RectangleF>()));
1195
g.FillRectangle(Brushes.
Red
, rect);
System\Drawing\BrushesTests.cs (1)
123
yield return Brush(() => Brushes.
Red
, Color.Red);
System.Windows.Forms (1)
System\Windows\Forms\Control.cs (1)
11741
bufferedGraphics2.Graphics.FillRectangle(Brushes.
Red
, band);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\GdiPlus\GdiPlusCache.cs (1)
88
KnownColor.Red => Brushes.
Red
,
WinFormsControlsTest (1)
ListBoxes.cs (1)
43
customBrush = Brushes.
Red
;