2 writes to _attrStack
System.Private.Xml (2)
System\Xml\Core\XmlWellFormedWriter.cs (2)
282
_attrStack
= new AttrName[AttributeArrayInitialSize];
2102
_attrStack
= newStack;
11 references to _attrStack
System.Private.Xml (11)
System\Xml\Core\XmlWellFormedWriter.cs (11)
2098
if (top ==
_attrStack
.Length)
2101
Array.Copy(
_attrStack
, newStack, top);
2104
_attrStack
[top].Set(prefix, localName, namespaceName);
2111
if (
_attrStack
[i].IsDuplicate(prefix, localName, namespaceName))
2132
int prev =
_attrStack
[top].prev;
2137
if (
_attrStack
[prev].IsDuplicate(prefix, localName, namespaceName))
2141
prev =
_attrStack
[prev].prev;
2149
string localName =
_attrStack
[attributeIndex].localName;
2160
if (
_attrStack
[prev].localName == localName)
2166
Debug.Assert(prev >= 0 &&
_attrStack
[prev].localName == localName);
2167
_attrStack
[attributeIndex].prev = prev + 1; // indexes are stored incremented by 1