public override int GetHashCode() { return(0x68377975 ^ SmallIcon.GetHashCode() ^ MediumIcon.GetHashCode() ^ LargeIcon.GetHashCode()); }
public override int GetHashCode() { return(0x68377975 //It's pretty likely another type will override CreateIcon ^ GetType().GetHashCode() ^ SmallIcon.GetHashCode() ^ MediumIcon.GetHashCode() ^ LargeIcon.GetHashCode()); }
public override int GetHashCode() { unchecked { var hashCode = SmallIcon != null?SmallIcon.GetHashCode() : 0; hashCode = hashCode * 397 ^ (Icon != null ? Icon.GetHashCode() : 0); hashCode = hashCode * 397 ^ (Featured != null ? Featured.GetHashCode() : 0); hashCode = hashCode * 397 ^ (Other != null ? Other.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = SmallIcon != null?SmallIcon.GetHashCode() : 0; hashCode = hashCode * 397 ^ (Icon != null ? Icon.GetHashCode() : 0); hashCode = hashCode * 397 ^ (Featured != null ? Featured.GetHashCode() : 0); hashCode = hashCode * 397 ^ (Background != null ? Background.GetHashCode() : 0); hashCode = hashCode * 397 ^ (CoverArt != null ? CoverArt.GetHashCode() : 0); hashCode = hashCode * 397 ^ (Decal != null ? Decal.GetHashCode() : 0); return(hashCode); } }