17 writes to curNode
System.Xml (17)
System\Xml\Dom\XmlNodeReader.cs (17)
73
curNode
= node;
496
curNode
= logNode;
519
while ( curNode.NodeType != XmlNodeType.Attribute && ( (
curNode
= curNode.ParentNode ) != null ) )
545
curNode
= ((XmlAttribute)curNode).OwnerElement;
566
curNode
= attr;
607
curNode
= (XmlNode) attr;
615
curNode
= (XmlNode) attr;
635
curNode
= elemNode.Attributes[++attrIndex];
642
curNode
= curNode.Attributes[0];
673
curNode
= parent;
684
curNode
= firstChild;
695
curNode
= nextSibling;
716
curNode
= elemNode;
901
curNode
= firstChild;
912
curNode
= curNode.FirstChild;
926
curNode
= parentNode;
933
curNode
= nextSibling;
79 references to curNode
System.Xml (79)
System\Xml\Dom\XmlNodeReader.cs (79)
75
XmlNodeType nt =
curNode
.NodeType;
88
this.doc = (XmlDocument)
curNode
;
102
XmlNodeType nt =
curNode
.NodeType;
115
get { return
curNode
.NamespaceURI; }
121
Debug.Assert(
curNode
.NodeType == XmlNodeType.XmlDeclaration ||
curNode
.NodeType == XmlNodeType.DocumentType );
126
if (
curNode
.NodeType == XmlNodeType.XmlDeclaration )
132
if ( IsLocalNameEmpty (
curNode
.NodeType ) )
134
return
curNode
.Name;
143
if ( IsLocalNameEmpty(
curNode
.NodeType ))
145
return
curNode
.LocalName;
197
get { return
curNode
.Prefix; }
207
Debug.Assert(
curNode
.NodeType == XmlNodeType.XmlDeclaration ||
curNode
.NodeType == XmlNodeType.DocumentType );
211
if (
curNode
.Value != null ||
curNode
.NodeType == XmlNodeType.DocumentType )
221
XmlNodeType nt =
curNode
.NodeType;
226
if (
curNode
.NodeType == XmlNodeType.XmlDeclaration )
232
retValue = ((XmlDocumentType)
curNode
).InternalSubset; //in this case nav.Value will be null
244
retValue =
curNode
.Value;
250
get { return
curNode
.BaseURI; }
254
get { return
curNode
.XmlSpace; }
258
get { return
curNode
.XmlLang; }
263
if (
curNode
.NodeType == XmlNodeType.Element) {
264
return((XmlElement)
curNode
).IsEmpty;
272
if (
curNode
.NodeType == XmlNodeType.Attribute) {
273
return !((XmlAttribute)
curNode
).Specified;
281
return
curNode
.SchemaInfo;
293
XmlNodeType nt =
curNode
.NodeType;
295
return ((XmlElement)
curNode
).Attributes.Count;
428
switch (
curNode
.NodeType ) {
430
return GetAttributeFromElement((XmlElement)
curNode
, name);
434
return GetDeclarationAttr( (XmlDeclaration)
curNode
, name );
436
return GetDocumentTypeAttr( (XmlDocumentType)
curNode
, name );
450
switch (
curNode
.NodeType ) {
452
return GetAttributeFromElement((XmlElement)
curNode
, name, ns);
456
return (ns.Length == 0) ? GetDeclarationAttr( (XmlDeclaration)
curNode
, name ) : null;
458
return (ns.Length == 0) ? GetDocumentTypeAttr( (XmlDocumentType)
curNode
, name ) : null;
466
switch (
curNode
.NodeType ) {
469
return ((XmlElement)
curNode
).Attributes[attributeIndex].Value;
486
logNode =
curNode
;
505
XmlNodeType nt =
curNode
.NodeType;
519
while (
curNode
.NodeType != XmlNodeType.Attribute && ( ( curNode =
curNode
.ParentNode ) != null ) )
539
nt =
curNode
.NodeType;
542
if ( this.bOnAttrVal &&
curNode
.NodeType != XmlNodeType.Attribute )
544
if (
curNode
.NodeType == XmlNodeType.Attribute ) {
545
curNode = ((XmlAttribute)
curNode
).OwnerElement;
550
if (
curNode
.NodeType == XmlNodeType.Element )
551
elemNode =
curNode
;
578
XmlNodeType nt =
curNode
.NodeType;
580
return MoveToAttributeFromElement((XmlElement)
curNode
, name, namespaceURI );
601
switch (
curNode
.NodeType ) {
604
attr = ((XmlElement)
curNode
).Attributes[attributeIndex];
606
elemNode =
curNode
;
630
XmlNodeType nt =
curNode
.NodeType;
639
if (
curNode
.Attributes.Count > 0 ) {
641
elemNode =
curNode
;
642
curNode =
curNode
.Attributes[0];
671
XmlNode parent =
curNode
.ParentNode;
682
XmlNode firstChild =
curNode
.FirstChild;
704
if (
curNode
.NodeType != XmlNodeType.Attribute )
705
return MoveToNextSibling(
curNode
);
713
switch (
curNode
.NodeType ) {
753
XmlNode node =
curNode
;
805
XmlNode node =
curNode
;
844
XmlNode node =
curNode
;
889
Debug.Assert(
curNode
.NodeType == XmlNodeType.XmlDeclaration ||
curNode
.NodeType == XmlNodeType.DocumentType );
898
if(
curNode
.NodeType == XmlNodeType.Attribute ) {
899
XmlNode firstChild =
curNode
.FirstChild;
902
nt =
curNode
.NodeType;
910
if (
curNode
.NodeType == XmlNodeType.EntityReference && bResolveEntity ) {
912
curNode =
curNode
.FirstChild;
913
nt =
curNode
.NodeType;
914
Debug.Assert(
curNode
!= null );
920
nextSibling =
curNode
.NextSibling;
922
XmlNode parentNode =
curNode
.ParentNode;
934
nt =
curNode
.NodeType;