10 references to new
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
59new System.Drawing.Printing.PrinterResolution(),
System.Drawing.Common.Tests (9)
System\Drawing\Printing\PrinterResolutionTests.cs (9)
13PrinterResolution resolution = new(); 27PrinterResolution resolution = new() 46PrinterResolution resolution = new() 65PrinterResolution resolution = new() 81PrinterResolution resolution = new(); 87yield return new object[] { new PrinterResolution(), "[PrinterResolution X=0 Y=0]" }; 88yield return new object[] { new PrinterResolution { X = -1, Y = -2 }, "[PrinterResolution X=-1 Y=-2]" }; 89yield return new object[] { new PrinterResolution { Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" }; 90yield return new object[] { new PrinterResolution { X = 1, Y = 2, Kind = PrinterResolutionKind.High }, "[PrinterResolution High]" };