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