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