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