5 writes to _nsTop
System.Private.Xml (5)
System\Xml\Core\XmlWellFormedWriter.cs (4)
274
_nsTop
= 2;
525
_nsTop
= prevNsTop;
576
_nsTop
= prevNsTop;
1751
int top = ++
_nsTop
;
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
371
_nsTop
= prevNsTop;
21 references to _nsTop
System.Private.Xml (21)
System\Xml\Core\XmlWellFormedWriter.cs (16)
277
_elemScopeStack[0].Set(string.Empty, string.Empty, string.Empty,
_nsTop
);
478
_elemScopeStack[top].Set(prefix, localName, ns,
_nsTop
);
521
if (_useNsHashtable && prevNsTop <
_nsTop
)
523
PopNamespaces(prevNsTop + 1,
_nsTop
);
572
if (_useNsHashtable && prevNsTop <
_nsTop
)
574
PopNamespaces(prevNsTop + 1,
_nsTop
);
1232
for (int i =
_nsTop
; i >= 0; i--)
1237
for (i++; i <=
_nsTop
; i++)
1763
AddToNamespaceHashtable(
_nsTop
);
1765
else if (
_nsTop
== MaxNamespacesWalkCount)
1769
for (int i = 0; i <=
_nsTop
; i++)
1804
for (int i =
_nsTop
; i >= 0; i--)
1963
for (int i =
_nsTop
; i > start; i--)
1989
for (int i =
_nsTop
; i >= 0; i--)
2001
for (int i =
_nsTop
; i > _elemScopeStack[_elemTop].prevNSTop; i--)
2013
string genPrefix = string.Create(CultureInfo.InvariantCulture, $"p{
_nsTop
- 2:d}");
System\Xml\Core\XmlWellFormedWriterAsync.cs (5)
285
_elemScopeStack[top].Set(prefix, localName, ns,
_nsTop
);
367
if (_useNsHashtable && prevNsTop <
_nsTop
)
369
PopNamespaces(prevNsTop + 1,
_nsTop
);
1381
for (int i =
_nsTop
; i > start; i--)
1394
if (
_nsTop
> _elemScopeStack[_elemTop].prevNSTop)