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