14 references to DrawLines
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (2)
1528
g.
DrawLines
(pen, pts);
1532
g.
DrawLines
(Pens.Blue, pts);
System\Drawing\Graphics_DrawLineTests.cs (6)
102
AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.
DrawLines
(null, new Point[2]));
114
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawLines
(pen, new Point[2]));
124
AssertExtensions.Throws<ArgumentNullException>("points", () => graphics.
DrawLines
(pen, (Point[])null));
136
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawLines
(pen, new Point[length]));
149
Assert.Throws<InvalidOperationException>(() => graphics.
DrawLines
(pen, new Point[2]));
166
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
DrawLines
(pen, new Point[2]));
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (6)
3788
g.
DrawLines
(SystemPens.ControlText, (ReadOnlySpan<Point>)
3795
g.
DrawLines
(SystemPens.ControlText, (ReadOnlySpan<Point>)
3802
g.
DrawLines
(SystemPens.ControlText, (ReadOnlySpan<Point>)
3815
g.
DrawLines
(SystemPens.ControlText, (ReadOnlySpan<Point>)
3822
g.
DrawLines
(SystemPens.ControlText, (ReadOnlySpan<Point>)
3829
g.
DrawLines
(SystemPens.ControlText, (ReadOnlySpan<Point>)