12 writes to CompositingMode
System.Drawing.Common.Tests (12)
mono\System.Drawing\GraphicsTests.cs (7)
123
g.
CompositingMode
= CompositingMode.SourceCopy;
286
g.
CompositingMode
= CompositingMode.SourceCopy;
299
g.
CompositingMode
= CompositingMode.SourceOver;
956
g.
CompositingMode
= CompositingMode.SourceCopy;
989
g.
CompositingMode
= CompositingMode.SourceCopy;
1023
g.
CompositingMode
= CompositingMode.SourceCopy;
1104
g.
CompositingMode
= CompositingMode.SourceCopy;
System\Drawing\GraphicsTests.cs (5)
317
graphics.
CompositingMode
= mode;
339
AssertExtensions.Throws<InvalidEnumArgumentException>("value", () => graphics.
CompositingMode
= compositingMode);
351
Assert.Throws<InvalidOperationException>(() => graphics.
CompositingMode
= CompositingMode.SourceCopy);
367
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
CompositingMode
= CompositingMode.SourceCopy);
2793
graphics.
CompositingMode
= CompositingMode.SourceCopy;
10 references to CompositingMode
System.Drawing.Common.Tests (10)
mono\System.Drawing\GraphicsTests.cs (6)
107
Assert.Equal(CompositingMode.SourceOver, g.
CompositingMode
);
134
Assert.Equal(CompositingMode.SourceCopy, g.
CompositingMode
);
312
Assert.Equal(CompositingMode.SourceCopy, g.
CompositingMode
);
326
Assert.Equal(CompositingMode.SourceOver, g.
CompositingMode
);
908
AssertEquals(message + ".CompositingMode", CompositingMode.SourceOver, g.
CompositingMode
);
923
AssertEquals(message + ".CompositingMode", CompositingMode.SourceCopy, g.
CompositingMode
);
System\Drawing\GraphicsTests.cs (4)
318
Assert.Equal(mode, graphics.
CompositingMode
);
350
Assert.Throws<InvalidOperationException>(() => graphics.
CompositingMode
);
366
AssertExtensions.Throws<ArgumentException>(null, () => graphics.
CompositingMode
);
2803
Assert.Equal(CompositingMode.SourceOver, graphics.
CompositingMode
);