1 write to createdByDefaultConstructor
System.Drawing (1)
commonui\System\Drawing\Printing\PaperSize.cs (1)
45this.createdByDefaultConstructor = true;
3 references to createdByDefaultConstructor
System.Drawing (3)
commonui\System\Drawing\Printing\PaperSize.cs (3)
79if (kind != PaperKind.Custom && !this.createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom)); 110if (kind != PaperKind.Custom && !this.createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom)); 139if (kind != PaperKind.Custom && !createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom));