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