3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\EncoderParameterTests.cs (3)
144
using EncoderParameter ep =
new
(s_anyEncoder, value);
278
yield return new object[] { new Action(() => new
EncoderParameter
(null, Array.Empty<long>())) };
297
Assert.Throws<NullReferenceException>(() => new
EncoderParameter
(null, Array.Empty<long>()));