6 writes to elemTop
System.Xml (6)
System\Xml\Core\XmlWellFormedWriter.cs (4)
287elemTop = 0; 451int top = ++elemTop; 497elemTop = --top; 538elemTop = --top;
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
229int top = ++elemTop; 305elemTop = --top;
25 references to elemTop
System.Xml (25)
System\Xml\Core\XmlWellFormedWriter.cs (15)
334while (elemTop > 0) { 442if (elemTop == 0 && rawWriter != null) { 478int top = elemTop; 519int top = elemTop; 728elemScopeStack[elemTop].xmlSpace = XmlSpace.Default; 731elemScopeStack[elemTop].xmlSpace = XmlSpace.Preserve; 742elemScopeStack[elemTop].xmlLang = value; 1041while (currentState != State.Error && elemTop > 0) { 1046if (currentState != State.Error && elemTop > 0) { 1117for (i = elemTop; i >= 0 && elemScopeStack[i].xmlSpace == (System.Xml.XmlSpace)(int)-1; i--) ; 1126for (i = elemTop; i > 0 && elemScopeStack[i].xmlLang == null; i--) ; 1398if (existingNsIndex > elemScopeStack[elemTop].prevNSTop) { 1463if (existingNsIndex > elemScopeStack[elemTop].prevNSTop) { 1716int start = elemScopeStack[elemTop].prevNSTop; 1748for (int i = nsTop; i > elemScopeStack[elemTop].prevNSTop; i--) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (10)
31while (elemTop > 0) { 194if (elemTop == 0 && rawWriter != null) { 275int top = elemTop; 298int top = elemTop; 338int top = elemTop; 583elemScopeStack[elemTop].xmlSpace = XmlSpace.Default; 586elemScopeStack[elemTop].xmlSpace = XmlSpace.Preserve; 597elemScopeStack[elemTop].xmlLang = value; 1160int start = elemScopeStack[elemTop].prevNSTop; 1172if (nsTop > elemScopeStack[elemTop].prevNSTop) {