Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Size.GetHashCode();
         hashCode = (hashCode * 397) ^ Polynomial.GetHashCode();
         hashCode = (hashCode * 397) ^ InitialValue.GetHashCode();
         hashCode = (hashCode * 397) ^ FinalXorValue.GetHashCode();
         hashCode = (hashCode * 397) ^ ReflectInput.GetHashCode();
         hashCode = (hashCode * 397) ^ ReflectOutput.GetHashCode();
         hashCode = (hashCode * 397) ^ ExpectedCheck.GetHashCode();
         return(hashCode);
     }
 }
Beispiel #2
0
 public override int GetHashCode() => InitialValue.GetHashCode();