4 writes to _idxParent
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (4)
89
_idxParent
= _idxSibling = 0;
112
_idxParent
= NewNode(out _pageParent, XPathNodeType.Root, string.Empty, string.Empty, string.Empty, baseUri);
159
_idxParent
= _idxSibling;
275
_idxParent
= _pageParent[_idxParent].GetParent(out _pageParent);
33 references to _idxParent
dotnet-svcutil-lib (33)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (33)
113
_doc.SetRootNode(_pageParent,
_idxParent
);
163
hash = (_pageParent[
_idxParent
].LocalNameHashCode & (ElementIndexSize - 1));
164
_elemNameIndex[hash] = LinkSimilarElements(_elemNameIndex[hash].Page, _elemNameIndex[hash].Index, _pageParent,
_idxParent
);
209
Debug.Assert(_pageParent[
_idxParent
].NodeType == XPathNodeType.Element);
213
if (!_pageParent[
_idxParent
].HasContentChild)
222
if (_textBldr.LineNumber != _pageParent[
_idxParent
].LineNumber)
226
int posDiff = _textBldr.LinePosition - _pageParent[
_idxParent
].LinePosition;
231
_pageParent[
_idxParent
].SetCollapsedLineInfoOffset(posDiff);
235
_pageParent[
_idxParent
].SetCollapsedValue(_textBldr.ReadText());
242
_pageParent[
_idxParent
].SetValue(_pageSibling[_idxSibling].Value);
247
_pageParent[
_idxParent
].SetEmptyValue(allowShortcutTag);
261
if (_pageParent[
_idxParent
].HasNamespaceDecls)
264
_doc.AddNamespace(_pageParent,
_idxParent
, _pageNmsp, _idxNmsp);
274
_idxSibling =
_idxParent
;
275
_idxParent = _pageParent[
_idxParent
].GetParent(out _pageParent);
284
Debug.Assert(
_idxParent
== 0 || _pageParent[
_idxParent
].NodeType == XPathNodeType.Element);
313
Debug.Assert(
_idxParent
!= 0, "ID attribute must have an element parent");
314
_doc.AddIdElement(_pageSibling[_idxSibling].Value, _pageParent,
_idxParent
);
475
Debug.Assert(_pageParent[
_idxParent
].NodeType == XPathNodeType.Element);
488
Debug.Assert(
_idxParent
== 0 || _idxNmsp != 0);
489
Debug.Assert(
_idxParent
== 0 || _pageParent[
_idxParent
].NodeType == XPathNodeType.Element);
510
idxNew = NewNamespaceNode(out pageNew, prefix, namespaceName, _pageParent,
_idxParent
);
545
else if (
_idxParent
!= 0)
556
if (
_idxParent
!= 0)
559
if (!_pageParent[
_idxParent
].HasNamespaceDecls)
565
_pageParent[
_idxParent
].HasNamespaceDecls = true;
666
pageNode[idxNode].Create(info, xptyp,
_idxParent
);
731
if (
_idxParent
!= 0)
734
_pageParent[
_idxParent
].SetParentProperties(xptyp);
739
Debug.Assert(
_idxParent
+ 1 == idxNew || idxNew == 1);
759
Debug.Assert(_textBldr.HasText || (_idxSibling == 0 &&
_idxParent
== 0), "Cannot create empty text node unless it's a top-level text node.");