5 references to new
System.Drawing.Common.Tests (5)
System\Drawing\Drawing2D\HatchBrushTests.cs (2)
18
using HatchBrush brush =
new
(hatchStyle, foreColor);
52
AssertExtensions.Throws<ArgumentException>("hatchstyle", null, () => new
HatchBrush
(hatchStyle, Color.Empty));
System\Drawing\GraphicsTests.cs (1)
862
using HatchBrush brush =
new
(HatchStyle.Cross, red);
System\Drawing\PenTests.cs (2)
14
yield return new object[] { new
HatchBrush
(HatchStyle.BackwardDiagonal, Color.Red), PenType.HatchFill };
245
using HatchBrush brush =
new
(HatchStyle.BackwardDiagonal, Color.Red);