8 writes to TextContrast
System.Drawing.Common.Tests (8)
mono\System.Drawing\GraphicsTests.cs (4)
964
g.
TextContrast
= 0;
997
g.
TextContrast
= 0;
1031
g.
TextContrast
= 0;
1112
g.
TextContrast
= 0;
System\Drawing\GraphicsTests.cs (4)
967
graphics.
TextContrast
= textContrast;
978
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TextContrast
= textContrast);
990
Assert.Throws<InvalidOperationException>(() => graphics.
TextContrast
= 5);
1006
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TextContrast
= 5);
6 references to TextContrast
System.Drawing.Common.Tests (6)
mono\System.Drawing\GraphicsTests.cs (2)
914
AssertEquals(message + ".TextContrast", 4, g.
TextContrast
);
930
AssertEquals(message + ".TextContrast", 0, g.
TextContrast
);
System\Drawing\GraphicsTests.cs (4)
968
Assert.Equal(textContrast, graphics.
TextContrast
);
989
Assert.Throws<InvalidOperationException>(() => graphics.
TextContrast
);
1005
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
TextContrast
);
2816
Assert.Equal(4, graphics.
TextContrast
);