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