4 references to new
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\EncoderParameterTests.cs (4)
117
using EncoderParameter ep =
new
(s_anyEncoder, value);
261
Assert.Throws<NullReferenceException>(() => new
EncoderParameter
(s_anyEncoder, (byte[])null));
275
yield return new object[] { new Action(() => new
EncoderParameter
(null, new byte[] { })) };
294
Assert.Throws<NullReferenceException>(() => new
EncoderParameter
(null, new byte[] { }));