6 references to HatchStyle
System.Drawing.Common (1)
System\Drawing\Drawing2D\HatchBrush.cs (1)
17throw new ArgumentException(SR.Format(SR.InvalidEnumArgument, nameof(hatchstyle), hatchstyle, nameof(HatchStyle)), nameof(hatchstyle));
System.Drawing.Common.Tests (5)
System\Drawing\Drawing2D\HatchBrushTests.cs (5)
19Assert.Equal(hatchStyle, brush.HatchStyle); 38Assert.Equal(hatchStyle, brush.HatchStyle); 63Assert.Equal(brush.HatchStyle, clone.HatchStyle); 94AssertExtensions.Throws<ArgumentException>(null, () => brush.HatchStyle);