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