8 writes to PrinterName
System.Drawing.Common.Tests (8)
System\Drawing\Printing\PrintDocumentTests.cs (1)
175document.PrinterSettings.PrinterName = GetPdfPrinterName();
System\Drawing\Printing\PrinterSettingsTests.cs (7)
183PrinterName = "Invalid Printer" 348PrinterName = printerName 359PrinterName = null 419PrinterSettings printerSettings = new() { PrinterName = GetNameOfTestPrinterSuitableForDevModeTesting() }; 549PrinterSettings printerSettings = new() { PrinterName = printerName, Copies = 3 }; 550PrinterSettings newPrinterSettings = new() { PrinterName = printerName, Copies = 6 }; 565PrinterSettings printerSettings = new() { PrinterName = candidate };
7 references to PrinterName
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrinterSettingsTests.cs (5)
351Assert.Equal(printerName, printerSettings.PrinterName); 362Assert.NotNull(printerSettings.PrinterName); 597Assert.Equal(newPrinterSettings.PrinterName, printerSettings.PrinterName); 605+ printerSettings.PrinterName
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrinterSettingsExtensions.cs (2)
24fixed (char* n = printerSettings.PrinterName) 35fixed (char* n = printerSettings.PrinterName)