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