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