public override int GetHashCode() { //return _cachedHash; var first = _firstChild.GetHashCode(); var second = _secondChild.GetHashCode(); // based on http://stackoverflow.com/a/263416/2877032 unchecked { int hash = 17; hash = hash * 23 + first; hash = hash * 23 + second; return(hash); } }
public override int GetHashCode() { return(_firstChild.GetHashCode()); }