16 references to RemovePropertyItem
System.Drawing.Common.Tests (16)
System\Drawing\ImageTests.cs (16)
139
bitmap.
RemovePropertyItem
(PropertyTagExifUserComment);
142
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
RemovePropertyItem
(PropertyTagExifUserComment));
144
bitmap.
RemovePropertyItem
(PropertyTagLuminanceTable);
147
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
RemovePropertyItem
(PropertyTagLuminanceTable));
149
bitmap.
RemovePropertyItem
(PropertyTagChrominanceTable);
152
Assert.Throws<ExternalException>(() => bitmap.
RemovePropertyItem
(PropertyTagChrominanceTable));
159
bitmap.
RemovePropertyItem
(PropertyTagExifUserComment);
162
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
RemovePropertyItem
(PropertyTagExifUserComment));
164
bitmap.
RemovePropertyItem
(PropertyTagLuminanceTable);
167
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
RemovePropertyItem
(PropertyTagLuminanceTable));
169
bitmap.
RemovePropertyItem
(PropertyTagChrominanceTable);
172
Assert.Throws<ExternalException>(() => bitmap.
RemovePropertyItem
(PropertyTagChrominanceTable));
182
Assert.Throws<ExternalException>(() => bitmap.
RemovePropertyItem
(propid));
192
Assert.Throws<ExternalException>(() => bitmap.
RemovePropertyItem
(propid));
210
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
RemovePropertyItem
(propid));
220
AssertExtensions.Throws<ArgumentException>(null, () => bitmap.
RemovePropertyItem
(propid));