5 writes to nsTop
System.Xml (5)
System\Xml\Core\XmlWellFormedWriter.cs (4)
281
nsTop
= 2;
496
nsTop
= prevNsTop;
537
nsTop
= prevNsTop;
1523
int top = ++
nsTop
;
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
304
nsTop
= prevNsTop;
21 references to nsTop
System.Xml (21)
System\Xml\Core\XmlWellFormedWriter.cs (16)
284
elemScopeStack[0].Set(string.Empty, string.Empty, string.Empty,
nsTop
);
457
elemScopeStack[top].Set(prefix, localName, ns,
nsTop
);
493
if (useNsHashtable && prevNsTop <
nsTop
) {
494
PopNamespaces(prevNsTop + 1,
nsTop
);
534
if (useNsHashtable && prevNsTop <
nsTop
) {
535
PopNamespaces(prevNsTop + 1,
nsTop
);
1095
for (int i =
nsTop
; i >= 0; i--) {
1098
for (i++; i <=
nsTop
; i++) {
1533
AddToNamespaceHashtable(
nsTop
);
1535
else if (
nsTop
== MaxNamespacesWalkCount) {
1538
for (int i = 0; i <=
nsTop
; i++) {
1562
for (int i =
nsTop
; i >= 0; i--) {
1717
for (int i =
nsTop
; i > start; i--) {
1739
for (int i =
nsTop
; i >= 0; i--) {
1748
for (int i =
nsTop
; i > elemScopeStack[elemTop].prevNSTop; i--) {
1757
string genPrefix = "p" + (
nsTop
- 2).ToString("d", CultureInfo.InvariantCulture);
System\Xml\Core\XmlWellFormedWriterAsync.cs (5)
235
elemScopeStack[top].Set(prefix, localName, ns,
nsTop
);
301
if (useNsHashtable && prevNsTop <
nsTop
) {
302
PopNamespaces(prevNsTop + 1,
nsTop
);
1161
for (int i =
nsTop
; i > start; i--) {
1172
if (
nsTop
> elemScopeStack[elemTop].prevNSTop) {