5 writes to DashCap
System.Drawing.Common.Tests (5)
System\Drawing\PenTests.cs (4)
475pen.DashCap = dashCap; 487Assert.ThrowsAny<ArgumentException>(() => pen.DashCap = dashCap); 498AssertExtensions.Throws<ArgumentException>(null, () => pen.DashCap = DashCap.Triangle); 1010pen.DashCap = DashCap.Round;
System\Drawing\SystemPensTest.cs (1)
67AssertExtensions.Throws<ArgumentException>(null, () => pen.DashCap = DashCap.Flat);
4 references to DashCap
System.Drawing.Common.Tests (4)
System\Drawing\PenTests.cs (4)
476Assert.Equal(dashCap, pen.DashCap); 497AssertExtensions.Throws<ArgumentException>(null, () => pen.DashCap); 1016Assert.Equal(Enum.IsDefined(typeof(DashCap), dashCap) ? dashCap : DashCap.Flat, pen.DashCap); 1211Assert.Equal(DashCap.Flat, pen.DashCap);