public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } hash ^= tiles_.GetHashCode(); if (master_ != null) { hash ^= Master.GetHashCode(); } if (Random != false) { hash ^= Random.GetHashCode(); } if (TileWidth != 0) { hash ^= TileWidth.GetHashCode(); } if (TileHeight != 0) { hash ^= TileHeight.GetHashCode(); } if (ColourBlended != false) { hash ^= ColourBlended.GetHashCode(); } if (Enhanced != false) { hash ^= Enhanced.GetHashCode(); } if (EnhancedThreshold != 0) { hash ^= EnhancedThreshold.GetHashCode(); } if (EdgeDetection != false) { hash ^= EdgeDetection.GetHashCode(); } hash ^= edges_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Speed.GetHashCode() + Height.GetHashCode()); }