11 references to Custom
System.Drawing.Common.Tests (11)
System\Drawing\Drawing2D\CustomLineCapTests.cs (8)
58
[InlineData(LineCap.
Custom
+ 1)]
103
[InlineData(LineCap.
Custom
, LineCap.
Custom
)]
104
[InlineData(LineCap.Square, LineCap.
Custom
)]
105
[InlineData(LineCap.
Custom
, LineCap.SquareAnchor)]
107
[InlineData(LineCap.
Custom
+ 1, LineCap.Flat)] // Above valid enum range
154
[InlineData(LineCap.
Custom
)]
156
[InlineData(LineCap.
Custom
+ 1)]
System\Drawing\PenTests.cs (2)
653
yield return new object[] { LineCap.
Custom
};
672
yield return new object[] { LineCap.
Custom
+ 1 };
System\Drawing\SystemPensTest.cs (1)
59
AssertExtensions.Throws<ArgumentException>(null, () => pen.SetLineCap(LineCap.ArrowAnchor, LineCap.
Custom
, DashCap.Round));