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