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