7 references to new
System.Drawing.Common.Tests (7)
System\Drawing\Printing\PageSettingsTests.cs (1)
42
PaperSize = new
PaperSize
("My Custom Size", 222, 333)
System\Drawing\Printing\PaperSizeTests.cs (6)
50
PaperSize size =
new
(name, width, height);
112
PaperSize size =
new
("name", 100, 200)
149
PaperSize size =
new
("name", 100, 200)
210
PaperSize size =
new
("name", 100, 200)
220
yield return new object[] { new
PaperSize
("name", 1, 2), "[PaperSize name Kind=Custom Height=2 Width=1]" };
221
yield return new object[] { new
PaperSize
("name", -1, -2), "[PaperSize name Kind=Custom Height=-2 Width=-1]" };