4 writes to EndCap
System.Drawing.Common.Tests (4)
System\Drawing\PenTests.cs (3)
662
pen.
EndCap
= lineCap;
681
Assert.ThrowsAny<ArgumentException>(() => pen.
EndCap
= lineCap);
692
AssertExtensions.Throws<ArgumentException>(null, () => pen.
EndCap
= LineCap.ArrowAnchor);
System\Drawing\SystemPensTest.cs (1)
71
AssertExtensions.Throws<ArgumentException>(null, () => pen.
EndCap
= LineCap.RoundAnchor);
6 references to EndCap
System.Drawing.Common.Tests (6)
System\Drawing\PenTests.cs (6)
218
Assert.Equal(pen.
EndCap
, clone.
EndCap
);
663
Assert.Equal(lineCap, pen.
EndCap
);
691
AssertExtensions.Throws<ArgumentException>(null, () => pen.
EndCap
);
1015
Assert.Equal(endCap, pen.
EndCap
);
1217
Assert.Equal(LineCap.Flat, pen.
EndCap
);