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