/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns></returns> public override int GetHashCode() { return(attributes != null?attributes.GetHashCode() : 0); }