13 writes to SmoothingMode
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (7)
130
g.
SmoothingMode
= SmoothingMode.AntiAlias;
294
g.
SmoothingMode
= SmoothingMode.AntiAlias;
307
g.
SmoothingMode
= SmoothingMode.None;
964
g.
SmoothingMode
= SmoothingMode.AntiAlias;
997
g.
SmoothingMode
= SmoothingMode.AntiAlias;
1031
g.
SmoothingMode
= SmoothingMode.AntiAlias;
1112
g.
SmoothingMode
= SmoothingMode.AntiAlias;
System\Drawing\GraphicsTests.cs (5)
908
graphics.
SmoothingMode
= smoothingMode;
919
AssertExtensions.Throws<InvalidEnumArgumentException>("value", () => graphics.
SmoothingMode
= smoothingMode);
927
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
SmoothingMode
= SmoothingMode.Invalid);
939
Assert.Throws<InvalidOperationException>(() => graphics.
SmoothingMode
= SmoothingMode.AntiAlias);
955
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
SmoothingMode
= SmoothingMode.AntiAlias);
WinFormsControlsTest (1)
CustomComCtl32Button.cs (1)
118
g.
SmoothingMode
= SmoothingMode.AntiAlias;
10 references to SmoothingMode
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (6)
114
Assert.Equal(SmoothingMode.None, g.
SmoothingMode
);
141
Assert.Equal(SmoothingMode.AntiAlias, g.
SmoothingMode
);
319
Assert.Equal(SmoothingMode.AntiAlias, g.
SmoothingMode
);
333
Assert.Equal(SmoothingMode.None, g.
SmoothingMode
);
914
AssertEquals(message + ".SmoothingMode", SmoothingMode.None, g.
SmoothingMode
);
930
AssertEquals(message + ".SmoothingMode", SmoothingMode.AntiAlias, g.
SmoothingMode
);
System\Drawing\GraphicsTests.cs (4)
909
Assert.Equal(expectedSmoothingMode, graphics.
SmoothingMode
);
938
Assert.Throws<InvalidOperationException>(() => graphics.
SmoothingMode
);
954
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
SmoothingMode
);
2814
Assert.Equal(SmoothingMode.None, graphics.
SmoothingMode
);