2 writes to WrapMode
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
920brush.WrapMode = wrapMode; 937Assert.ThrowsAny<ArgumentException>(() => brush.WrapMode = (WrapMode)int.MinValue);
8 references to WrapMode
System.Drawing.Common.Tests (8)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (8)
40Assert.Equal(WrapMode.Clamp, bi.WrapMode); 42Assert.Equal(WrapMode.Clamp, bf.WrapMode); 61Assert.Equal(wrapMode, brushInt.WrapMode); 63Assert.Equal(wrapMode, brushFloat.WrapMode); 100Assert.Equal(WrapMode.Clamp, brush.WrapMode); 125Assert.Equal(WrapMode.Clamp, clone.WrapMode); 921Assert.Equal(wrapMode, brush.WrapMode); 930AssertExtensions.Throws<ArgumentException>(null, () => brush.WrapMode);