3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\ColorBlendTests.cs (3)
21ColorBlend blend = new(count); 29Assert.Throws<OverflowException>(() => new ColorBlend(-1)); 35Assert.Throws<OutOfMemoryException>(() => new ColorBlend(int.MaxValue));