Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
예제 #1
0
 private static void testEquality(string s, Schema sc)
 {
     Assert.IsTrue(sc.Equals(sc));
     Schema sc2 = Schema.Parse(s);
     Assert.IsTrue(sc.Equals(sc2));
     Assert.AreEqual(sc.GetHashCode(), sc2.GetHashCode());
 }