/// <include file='../docs.xml' /// path='docs/doc[@name="M:PeterO.XEReader.Create(System.Xml.XmlReader)"]/*'/> public static XEReader Create(XmlReader reader) { if (reader == null) { throw new ArgumentNullException("reader"); } var w = new XEReader(reader, true); w.reader.MoveToContent(); w.depth = w.reader.Depth; return(w); }
/// <include file='../docs.xml' /// path='docs/doc[@name="M:PeterO.XEReader.Create(System.Xml.XmlReader)"]/*'/> public static XEReader Create(XmlReader reader) { if (reader == null) { throw new ArgumentNullException("reader"); } var w = new XEReader(reader, true); w.reader.MoveToContent(); w.depth = w.reader.Depth; return w; }