6 writes to _node
System.Data.Common (6)
System\Xml\XPathNodePointer.cs (6)
110_node = node; 468_node = pointer._node; 480_node = node; 489_node = node; 1034_node = node; 1312_node = n;
124 references to _node
System.Data.Common (124)
System\Xml\XPathNodePointer.cs (124)
101this(owner, pointer._doc, pointer._node, pointer._column, pointer._fOnValue, pointer._parentOfNS) 132if (_node != null && _column == null) 134if (_node.NodeType == XmlNodeType.Element) 136return ((XmlElement)_node).IsEmpty; 149if (_node == null) 155return ConvertNodeType(_node); 184if (_node == null) 190XmlNodeType nt = _node.NodeType; 191if (IsNamespaceNode(nt, _node.NamespaceURI) && _node.LocalName == StrXmlNS) 194return _node.LocalName; 213if (_node == null) 219XmlNodeType nt = _node.NodeType; 220if (IsNamespaceNode(nt, _node.NamespaceURI)) 222if (_node.LocalName == StrXmlNS) 225return _node.LocalName; 228return _node.Name; 249if (_node == null) 255XPathNodeType xnt = ConvertNodeType(_node); 257return _node.NamespaceURI; 284if (_node == null) 290if (IsNamespaceNode(_node.NodeType, _node.NamespaceURI)) 292return _node.Prefix; 306if (_node == null) 310string? strRet = _node.Value; 311if (XmlDataDocument.Helpers.IsTextNode(_node.NodeType)) 314XmlNode? parent = _node.ParentNode; 317XmlNode? n = _doc.SafeNextSibling(_node); 348if (_node == null) 354if (_node.NodeType == XmlNodeType.Document) 357XmlElement? rootElem = ((XmlDocument)_node).DocumentElement; 363return _node.InnerText; 382if (_node != null) 383return _node.BaseURI; 393XmlNode curNode = _node; 437rowElem = (XmlBoundElement)_node; 443DataSetMapper.GetRegion(_node, out rowElem); 468_node = pointer._node; 519if (_node != null) 521if (_column == null && _node.NodeType == XmlNodeType.Element) 523if (!IsFoliated(_node)) 528foreach (XmlAttribute attr in _node.Attributes!) 588if (_node != null) 592if ((_column == null || _column.ColumnMapping == MappingType.Attribute) && _node.NodeType == XmlNodeType.Element) 594if (!IsFoliated(_node)) 601MoveTo(_node, c, false); 608Debug.Assert(_node.Attributes != null); 609XmlNode? n = _node.Attributes.GetNamedItem(localName, namespaceURI); 625if (_node != null) 627if (bFirst && (_column != null || _node.NodeType != XmlNodeType.Element)) 633if (_column == null && _node.NodeType != XmlNodeType.Attribute) 636if (!IsFoliated(_node)) 643MoveTo(_node, c, false); 653XmlAttributeCollection attrs = _node.Attributes!; 665XmlAttributeCollection attrs = ((XmlAttribute)_node).OwnerElement!.Attributes; 674if (attr == _node) 726if (_node != null) 740if (IsValidChild(_node, c)) 742MoveTo(_node, c, _doc.IsTextOnly(c)); 747XmlNode? n = _doc.SafeFirstChild(_node); 756XmlNode? n = _node; 757XmlNode? parent = _node.ParentNode; 760bool bTextLike = XmlDataDocument.Helpers.IsTextNode(_node.NodeType); 782if (_node != null) 792if (IsValidChild(_node, c)) 794MoveTo(_node, c, _doc.IsTextOnly(c)); 802XmlNode? n = _node; 803XmlNode? parent = _node.ParentNode; 806bool bTextLike = XmlDataDocument.Helpers.IsTextNode(_node.NodeType); 841if (_node != null) 848parent = _node; 852parent = _node.ParentNode; 864if (IsValidChild(_node, c)) 866MoveTo(_node, c, _doc.IsTextOnly(c)); 893if (_node == null) 902if (!IsFoliated(_node)) 909if (IsValidChild(_node, c)) 915XmlNode? n = _doc.SafeFirstChild(_node); 918if (IsValidChild(_node, n)) 931if (_node == null) 943if (!IsFoliated(_node)) 950if (IsValidChild(_node, c)) 952MoveTo(_node, c, _doc.IsTextOnly(c)); 959XmlNode? n = _doc.SafeFirstChild(_node); 962if (IsValidChild(_node, n)) 983if (_node != null) 989MoveTo(_node, _column, false); 992MoveTo(_node, null, false); 998if (_node.NodeType == XmlNodeType.Attribute) 999n = ((XmlAttribute)_node).OwnerElement; 1001n = _node.ParentNode; 1027XmlNode node = _node; 1028XmlNode? parent = _node; 1047return (pointer._node == _node && pointer._parentOfNS == _parentOfNS); 1050&& pointer._node == _node 1106if (_parentOfNS == other._node) 1116curNode2 = other._node; 1121if (_node == other._parentOfNS) 1130curNode1 = _node; 1135if (_node == other._node) 1160curNode1 = _node; 1161curNode2 = other._node; 1235if (_node == null) 1248return _node; 1255return nodeToCheck == _node; 1267if (_node == foliatedNode) 1288n = _node.FirstChild; 1293n = _node.Attributes!.GetNamedItem(_column.EncodedColumnName, _column.Namespace); 1297for (n = _node.FirstChild; n != null; n = n.NextSibling) 1369XmlNode? node = _node; 1399_parentOfNS = _node as XmlBoundElement; 1404XmlNode? node = _node; 1512_parentOfNS = _node as XmlBoundElement; 1516XmlNode? node = _node; 1573XmlNode? node = _node; 1578if (namespaceScope == XPathNamespaceScope.Local && _parentOfNS != _node) //already outside scope 1580XmlBoundElement? be = _node as XmlBoundElement; 1603else if (_node.NodeType == XmlNodeType.Attribute) 1605XmlAttribute attr = (XmlAttribute)(_node); 1653XmlBoundElement? rowElem = _node as XmlBoundElement;