コード例 #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));
 }