Implemented interface member:
8 references to Clone
System.Drawing.Common.Tests (7)
System\Drawing\FontTests.cs (7)
396
Font clone = Assert.IsType<Font>(font.
Clone
());
414
AssertExtensions.Throws<ArgumentException>(null, font.
Clone
);
423
yield return new object[] { font.
Clone
(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true), false };
424
yield return new object[] { font.
Clone
(), new Font(family, 9, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: true), false };
425
yield return new object[] { font.
Clone
(), new Font(family, 10, FontStyle.Italic, GraphicsUnit.Millimeter, 10, gdiVerticalFont: true), false };
426
yield return new object[] { font.
Clone
(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 9, gdiVerticalFont: true), false };
427
yield return new object[] { font.
Clone
(), new Font(family, 10, FontStyle.Bold, GraphicsUnit.Inch, 10, gdiVerticalFont: false), false };
System.Windows.Forms.Tests (1)
System\Windows\Forms\ApplicationTests.cs (1)
197
Font customFont = (Font)SystemFonts.CaptionFont.
Clone
();