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