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