3 references to new
System.Drawing.Common.Tests (3)
mono\System.Imaging\MetafileTest.cs (1)
221Metafile mf = new(hdc, default(Rectangle));
System\Drawing\Imaging\MetafileTests.cs (2)
236using Metafile metafile = new(g.GetHdc(), _rectangle); 281AssertExtensions.Throws<ArgumentException>(null, () => new Metafile(IntPtr.Zero, _rectangle));