2 references to new
System.Drawing.Common.Tests (2)
System\Drawing\Imaging\EncoderParameterTests.cs (2)
152using EncoderParameter ep = new(s_anyEncoder, numerator, denominator); 239Assert.Throws(expected, () => new EncoderParameter(s_anyEncoder, numerator, denominator));