4 writes to StartCap
System.Drawing.Common.Tests (4)
System\Drawing\PenTests.cs (3)
1035
pen.
StartCap
= lineCap;
1045
Assert.ThrowsAny<ArgumentException>(() => pen.
StartCap
= lineCap);
1056
AssertExtensions.Throws<ArgumentException>(null, () => pen.
StartCap
= LineCap.ArrowAnchor);
System\Drawing\SystemPensTest.cs (1)
74
AssertExtensions.Throws<ArgumentException>(null, () => pen.
StartCap
= LineCap.RoundAnchor);
6 references to StartCap
System.Drawing.Common.Tests (6)
System\Drawing\PenTests.cs (6)
219
Assert.Equal(pen.
StartCap
, clone.
StartCap
);
1014
Assert.Equal(startCap, pen.
StartCap
);
1036
Assert.Equal(lineCap, pen.
StartCap
);
1055
AssertExtensions.Throws<ArgumentException>(null, () => pen.
StartCap
);
1221
Assert.Equal(LineCap.Flat, pen.
StartCap
);