5 references to new
System.Drawing.Common (1)
System\Drawing\Bitmap.cs (1)
28
public Bitmap(string filename) :
this
(filename, useIcm: false) { }
System.Drawing.Common.Tests (4)
System\Drawing\BitmapTests.cs (4)
58
using Bitmap bitmap =
new
(Helpers.GetTestBitmapPath(filename), useIcm);
70
AssertExtensions.Throws<ArgumentNullException>("path", () => new
Bitmap
((string)null, false));
80
AssertExtensions.Throws<ArgumentException>(paramName, null, () => new
Bitmap
(filename, false));
81
AssertExtensions.Throws<ArgumentException>(paramName, null, () => new
Bitmap
(filename, true));