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