public override int GetHashCode() { var result = 0; if (null != Left) { result ^= Left.GetHashCode(); } result ^= CollectionUtility.GetHashCode(Right); return(result); }
public bool Equals(CfgRule rhs) { if (ReferenceEquals(rhs, this)) { return(true); } if (ReferenceEquals(rhs, null)) { return(false); } return(Left == rhs.Left && CollectionUtility.Equals(Right, rhs.Right)); }
public void CopyTo(T[] array, int index) { CollectionUtility.CopyTo(_inner, array, index); }