public override int GetHashCode() { unchecked { var hashCode = Id; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Options != null ? Options.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Position; hashCode = (hashCode * 397) ^ Variation.GetHashCode(); hashCode = (hashCode * 397) ^ Visible.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { var hash = 3; hash = 53 * hash + (Name?.GetHashCode() ?? 0); hash = 53 * hash + (TypeLine?.GetHashCode() ?? 0); hash = 53 * hash + (Variation?.GetHashCode() ?? 0); hash = 53 * hash + (Links.GetHashCode()); hash = 53 * hash + (GemLevel.GetHashCode()); hash = 53 * hash + (GemQuality.GetHashCode()); hash = 53 * hash + (MapTier.GetHashCode()); hash = 53 * hash + (GemCorrupted.GetHashCode()); hash = 53 * hash + FrameType; return(hash); }
public override int GetHashCode() { return((((((Variation.GetHashCode() * 17) + Version.GetHashCode()) * 17) + TrackEvents.GetHashCode()) * 17 + DebugEventsUntilDate.GetHashCode()) * 17 + (Reason == null ? 0 : Reason.GetHashCode())); }