8 references to Clone
System.Drawing.Common.Tests (3)
mono\System.Drawing\GraphicsTests.cs (1)
498using Region clone = g.Clip.Clone();
System\Drawing\RegionTests.cs (2)
262using (Region clone = Assert.IsType<Region>(region.Clone())) 275AssertExtensions.Throws<ArgumentException>(null, () => CreateDisposedRegion().Clone());
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (1)
2744using Region? regionCopy = IsActiveX ? ActiveXMergeRegion(region.Clone()) : null;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
386Region newClip = oldClip.Clone();
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
804using (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)
485using Region intersectionRegion = screenRegion.Clone();