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