3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\EncoderParameterTests.cs (3)
51EncoderParameter ep = new(s_anyEncoder, 0, undefined); 269yield return new object[] { new Action(() => new EncoderParameter(null, 0, false)) }; 288Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, 0, false));