/// <summary> /// An xml element path is considered to be equal if /// each path item has the same name and namespace. /// </summary> public override bool Equals(object obj) { var rhsPath = obj as XmlElementPath; if (rhsPath == null) { return(false); } return(_elements.Equals(rhsPath._elements)); }
public void EmptyCollectionsAreEqual() { Assert.IsTrue(lhs.Equals(rhs)); }