6 references to new
System.Drawing.Common.Tests (6)
System\Drawing\Imaging\EncoderParametersTests.cs (1)
30
yield return new object[] { new EncoderParameter[1] {
new
(Encoder.ChrominanceTable, 0) } };
System\Drawing\Imaging\EncoderParameterTests.cs (5)
42
using EncoderParameter ep =
new
(encoder, value);
200
using EncoderParameter ep =
new
(s_anyEncoder, 0)
228
using EncoderParameter ep =
new
(s_anyEncoder, 0);
268
yield return new object[] { new Action(() => new
EncoderParameter
(null, 0)) };
287
Assert.Throws<NullReferenceException>(() => new
EncoderParameter
(null, 0));