5 references to new
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
52
new System.Drawing.
Pen
(System.Drawing.Brushes.DeepSkyBlue, 1),
System.Drawing.Common.Tests (3)
System\Drawing\PenTests.cs (3)
58
using (Pen pen =
new
(brush, width))
78
AssertExtensions.Throws<ArgumentNullException>("brush", () => new
Pen
(null, 0));
88
AssertExtensions.Throws<ArgumentException>(null, () => new
Pen
(brush, 10));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\SystemDrawingExtensions.cs (1)
113
=>
new
(brush, width);