10 references to Metafile
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
129Metafile metafile = new Metafile(metafileStream);
System.Drawing.Common.Tests (7)
mono\System.Imaging\MetafileTest.cs (4)
109using Metafile mf = new(fs); 125using Metafile mf = new(ms); 170using Metafile mf = new(fs); 180using Metafile mf = new(ms);
System\Drawing\Imaging\MetafileTests.cs (3)
94using Metafile metafile = new(stream); 101AssertExtensions.Throws<ArgumentNullException, ArgumentException>("stream", null, () => new Metafile((Stream)null)); 108Assert.Throws<ExternalException>(() => new Metafile(stream));
System.Windows.Forms.Design (1)
System\Drawing\Design\MetafileEditor.cs (1)
18protected override Image LoadFromStream(Stream stream) => new Metafile(stream);
System.Windows.Forms.Tests (1)
System\Windows\Forms\TextRendererTests.cs (1)
777using Metafile metafile = new(stream);