14 references to SourceCopy
System.Drawing.Common.Tests (14)
mono\System.Drawing\GraphicsTests.cs (9)
125g.CompositingMode = CompositingMode.SourceCopy; 136Assert.Equal(CompositingMode.SourceCopy, g.CompositingMode); 288g.CompositingMode = CompositingMode.SourceCopy; 314Assert.Equal(CompositingMode.SourceCopy, g.CompositingMode); 925AssertEquals(message + ".CompositingMode", CompositingMode.SourceCopy, g.CompositingMode); 958g.CompositingMode = CompositingMode.SourceCopy; 991g.CompositingMode = CompositingMode.SourceCopy; 1025g.CompositingMode = CompositingMode.SourceCopy; 1106g.CompositingMode = CompositingMode.SourceCopy;
System\Drawing\GraphicsTests.cs (5)
300yield return new object[] { CompositingMode.SourceCopy, Color.FromArgb(160, 255, 255, 255) }; 334[InlineData(CompositingMode.SourceCopy + 1)] 351Assert.Throws<InvalidOperationException>(() => graphics.CompositingMode = CompositingMode.SourceCopy); 367AssertExtensions.Throws<ArgumentException>(null, () => graphics.CompositingMode = CompositingMode.SourceCopy); 2793graphics.CompositingMode = CompositingMode.SourceCopy;