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