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