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