6 references to new
System.Drawing.Common.Tests (3)
System\Drawing\FontTests.cs (3)
161
using Font font =
new
(fontFamily.Name, emSize, unit);
365
AssertExtensions.Throws<ArgumentException>("emSize", () => new
Font
(family.Name, emSize, GraphicsUnit.Document));
382
AssertExtensions.Throws<ArgumentException>(null, () => new
Font
(family.Name, 10, unit));
System.Windows.Forms.Tests (3)
System\Windows\Forms\AxHostTests.cs (2)
1509
using Font font =
new
("Arial", 10, unit);
1570
using Font font =
new
("Arial", 10, unit);
System\Windows\Forms\Control.ActiveXFontMarshallerTests.cs (1)
22
using Font font =
new
("Arial", 11.0f, GraphicsUnit.Point);