6 writes to _node
System.Data (6)
fx\src\data\System\NewXml\XPathNodePointer.cs (6)
118
this.
_node
= node;
435
this.
_node
= pointer._node;
448
this.
_node
= node;
459
this.
_node
= node;
933
this.
_node
= node;
1181
this.
_node
= n;
124 references to _node
System.Data (124)
fx\src\data\System\NewXml\XPathNodePointer.cs (124)
111
: this ( owner, pointer._doc, pointer.
_node
, pointer._column, pointer._fOnValue, pointer._parentOfNS ) {
138
if (
_node
!= null && _column == null) {
139
if (
_node
.NodeType == XmlNodeType.Element) {
140
return((XmlElement)
_node
).IsEmpty;
152
if (this.
_node
== null) {
156
return ConvertNodeType(this.
_node
);
180
if (this.
_node
== null) {
184
XmlNodeType nt = this.
_node
.NodeType;
185
if ( IsNamespaceNode( nt, this.
_node
.NamespaceURI ) && this.
_node
.LocalName == s_strXmlNS )
188
return
_node
.LocalName;
205
if (this.
_node
== null) {
209
XmlNodeType nt = this.
_node
.NodeType;
210
if ( IsNamespaceNode( nt, this.
_node
.NamespaceURI ) ) {
211
if ( this.
_node
.LocalName == s_strXmlNS )
214
return this.
_node
.LocalName;
217
return
_node
.Name;
235
if (this.
_node
== null) {
239
XPathNodeType xnt = ConvertNodeType( this.
_node
);
241
return
_node
.NamespaceURI;
262
if (this.
_node
== null) {
266
if ( IsNamespaceNode( this.
_node
.NodeType, this.
_node
.NamespaceURI ) )
268
return
_node
.Prefix;
279
if (this.
_node
== null)
282
string strRet = this.
_node
.Value;
283
if ( XmlDataDocument.IsTextNode( this.
_node
.NodeType ) ) {
285
XmlNode parent = this.
_node
.ParentNode;
288
XmlNode n = _doc.SafeNextSibling(this.
_node
);
315
if (this.
_node
== null) {
320
if ( this.
_node
.NodeType == XmlNodeType.Document ) {
322
XmlElement rootElem = ((XmlDocument)this.
_node
).DocumentElement;
328
return this.
_node
.InnerText;
345
if ( this.
_node
!= null )
346
return this.
_node
.BaseURI;
355
XmlNode curNode = this.
_node
;
397
rowElem = this.
_node
as XmlBoundElement;
403
_doc.Mapper.GetRegion( this.
_node
, out rowElem );
435
this._node = pointer.
_node
;
489
if (
_node
!= null) {
490
if (_column == null &&
_node
.NodeType == XmlNodeType.Element) {
491
if (!IsFoliated(
_node
))
495
foreach ( XmlAttribute attr in
_node
.Attributes ) {
553
if (
_node
!= null) {
556
if ((_column == null || _column.ColumnMapping == MappingType.Attribute) &&
_node
.NodeType == XmlNodeType.Element) {
557
if (!IsFoliated(
_node
)) {
561
MoveTo(
_node
, c, false );
567
Debug.Assert(
_node
.Attributes != null );
568
XmlNode n =
_node
.Attributes.GetNamedItem(localName, namespaceURI);
584
if (
_node
!= null) {
585
if ( bFirst && ( _column != null ||
_node
.NodeType != XmlNodeType.Element ) )
590
if ( _column == null &&
_node
.NodeType != XmlNodeType.Attribute )
593
if ( !IsFoliated(
_node
) ) {
597
MoveTo(
_node
, c, false );
605
XmlAttributeCollection attrs =
_node
.Attributes;
614
XmlAttributeCollection attrs = ((XmlAttribute)
_node
).OwnerElement.Attributes;
621
if ( attr ==
_node
)
672
if (
_node
!= null) {
682
if ( IsValidChild(
_node
, c ) ) {
683
MoveTo( this.
_node
, c, _doc.IsTextOnly(c));
688
XmlNode n = _doc.SafeFirstChild(
_node
);
695
XmlNode n =
_node
;
696
XmlNode parent =
_node
.ParentNode;
699
bool bTextLike = XmlDataDocument.IsTextNode(
_node
.NodeType );
718
if (
_node
!= null) {
725
if ( IsValidChild(
_node
,c)) {
726
MoveTo(
_node
, c, _doc.IsTextOnly(c) );
733
XmlNode n =
_node
;
734
XmlNode parent =
_node
.ParentNode;
737
bool bTextLike = XmlDataDocument.IsTextNode(
_node
.NodeType );
766
if (
_node
!= null) {
771
parent =
_node
;
774
parent =
_node
.ParentNode;
784
if ( IsValidChild(
_node
, c ) ) {
785
MoveTo(
_node
, c, _doc.IsTextOnly( c ) );
809
if (
_node
== null)
817
if (!IsFoliated(
_node
)) {
822
if ( IsValidChild(
_node
, c) )
828
XmlNode n = _doc.SafeFirstChild(
_node
);
830
if ( IsValidChild(
_node
, n ) )
843
if (
_node
== null)
854
if (!IsFoliated(
_node
)) {
859
if ( IsValidChild(
_node
, c) ) {
860
MoveTo(
_node
, c, _doc.IsTextOnly(c) );
867
XmlNode n = _doc.SafeFirstChild(
_node
);
869
if ( IsValidChild(
_node
, n ) ) {
889
if (
_node
!= null) {
892
MoveTo(
_node
, _column, false );
895
MoveTo(
_node
, null, false );
900
if (
_node
.NodeType == XmlNodeType.Attribute )
901
n = ((XmlAttribute)
_node
).OwnerElement;
903
n =
_node
.ParentNode;
927
XmlNode node = this.
_node
;
928
XmlNode parent = this.
_node
;
946
return ( pointer.
_node
== this.
_node
&& pointer._parentOfNS == this._parentOfNS );
949
&& pointer.
_node
== this.
_node
996
if ( this._parentOfNS == other.
_node
) {
1005
curNode2 = other.
_node
;
1009
if ( this.
_node
== other._parentOfNS ) {
1017
curNode1 = this.
_node
;
1021
if ( this.
_node
== other.
_node
) {
1043
curNode1 = this.
_node
;
1044
curNode2 = other.
_node
;
1109
if ( this.
_node
== null )
1123
return this.
_node
;
1130
return nodeToCheck == this.
_node
;
1142
if (
_node
== foliatedNode) {
1161
n =
_node
.FirstChild;
1164
n =
_node
.Attributes.GetNamedItem( _column.EncodedColumnName, _column.Namespace );
1167
for (n =
_node
.FirstChild; n != null; n = n.NextSibling) {
1232
XmlNode node =
_node
;
1259
_parentOfNS = this.
_node
as XmlBoundElement;
1269
XmlNode node = this.
_node
;
1359
_parentOfNS = this.
_node
as XmlBoundElement;
1363
XmlNode node = this.
_node
;
1411
XmlNode node = this.
_node
;
1415
if ( namespaceScope == XPathNamespaceScope.Local && _parentOfNS != this.
_node
) //already outside scope
1417
XmlBoundElement be = this.
_node
as XmlBoundElement;
1437
else if ( this.
_node
.NodeType == XmlNodeType.Attribute ) {
1438
XmlAttribute attr = (XmlAttribute)(this.
_node
);
1480
XmlBoundElement rowElem = this.
_node
as XmlBoundElement;