示例#1
0
        public void ReferenceTypeIsImportant( )
        {
            A      a  = new A();
            object oa = new A();

            Assert.AreNotEqual(a.GetHashCode(), AutoHasher.GetHashCode(oa));
        }
示例#2
0
 public override int GetHashCode()
 {
     return(AutoHasher.GetHashCode(this));
 }