8 references to Clone
System.Drawing.Common.Tests (3)
mono\System.Drawing\GraphicsTests.cs (1)
498
using Region clone = g.Clip.
Clone
();
System\Drawing\RegionTests.cs (2)
262
using (Region clone = Assert.IsType<Region>(region.
Clone
()))
275
AssertExtensions.Throws<ArgumentException>(null, () => CreateDisposedRegion().
Clone
());
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
2744
using Region? regionCopy = IsActiveX ? ActiveXMergeRegion(region.
Clone
()) : null;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
386
Region newClip = oldClip.
Clone
();
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
804
using (Region invalidDragRegion = _dragImageRegion.
Clone
())
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
886
_lastResizeRegion ??= newRegion.
Clone
(); // we will need to dispose it later.
System\Windows\Forms\Design\DesignerFrame.cs (1)
485
using Region intersectionRegion = screenRegion.
Clone
();