3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\EncoderParameterTests.cs (3)
90using EncoderParameter ep = new(s_anyEncoder, numerator1, denominator1, numerator2, denominator2); 273yield return new object[] { new Action(() => new EncoderParameter(null, 0, 0, 0, 0)) }; 292Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, 0, 0, 0, 0));