10 writes to DashPattern
System.Drawing.Common.Tests (6)
System\Drawing\PenTests.cs (5)
536pen.DashPattern = pattern; 550AssertExtensions.Throws<ArgumentException>(null, () => pen.DashPattern = null); 558AssertExtensions.Throws<ArgumentException>(null, () => pen.DashPattern = []); 570AssertExtensions.Throws<ArgumentException>(null, () => pen.DashPattern = pattern); 581AssertExtensions.Throws<ArgumentException>(null, () => pen.DashPattern = [1]);
System\Drawing\SystemPensTest.cs (1)
70AssertExtensions.Throws<ArgumentException>(null, () => pen.DashPattern = null);
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStripButton.cs (2)
51DashPattern = dashValues 56DashPattern = dashValues,
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
470DashPattern = dashValues 475DashPattern = dashValues,
7 references to DashPattern
System.Drawing.Common.Tests (7)
System\Drawing\PenTests.cs (7)
537Assert.Equal(pattern, pen.DashPattern); 542Assert.NotEqual(pattern, pen.DashPattern); 580AssertExtensions.Throws<ArgumentException>(null, () => pen.DashPattern); 600Assert.Throws<InvalidOperationException>(() => pen.DashPattern); 604Assert.Equal(expectedDashPattern, pen.DashPattern); 617Assert.Equal([3, 1], pen.DashPattern); 1214Assert.Throws<InvalidOperationException>(() => pen.DashPattern);