2 references to new
System.Drawing.Common.Tests (2)
System\Drawing\Imaging\MetafileTests.cs (2)
532
using (Metafile metafile =
new
(fileName, g.GetHdc(), _rectangle))
621
AssertExtensions.Throws<ArgumentException>(null, () => new
Metafile
(fileName, IntPtr.Zero, _rectangle));