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)
2098if (top == _attrStack.Length) 2101Array.Copy(_attrStack, newStack, top); 2104_attrStack[top].Set(prefix, localName, namespaceName); 2111if (_attrStack[i].IsDuplicate(prefix, localName, namespaceName)) 2132int prev = _attrStack[top].prev; 2137if (_attrStack[prev].IsDuplicate(prefix, localName, namespaceName)) 2141prev = _attrStack[prev].prev; 2149string localName = _attrStack[attributeIndex].localName; 2160if (_attrStack[prev].localName == localName) 2166Debug.Assert(prev >= 0 && _attrStack[prev].localName == localName); 2167_attrStack[attributeIndex].prev = prev + 1; // indexes are stored incremented by 1