3 writes to _elemScopeStack
System.Private.Xml (3)
System\Xml\Core\XmlWellFormedWriter.cs (2)
276_elemScopeStack = new ElementScope[ElementStackInitialSize]; 476_elemScopeStack = newStack;
System\Xml\Core\XmlWellFormedWriterAsync.cs (1)
283_elemScopeStack = newStack;
32 references to _elemScopeStack
System.Private.Xml (32)
System\Xml\Core\XmlWellFormedWriter.cs (21)
277_elemScopeStack[0].Set(string.Empty, string.Empty, string.Empty, _nsTop); 278_elemScopeStack[0].xmlSpace = XmlSpace.None; 279_elemScopeStack[0].xmlLang = null; 472if (top == _elemScopeStack.Length) 475Array.Copy(_elemScopeStack, newStack, top); 478_elemScopeStack[top].Set(prefix, localName, ns, _nsTop); 512_elemScopeStack[top].WriteEndElement(_rawWriter); 520int prevNsTop = _elemScopeStack[top].prevNSTop; 563_elemScopeStack[top].WriteFullEndElement(_rawWriter); 571int prevNsTop = _elemScopeStack[top].prevNSTop; 817_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Default; 821_elemScopeStack[_elemTop].xmlSpace = XmlSpace.Preserve; 833_elemScopeStack[_elemTop].xmlLang = value; 1261for (i = _elemTop; i >= 0 && _elemScopeStack[i].xmlSpace == (System.Xml.XmlSpace)(int)-1; i--) ; 1263return _elemScopeStack[i].xmlSpace; 1272for (i = _elemTop; i > 0 && _elemScopeStack[i].xmlLang == null; i--) ; 1274return _elemScopeStack[i].xmlLang; 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 (11)
279if (top == _elemScopeStack.Length) 282Array.Copy(_elemScopeStack, newStack, top); 285_elemScopeStack[top].Set(prefix, localName, ns, _nsTop); 344task = _elemScopeStack[top].WriteEndElementAsync(_rawWriter); 366int prevNsTop = _elemScopeStack[top].prevNSTop; 423task = _elemScopeStack[top].WriteFullEndElementAsync(_rawWriter); 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)