2 writes to _attrStack
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (2)
296
_attrStack
= new AttrName[AttributeArrayInitialSize];
2225
_attrStack
= newStack;
11 references to _attrStack
dotnet-svcutil-lib (11)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (11)
2221
if (top ==
_attrStack
.Length)
2224
Array.Copy(
_attrStack
, newStack, top);
2227
_attrStack
[top].Set(prefix, localName, namespaceName);
2234
if (
_attrStack
[i].IsDuplicate(prefix, localName, namespaceName))
2258
int prev =
_attrStack
[top].prev;
2263
if (
_attrStack
[prev].IsDuplicate(prefix, localName, namespaceName))
2267
prev =
_attrStack
[prev].prev;
2274
string localName =
_attrStack
[attributeIndex].localName;
2285
if (
_attrStack
[prev].localName == localName)
2291
Debug.Assert(prev >= 0 &&
_attrStack
[prev].localName == localName);
2292
_attrStack
[attributeIndex].prev = prev + 1; // indexes are stored incremented by 1