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