11 references to Save
System.Drawing.Common.Tests (10)
System\Drawing\IconConverterTests.cs (1)
26
_icon.
Save
(destStream);
System\Drawing\IconTests.cs (9)
434
icon.
Save
(outputStream);
445
icon.
Save
(outputStream);
453
Assert.Throws<ArgumentNullException>(() => icon.
Save
(null));
463
AssertExtensions.Throws<ArgumentNullException>("outputStream", "dataStream", () => icon.
Save
(null));
473
Assert.Throws<ObjectDisposedException>(() => icon.
Save
(stream));
488
icon.
Save
(stream);
492
Assert.Throws<ObjectDisposedException>(() => icon.
Save
(stream));
502
Assert.Throws<ObjectDisposedException>(() => icon.
Save
(new MemoryStream()));
717
icon.
Save
(outputStream);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ImageListImageTests.cs (1)
79
icon.
Save
(memoryStream);