2 writes to GammaCorrection
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (2)
358using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.Plum, Color.Red, 45, true) { GammaCorrection = gammaCorrection }; 369AssertExtensions.Throws<ArgumentException>(null, () => brush.GammaCorrection = true);
10 references to GammaCorrection
System.Drawing.Common.Tests (10)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (10)
28Assert.False(brush.GammaCorrection); 55Assert.False(brush.GammaCorrection); 89Assert.False(brush.GammaCorrection); 106Assert.False(brush.GammaCorrection); 132Assert.False(brush.GammaCorrection); 149Assert.False(brush.GammaCorrection); 175Assert.False(brush.GammaCorrection); 192Assert.False(brush.GammaCorrection); 359Assert.Equal(gammaCorrection, brush.GammaCorrection); 368AssertExtensions.Throws<ArgumentException>(null, () => brush.GammaCorrection);