4 references to new
System.Drawing.Common (2)
System\Drawing\Icon.cs (2)
107
public Icon(Stream stream) :
this
(stream, 0, 0)
111
public Icon(Stream stream, Size size) :
this
(stream, size.Width, size.Height)
System.Drawing.Common.Tests (2)
System\Drawing\IconTests.cs (2)
125
using Icon icon =
new
(stream, size.Width, size.Height);
146
AssertExtensions.Throws<ArgumentNullException, ArgumentException>("stream", null, () => new
Icon
((Stream)null, 32, 32));