3 references to GetAdjustedPalette
System.Drawing.Common.Tests (3)
System\Drawing\Imaging\ImageAttributesTests.cs (3)
1308
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
GetAdjustedPalette
(bitmap.Palette, ColorAdjustType.Default));
1315
Assert.Throws<NullReferenceException>(() => imageAttr.
GetAdjustedPalette
(null, ColorAdjustType.Default));
1324
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
GetAdjustedPalette
(bitmap.Palette, type));