2 references to new
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));