11 references to DrawRectangle
System.Drawing.Common.Tests (11)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
435gr.DrawRectangle(p, 10.0F, 10.0F, 80.0F, 80.0F);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
189gr.DrawRectangle(p, 10.0F, 10.0F, 80.0F, 80.0F);
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1873gr.DrawRectangle(p, 10.0F, 10.0F, 80.0F, 80.0F);
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
354gr.DrawRectangle(p, 10.0F, 10.0F, 80.0F, 80.0F);
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
575gr.DrawRectangle(p, 10.0F, 10.0F, 80.0F, 80.0F);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
246gr.DrawRectangle(p, 10.0F, 10.0F, 80.0F, 80.0F);
mono\System.Drawing\GraphicsTests.cs (1)
836g.DrawRectangle(pen, 0.0f, 0.0f, 5.0f, -10.0f);
System\Drawing\GraphicsTests.cs (4)
2045AssertExtensions.Throws<ArgumentNullException>("pen", () => graphics.DrawRectangle(null, 0f, 0f, 1f, 1f)); 2058AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangle(pen, 0f, 0f, 1f, 1f)); 2072Assert.Throws<InvalidOperationException>(() => graphics.DrawRectangle(pen, 0f, 0f, 1f, 1f)); 2090AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawRectangle(pen, 0f, 0f, 1f, 1f));