3 references to new
System.Drawing.Common.Tests (3)
mono\System.Imaging\MetafileTest.cs (1)
238Metafile mf = new(hdc, default(RectangleF));
System\Drawing\Imaging\MetafileTests.cs (2)
186using Metafile metafile = new(g.GetHdc(), _rectangleF); 274AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(IntPtr.Zero, _rectangleF));