6 writes to _elemTop
System.Private.Xml (6)
System\Xml\Core\XmlWellFormedWriter.cs (4)
280_elemTop = 0; 471int top = ++_elemTop; 526_elemTop = --top; 577_elemTop = --top;
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
278int top = ++_elemTop; 372_elemTop = --top;
27 references to _elemTop
System.Private.Xml (27)
System\Xml\Core\XmlWellFormedWriter.cs (15)
336while (_elemTop > 0) 461if (_elemTop == 0 && _rawWriter != null) 503int top = _elemTop; 554int top = _elemTop; 817_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Default; 821_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Preserve; 833_elemScopeStack[_elemTop].xmlLang = value; 1164while (_currentState != State.Error && _elemTop > 0) 1171if (_currentState != State.Error && _elemTop > 0) 1261for (i = _elemTop; i >= 0 && _elemScopeStack[i].xmlSpace == (System.Xml.XmlSpace)(int)-1; i--) ; 1272for (i = _elemTop; i > 0 && _elemScopeStack[i].xmlLang == null; i--) ; 1596if (existingNsIndex > _elemScopeStack[_elemTop].prevNSTop) 1676if (existingNsIndex > _elemScopeStack[_elemTop].prevNSTop) 1962int start = _elemScopeStack[_elemTop].prevNSTop; 2001for (int i = _nsTop; i > _elemScopeStack[_elemTop].prevNSTop; i--)
System\Xml\Core\XmlWellFormedWriterAsync.cs (12)
36while (_elemTop > 0) 234if (_elemTop == 0 && _rawWriter != null) 335int top = _elemTop; 364int top = _elemTop; 414int top = _elemTop; 721_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Default; 725_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Preserve; 737_elemScopeStack[_elemTop].xmlLang = value; 1380int start = _elemScopeStack[_elemTop].prevNSTop; 1394if (_nsTop > _elemScopeStack[_elemTop].prevNSTop) 1412while (_currentState != State.Error && _elemTop > 0) 1419if (_currentState != State.Error && _elemTop > 0)