internal void AddPointer() => _doc.AddPointer(this);
private XPathNodePointer(DataDocumentXPathNavigator owner, XmlDataDocument doc, XmlNode node, DataColumn c, bool bOnValue, XmlBoundElement parentOfNS) { Debug.Assert(owner != null); _owner = new WeakReference(owner); _doc = doc; _node = node; _column = c; _fOnValue = bOnValue; _parentOfNS = parentOfNS; // Add this pointer to the document so it will be updated each time region changes it's foliation state. _doc.AddPointer(this); _bNeedFoliate = false; AssertValid(); }