4 writes to idxParent
System.Xml (4)
System\Xml\Cache\XPathDocumentBuilder.cs (4)
87
this.
idxParent
= this.idxSibling = 0;
109
this.
idxParent
= NewNode(out this.pageParent, XPathNodeType.Root, string.Empty, string.Empty, string.Empty, baseUri);
151
this.
idxParent
= this.idxSibling;
256
this.
idxParent
= this.pageParent[this.idxParent].GetParent(out this.pageParent);
33 references to idxParent
System.Xml (33)
System\Xml\Cache\XPathDocumentBuilder.cs (33)
110
this.doc.SetRootNode(this.pageParent, this.
idxParent
);
155
hash = (this.pageParent[this.
idxParent
].LocalNameHashCode & (ElementIndexSize - 1));
156
this.elemNameIndex[hash] = LinkSimilarElements(this.elemNameIndex[hash].Page, this.elemNameIndex[hash].Index, this.pageParent, this.
idxParent
);
196
Debug.Assert(this.pageParent[this.
idxParent
].NodeType == XPathNodeType.Element);
200
if (!this.pageParent[this.
idxParent
].HasContentChild) {
206
if (this.textBldr.LineNumber != this.pageParent[this.
idxParent
].LineNumber)
210
int posDiff = this.textBldr.LinePosition - this.pageParent[this.
idxParent
].LinePosition;
215
this.pageParent[this.
idxParent
].SetCollapsedLineInfoOffset(posDiff);
219
this.pageParent[this.
idxParent
].SetCollapsedValue(this.textBldr.ReadText());
226
this.pageParent[this.
idxParent
].SetValue(this.pageSibling[this.idxSibling].Value);
231
this.pageParent[this.
idxParent
].SetEmptyValue(allowShortcutTag);
243
if (this.pageParent[this.
idxParent
].HasNamespaceDecls) {
245
this.doc.AddNamespace(this.pageParent, this.
idxParent
, this.pageNmsp, this.idxNmsp);
255
this.idxSibling = this.
idxParent
;
256
this.idxParent = this.pageParent[this.
idxParent
].GetParent(out this.pageParent);
264
Debug.Assert(this.
idxParent
== 0 || this.pageParent[this.
idxParent
].NodeType == XPathNodeType.Element);
290
Debug.Assert(this.
idxParent
!= 0, "ID attribute must have an element parent");
291
this.doc.AddIdElement(this.pageSibling[this.idxSibling].Value, this.pageParent, this.
idxParent
);
433
Debug.Assert(this.pageParent[this.
idxParent
].NodeType == XPathNodeType.Element);
445
Debug.Assert(this.
idxParent
== 0 || this.idxNmsp != 0);
446
Debug.Assert(this.
idxParent
== 0 || this.pageParent[this.
idxParent
].NodeType == XPathNodeType.Element);
465
idxNew = NewNamespaceNode(out pageNew, prefix, namespaceName, this.pageParent, this.
idxParent
);
498
else if (this.
idxParent
!= 0) {
507
if (this.
idxParent
!= 0) {
509
if (!this.pageParent[this.
idxParent
].HasNamespaceDecls) {
514
this.pageParent[this.
idxParent
].HasNamespaceDecls = true;
609
pageNode[idxNode].Create(info, xptyp, this.
idxParent
);
667
if (this.
idxParent
!= 0) {
669
this.pageParent[this.
idxParent
].SetParentProperties(xptyp);
673
Debug.Assert(this.
idxParent
+ 1 == idxNew || idxNew == 1);
691
Debug.Assert(this.textBldr.HasText || (this.idxSibling == 0 && this.
idxParent
== 0), "Cannot create empty text node unless it's a top-level text node.");