8 writes to TextContrast
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (4)
965g.TextContrast = 0; 998g.TextContrast = 0; 1032g.TextContrast = 0; 1113g.TextContrast = 0;
System\Drawing\GraphicsTests.cs (4)
966graphics.TextContrast = textContrast; 977AssertExtensions.Throws<ArgumentException>(null, () => graphics.TextContrast = textContrast); 989Assert.Throws<InvalidOperationException>(() => graphics.TextContrast = 5); 1005AssertExtensions.Throws<ArgumentException>(null, () => graphics.TextContrast = 5);
6 references to TextContrast
System.Drawing.Common.Tests (6)
mono\System.Drawing\GraphicsTests.cs (2)
915AssertEquals(message + ".TextContrast", 4, g.TextContrast); 931AssertEquals(message + ".TextContrast", 0, g.TextContrast);
System\Drawing\GraphicsTests.cs (4)
967Assert.Equal(textContrast, graphics.TextContrast); 988Assert.Throws<InvalidOperationException>(() => graphics.TextContrast); 1004AssertExtensions.Throws<ArgumentException>(null, () => graphics.TextContrast); 2815Assert.Equal(4, graphics.TextContrast);