public override int GetHashCode() { int result = name.GetHashCode(); result = 31 * result + altcs.GetHashCode(); return(result); }
/// <summary> /// Returns hash code based on BaseColor and CanvasColor combined. /// </summary> public override int GetHashCode() { return(BaseColor.GetHashCode() * CanvasColor.GetHashCode()); }