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