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