14 writes to PageScale
System.Drawing.Common.Tests (14)
mono\System.Drawing\GraphicsTests.cs (7)
126g.PageScale = 2; 289g.PageScale = 2; 302g.PageScale = 5; 959g.PageScale = 0.5f; 992g.PageScale = 0.5f; 1026g.PageScale = 0.5f; 1107g.PageScale = 0.5f;
System\Drawing\Drawing2D\GraphicsPathTests.cs (1)
1791graphics.PageScale = 2.0f;
System\Drawing\GraphicsTests.cs (6)
650graphics.PageScale = pageScale; 664AssertExtensions.Throws<ArgumentException>(null, () => graphics.PageScale = pageScale); 676Assert.Throws<InvalidOperationException>(() => graphics.PageScale = 10); 692AssertExtensions.Throws<ArgumentException>(null, () => graphics.PageScale = 10); 1742graphics.PageScale = 10; 1807graphics.PageScale = 10;
10 references to PageScale
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (6)
110Assert.Equal(1, g.PageScale); 137Assert.Equal(2, g.PageScale); 315Assert.Equal(2, g.PageScale); 329Assert.Equal(1, g.PageScale); 911AssertEquals(message + ".PageScale", 1.0f, g.PageScale); 926AssertEquals(message + ".PageScale", 0.5f, g.PageScale);
System\Drawing\GraphicsTests.cs (4)
651Assert.Equal(pageScale, graphics.PageScale); 675Assert.Throws<InvalidOperationException>(() => graphics.PageScale); 691AssertExtensions.Throws<ArgumentException>(null, () => graphics.PageScale); 2810Assert.Equal(1, graphics.PageScale);