16 references to RemovePropertyItem
System.Drawing.Common.Tests (16)
System\Drawing\ImageTests.cs (16)
137bitmap.RemovePropertyItem(PropertyTagExifUserComment); 140AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagExifUserComment)); 142bitmap.RemovePropertyItem(PropertyTagLuminanceTable); 145AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagLuminanceTable)); 147bitmap.RemovePropertyItem(PropertyTagChrominanceTable); 150Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(PropertyTagChrominanceTable)); 157bitmap.RemovePropertyItem(PropertyTagExifUserComment); 160AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagExifUserComment)); 162bitmap.RemovePropertyItem(PropertyTagLuminanceTable); 165AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagLuminanceTable)); 167bitmap.RemovePropertyItem(PropertyTagChrominanceTable); 170Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(PropertyTagChrominanceTable)); 180Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(propid)); 190Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(propid)); 208AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(propid)); 218AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(propid));