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