15 references to new
System.Drawing.Common.Tests (11)
System\Drawing\Printing\MarginsConverterTests.cs (1)
123
Margins margins =
new
() { Left = 1, Right = 2, Top = 3, Bottom = 4 };
System\Drawing\Printing\MarginsTests.cs (10)
35
Margins margins =
new
();
129
yield return new object[] { new
Margins
(), "[Margins Left=100 Right=100 Top=100 Bottom=100]" };
163
Margins margins =
new
()
177
Margins margins =
new
();
185
Margins margins =
new
()
199
Margins margins =
new
();
207
Margins margins =
new
()
221
Margins margins =
new
();
229
Margins margins =
new
()
243
Margins margins =
new
();
System.Windows.Forms (1)
System\Windows\Forms\Printing\PageSetupDialog.cs (1)
249
Margins newMargins =
new
()
System.Windows.Forms.Tests (3)
System\Windows\Forms\PageSetupDialogTests.cs (3)
197
yield return new object[] { new
Margins
(), new
Margins
() };
240
yield return new object[] { new
Margins
(), true };