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