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