4 writes to _idxSibling
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (4)
89
_idxParent =
_idxSibling
= 0;
160
_idxSibling
= 0;
274
_idxSibling
= _idxParent;
749
_idxSibling
= idxNew;
20 references to _idxSibling
dotnet-svcutil-lib (20)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (20)
159
_idxParent =
_idxSibling
;
242
_pageParent[_idxParent].SetValue(_pageSibling[
_idxSibling
].Value);
285
Debug.Assert(
_idxSibling
== 0 || _pageSibling[
_idxSibling
].NodeType == XPathNodeType.Attribute);
302
Debug.Assert(_pageSibling[
_idxSibling
].NodeType == XPathNodeType.Attribute);
304
_pageSibling[
_idxSibling
].SetValue(_textBldr.ReadText());
309
if (_pageSibling[
_idxSibling
].LocalName == _idAttrName.Name &&
310
_pageSibling[
_idxSibling
].Prefix == _idAttrName.Namespace)
314
_doc.AddIdElement(_pageSibling[
_idxSibling
].Value, _pageParent, _idxParent);
333
_pageSibling[
_idxSibling
].SetValue(text);
353
_pageSibling[
_idxSibling
].SetValue(text);
441
_pageSibling[
_idxSibling
].SetValue(string.Empty);
486
Debug.Assert(
_idxSibling
== 0 || _pageSibling[
_idxSibling
].NodeType == XPathNodeType.Attribute);
736
if (
_idxSibling
== 0)
744
_pageSibling[
_idxSibling
].SetSibling(_infoTable, pageNew, idxNew);
759
Debug.Assert(_textBldr.HasText || (
_idxSibling
== 0 && _idxParent == 0), "Cannot create empty text node unless it's a top-level text node.");
760
Debug.Assert(
_idxSibling
== 0 || !_pageSibling[
_idxSibling
].IsText, "Cannot create adjacent text nodes.");
766
_pageSibling[
_idxSibling
].SetValue(text);