4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\EncoderParameterTests.cs (4)
108
using EncoderParameter ep =
new
(s_anyEncoder, value);
255
Assert.Throws<NullReferenceException>(() => new
EncoderParameter
(s_anyEncoder, (string)null));
274
yield return new object[] { new Action(() => new
EncoderParameter
(null, "anyString")) };
293
Assert.Throws<NullReferenceException>(() => new
EncoderParameter
(null, "anyString"));