public override Boolean Equals(INode otherNode) { var otherElement = otherNode as IElement; if (otherElement != null) { return(String.Equals(NamespaceUri, otherElement.NamespaceUri, StringComparison.Ordinal) && _attributes.AreEqual(otherElement.Attributes) && base.Equals(otherNode)); } return(false); }
public override Boolean Equals(INode otherNode) { var otherElement = otherNode as IElement; if (otherElement != null) { return(NamespaceUri.Is(otherElement.NamespaceUri) && _attributes.AreEqual(otherElement.Attributes) && base.Equals(otherNode)); } return(false); }