16 references to RemovePropertyItem
System.Drawing.Common.Tests (16)
System\Drawing\ImageTests.cs (16)
140bitmap.RemovePropertyItem(PropertyTagExifUserComment); 143AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagExifUserComment)); 145bitmap.RemovePropertyItem(PropertyTagLuminanceTable); 148AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagLuminanceTable)); 150bitmap.RemovePropertyItem(PropertyTagChrominanceTable); 153Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(PropertyTagChrominanceTable)); 160bitmap.RemovePropertyItem(PropertyTagExifUserComment); 163AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagExifUserComment)); 165bitmap.RemovePropertyItem(PropertyTagLuminanceTable); 168AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(PropertyTagLuminanceTable)); 170bitmap.RemovePropertyItem(PropertyTagChrominanceTable); 173Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(PropertyTagChrominanceTable)); 183Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(propid)); 193Assert.Throws<ExternalException>(() => bitmap.RemovePropertyItem(propid)); 211AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(propid)); 221AssertExtensions.Throws<ArgumentException>(null, () => bitmap.RemovePropertyItem(propid));