15 references to Rectangle
System.Drawing.Common.Tests (15)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (15)
31Assert.Equal(expectedRectangle, brush.Rectangle);
41Assert.Equal(float.PositiveInfinity, brush.Rectangle.X);
42Assert.Equal(float.NegativeInfinity, brush.Rectangle.Y);
43Assert.Equal(float.NaN, brush.Rectangle.Width);
44Assert.Equal(float.NaN, brush.Rectangle.Height);
58Assert.Equal(expectedRectangle, brush.Rectangle);
92Assert.Equal(rectangle, brush.Rectangle);
109Assert.Equal(rectangle, brush.Rectangle);
135Assert.Equal(rectangle, brush.Rectangle);
152Assert.Equal(rectangle, brush.Rectangle);
178Assert.Equal(rectangle, brush.Rectangle);
195Assert.Equal(rectangle, brush.Rectangle);
242Assert.Equal(brush.Rectangle, clone.Rectangle);
571AssertExtensions.Throws<ArgumentException>(null, () => brush.Rectangle);