public override int GetHashCode() { unchecked { var hashCode = (_name != null ? _name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Childs != null ? Childs.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Rule != null ? Rule.GetHashCode() : 0); return(hashCode); } }