private static NameTable GetNameTable(XmlContextBase parent) { return(parent.NameTable as NameTable ?? new NameTable()); }
protected XmlContextBase(XmlContextBase parent) : base(GetNameTable(parent)) { this.parent = parent; }