5 references to new
System.Drawing.Common.Tests (5)
System\Drawing\Imaging\MetafileTests.cs (5)
339
using (Metafile metafile =
new
(fileName, g.GetHdc()))
386
AssertExtensions.Throws<ArgumentException>(null, () => new
Metafile
(fileName, IntPtr.Zero));
411
AssertExtensions.Throws<ArgumentNullException>("path", () => new
Metafile
((string)null, referenceHdc));
424
AssertExtensions.Throws<ArgumentException>("path", null, () => new
Metafile
(fileName, referenceHdc));
436
Assert.Throws<PathTooLongException>(() => new
Metafile
(fileName, referenceHdc));