3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\MetafileTests.cs (3)
209using Metafile metafile = new(g.GetHdc(), _rectangleF, frameUnit); 278AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(IntPtr.Zero, _rectangleF, MetafileFrameUnit.Pixel)); 307AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(referenceHdc, _rectangleF, farameUnit));