3 references to LoadFromStream
System.Windows.Forms.Design.Tests (3)
System\Drawing\Design\MetafileEditorTests.cs (3)
62Assert.Throws<ExternalException>(() => editor.LoadFromStream(stream)); 70Metafile result = Assert.IsType<Metafile>(editor.LoadFromStream(stream)); 78Assert.Throws<ArgumentNullException>("stream", () => editor.LoadFromStream(null));