7 references to new
System.Drawing.Common.Tests (6)
System\Drawing\FontTests.cs (6)
146
using Font font =
new
(fontFamily, emSize, unit);
328
AssertExtensions.Throws<ArgumentNullException>("family", () => new
Font
((FontFamily)null, 10, GraphicsUnit.Display));
345
AssertExtensions.Throws<ArgumentException>(null, () => new
Font
(family, 10, GraphicsUnit.Display));
364
AssertExtensions.Throws<ArgumentException>("emSize", () => new
Font
(family, emSize, GraphicsUnit.Document));
381
AssertExtensions.Throws<ArgumentException>(null, () => new
Font
(family, 10, unit));
686
using Font font =
new
(family, 10, unit);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2260
using (Font errorFont =
new
(