10 instantiations of PrinterResolution
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]" };
12 references to PrinterResolution
System.Drawing (1)
System.Drawing.cs (1)
122[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrinterResolution))]
System.Drawing.Common (5)
Special\NotSupported.cs (5)
2756public System.Drawing.Printing.PrinterResolution PrinterResolution { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } 3081public PrinterResolutionCollection(System.Drawing.Printing.PrinterResolution[] array) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3083public virtual System.Drawing.Printing.PrinterResolution this[int index] { get { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } 3088public int Add(System.Drawing.Printing.PrinterResolution printerResolution) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3089public void CopyTo(System.Drawing.Printing.PrinterResolution[] printerResolutions, int index) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PrinterResolutionTests.cs (6)
13PrinterResolution resolution = new(); 27PrinterResolution resolution = new() 46PrinterResolution resolution = new() 65PrinterResolution resolution = new() 81PrinterResolution resolution = new(); 95public void ToString_Invoke_ReturnsExpected(PrinterResolution resolution, string expected)