13 writes to InterpolationMode
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (7)
125
g.
InterpolationMode
= InterpolationMode.HighQualityBilinear;
288
g.
InterpolationMode
= InterpolationMode.HighQualityBilinear;
301
g.
InterpolationMode
= InterpolationMode.Bilinear;
958
g.
InterpolationMode
= InterpolationMode.HighQualityBicubic;
991
g.
InterpolationMode
= InterpolationMode.HighQualityBicubic;
1025
g.
InterpolationMode
= InterpolationMode.HighQualityBicubic;
1106
g.
InterpolationMode
= InterpolationMode.HighQualityBicubic;
System\Drawing\GraphicsTests.cs (5)
592
graphics.
InterpolationMode
= interpolationMode;
603
AssertExtensions.Throws<InvalidEnumArgumentException>("value", () => graphics.
InterpolationMode
= interpolationMode);
611
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
InterpolationMode
= InterpolationMode.Invalid);
623
Assert.Throws<InvalidOperationException>(() => graphics.
InterpolationMode
= InterpolationMode.HighQualityBilinear);
639
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
InterpolationMode
= InterpolationMode.HighQualityBilinear);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Internals\ScaleHelper.cs (1)
182
graphics.
InterpolationMode
= interpolationMode;
10 references to InterpolationMode
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (6)
109
Assert.Equal(InterpolationMode.Bilinear, g.
InterpolationMode
);
136
Assert.Equal(InterpolationMode.HighQualityBilinear, g.
InterpolationMode
);
314
Assert.Equal(InterpolationMode.HighQualityBilinear, g.
InterpolationMode
);
328
Assert.Equal(InterpolationMode.Bilinear, g.
InterpolationMode
);
910
AssertEquals(message + ".InterpolationMode", InterpolationMode.Bilinear, g.
InterpolationMode
);
925
AssertEquals(message + ".InterpolationMode", InterpolationMode.HighQualityBicubic, g.
InterpolationMode
);
System\Drawing\GraphicsTests.cs (4)
593
Assert.Equal(expectedInterpolationMode, graphics.
InterpolationMode
);
622
Assert.Throws<InvalidOperationException>(() => graphics.
InterpolationMode
);
638
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
InterpolationMode
);
2807
Assert.Equal(InterpolationMode.Bilinear, graphics.
InterpolationMode
);