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