2 writes to BaseCap
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\CustomLineCapTests.cs (2)
145
customLineCap.
BaseCap
= baseCap;
161
AssertExtensions.Throws<ArgumentException>(null, () => customLineCap.
BaseCap
= baseCap);
6 references to BaseCap
System.Drawing.Common.Tests (6)
System\Drawing\Drawing2D\AdjustableArrowCapTests.cs (1)
117
Assert.Equal(LineCap.Triangle, arrowCap.
BaseCap
);
System\Drawing\Drawing2D\CustomLineCapTests.cs (5)
48
Assert.Equal(expectedCap, customLineCap.
BaseCap
);
64
Assert.Equal(LineCap.Flat, customLineCap.
BaseCap
);
146
Assert.Equal(baseCap, customLineCap.
BaseCap
);
162
Assert.Equal(LineCap.Flat, customLineCap.
BaseCap
);
214
AssertExtensions.Throws<ArgumentException>(null, () => customLineCap.
BaseCap
);