3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\EncoderParameterTests.cs (3)
135using EncoderParameter ep = new(s_anyEncoder, value); 277yield return new object[] { new Action(() => new EncoderParameter(null, new short[] { })) }; 296Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, new short[] { }));