public virtual bool ReadToNextSibling (string localName, string namespaceURI) { if (ReadState != ReadState.Interactive) return false; int depth = Depth; Skip (); for (; !EOF && depth <= Depth; Skip ()) if (NodeType == XmlNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI) return true; return false; }