System\Drawing\Imaging\ImageAttributesTests.cs (8)
597imageAttr.SetGamma(2.2f, type);
610imageAttr.SetGamma(2.2f, type);
623AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.SetGamma(2.2f, ColorAdjustType.Default));
631AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.SetGamma(2.2f, type));
641imageAttr.SetGamma(2.2f, type);
687imageAttr.SetGamma(2.2f, type);
737imageAttr.SetGamma(2.2f, type);
754imageAttr.SetGamma(2.2f, type);