3 references to LoadFromStream
System.Windows.Forms.Design.Tests (3)
System\Drawing\Design\ImageEditorTests.cs (3)
133
Bitmap result = Assert.IsType<Bitmap>(editor.
LoadFromStream
(stream));
146
Assert.Throws<ArgumentException>(() => editor.
LoadFromStream
(stream));
153
Assert.Throws<ArgumentNullException>("stream", () => editor.
LoadFromStream
(null));