3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\EncoderParameterTests.cs (3)
81using EncoderParameter ep = new(s_anyEncoder, numerator, denominator); 271yield return new object[] { new Action(() => new EncoderParameter(null, numerator: 0, denominator: 0)) }; 290Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, numerator: 0, denominator: 0));