2 references to new
System.Drawing.Common.Tests (2)
System\Drawing\Imaging\MetafileTests.cs (2)
170
using Metafile metafile =
new
(g.GetHdc(), EmfType.EmfOnly, description);
178
AssertExtensions.Throws<ArgumentException>(null, () => new
Metafile
(IntPtr.Zero, EmfType.EmfOnly, description));