2 writes to attrStack
System.Xml (2)
System\Xml\Core\XmlWellFormedWriter.cs (2)
289
attrStack
= new AttrName[AttributeArrayInitialSize];
1843
attrStack
= newStack;
11 references to attrStack
System.Xml (11)
System\Xml\Core\XmlWellFormedWriter.cs (11)
1840
if (top ==
attrStack
.Length) {
1842
Array.Copy(
attrStack
, newStack, top);
1845
attrStack
[top].Set(prefix, localName, namespaceName);
1850
if (
attrStack
[i].IsDuplicate(prefix, localName, namespaceName)) {
1869
int prev =
attrStack
[top].prev;
1873
if (
attrStack
[prev].IsDuplicate(prefix, localName, namespaceName)) {
1876
prev =
attrStack
[prev].prev;
1882
string localName =
attrStack
[attributeIndex].localName;
1891
if (
attrStack
[prev].localName == localName) {
1896
Debug.Assert(prev >= 0 &&
attrStack
[prev].localName == localName);
1897
attrStack
[attributeIndex].prev = prev + 1; // indexes are stored incremented by 1