Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((StartLocation.GetHashCode() * 397) ^ EndLocation.GetHashCode());
     }
 }
 public override int GetHashCode()
 {
     unchecked {
         int hash = 23;
         hash = hash * 37 + Text.GetHashCode();
         hash = hash * 37 + StartLocation.GetHashCode();
         hash = hash * 37 + EndLocation.GetHashCode();
         return(hash);
     }
 }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked {
         int hash = 23;
         hash = hash * 37 + Index.GetHashCode();
         hash = hash * 37 + Alignment.GetHashCode();
         hash = hash * 37 + FormatString.GetHashCode();
         hash = hash * 37 + StartLocation.GetHashCode();
         hash = hash * 37 + EndLocation.GetHashCode();
         return(hash);
     }
 }