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