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