3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\EncoderParameterTests.cs (3)
99using EncoderParameter ep = new(s_anyEncoder, rangeBegin, rangeEnd); 272yield return new object[] { new Action(() => new EncoderParameter(null, rangebegin: 0, rangeend: 0)) }; 291Assert.Throws<NullReferenceException>(() => new EncoderParameter(null, rangebegin: 0, rangeend: 0));