Пример #1
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 37;
         hash = hash * 31 + _Character.GetHashCode();
         return(hash);
     }
 }
Пример #2
0
 public override Int32 GetHashCode()
 {
     unchecked {
         var hash = 43;
         hash = hash * 31 + Character.GetHashCode();
         hash = hash * 31 + Damage.GetHashCode();
         hash = hash * 31 + Type.GetHashCode();
         return(hash);
     }
 }