7 references to new
System.Drawing.Common.Tests (7)
System\Drawing\RegionTests.cs (7)
93
using Region otherRegion =
new
(region.GetRegionData());
114
using Region other =
new
(region.GetRegionData());
121
AssertExtensions.Throws<ArgumentNullException>("rgnData", () => new
Region
((RegionData)null));
130
AssertExtensions.Throws<ArgumentException>(null, () => new
Region
(regionData));
142
Assert.Throws<ExternalException>(() => new
Region
(regionData));
151
Assert.Throws<ExternalException>(() => new
Region
(regionData));
160
Assert.Throws<NullReferenceException>(() => new
Region
(regionData));