2 writes to _nsAttributes
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (2)
1297
_nsAttributes
= new NodeData[InitialNamespaceAttributeCount];
1303
_nsAttributes
= newNsAttrs;
22 references to _nsAttributes
dotnet-svcutil-lib (22)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (22)
258
if (name ==
_nsAttributes
[i].name)
260
return
_nsAttributes
[i].value;
279
if (name ==
_nsAttributes
[i].localName && namespaceURI == _xmlnsUri)
281
return
_nsAttributes
[i].value;
300
return
_nsAttributes
[i - n].value;
322
if (name ==
_nsAttributes
[i].name)
345
if (name ==
_nsAttributes
[i].localName && ns == _xmlnsUri)
1295
if (
_nsAttributes
== null)
1299
if (index ==
_nsAttributes
.Length)
1301
NodeData[] newNsAttrs = new NodeData[
_nsAttributes
.Length * 2];
1302
Array.Copy(
_nsAttributes
, 0, newNsAttrs, 0, index);
1306
if (
_nsAttributes
[index] == null)
1308
_nsAttributes
[index] = new NodeData();
1312
_nsAttributes
[index].Set(XmlNodeType.Attribute, _xmlns, string.Empty, _xmlns, _xmlnsUri, ns);
1316
_nsAttributes
[index].Set(XmlNodeType.Attribute, prefix, _xmlns, reader.NameTable.Add(string.Concat(_xmlns, ":", prefix)), _xmlnsUri, ns);
1329
if (Ref.Equal(prefix,
_nsAttributes
[i].prefix) &&
1330
Ref.Equal(localName,
_nsAttributes
[i].localName))
1335
NodeData tmpNodeData =
_nsAttributes
[i];
1336
_nsAttributes
[i] =
_nsAttributes
[_nsAttrCount - 1];
1337
_nsAttributes
[_nsAttrCount - 1] = tmpNodeData;
1351
SetCurrentNode(
_nsAttributes
[index]);