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