private object CheckDerivedCopy(CloneBase oriObject) { object cpyObject = oriObject.Clone(); Assert.AreNotSame(cpyObject, oriObject); Assert.AreEqual(cpyObject, oriObject); return(cpyObject); }
private object CheckDerivedCopy(CloneBase oriObject) { object cpyObject = oriObject.Clone(); Assert.AreNotSame(cpyObject,oriObject); Assert.AreEqual(cpyObject,oriObject); return cpyObject; }