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