Implemented interface member:
25 references to Clone
System.Drawing.Common.Tests (19)
mono\System.Drawing\BitmapTests.cs (2)
336using Bitmap bmpNew = (Bitmap)bmp.Clone(); 403using Bitmap test = src.Clone() as Bitmap;
mono\System.Imaging\MetafileTest.cs (1)
47using Metafile clone = (Metafile)mf.Clone();
System\Drawing\BitmapTests.cs (2)
472using Bitmap clone = Assert.IsType<Bitmap>(bitmap.Clone()); 484AssertExtensions.Throws<ArgumentException>(null, bitmap.Clone);
System\Drawing\Imaging\PropertyItemTests.cs (1)
75using Image clone = (Image)image.Clone();
System\Drawing\TextureBrushTests.cs (13)
50yield return new object[] { ((Image)data[0]).Clone(), WrapMode.Clamp, data[1], data[2] }; 51yield return new object[] { ((Image)data[0]).Clone(), WrapMode.Tile, data[1], data[2] }; 52yield return new object[] { ((Image)data[0]).Clone(), WrapMode.TileFlipX, data[1], data[2] }; 53yield return new object[] { ((Image)data[0]).Clone(), WrapMode.TileFlipXY, data[1], data[2] }; 54yield return new object[] { ((Image)data[0]).Clone(), WrapMode.TileFlipY, data[1], data[2] }; 131yield return new object[] { ((Image)data[0]).Clone(), WrapMode.Clamp, data[1] }; 132yield return new object[] { ((Image)data[0]).Clone(), WrapMode.Tile, data[1] }; 133yield return new object[] { ((Image)data[0]).Clone(), WrapMode.TileFlipX, data[1] }; 134yield return new object[] { ((Image)data[0]).Clone(), WrapMode.TileFlipXY, data[1] }; 135yield return new object[] { ((Image)data[0]).Clone(), WrapMode.TileFlipY, data[1] }; 185yield return new object[] { ((Image)data[0]).Clone(), data[1], null, WrapMode.Tile }; 186yield return new object[] { ((Image)data[0]).Clone(), data[1], new ImageAttributes(), WrapMode.Clamp }; 190yield return new object[] { ((Image)data[0]).Clone(), data[1], customWrapMode, WrapMode.TileFlipXY };
System.Windows.Forms (4)
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
309bitmap = (Bitmap)bitmap.Clone();
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (1)
151bitmap = (Bitmap)bitmap.Clone();
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1725Image mirroredImage = (Image)image.Clone();
System\Windows\Forms\OLE\DataObject.Composition.NativeToWinFormsAdapter.cs (1)
382data = (Image)clipboardImage.Clone();
System.Windows.Forms.Primitives (2)
System\Drawing\ImageExtensions.cs (2)
37return (Image)metafile.Clone(); 43return (Image)metafile.Clone();