2 writes to nsAttributes
System.Xml (2)
System\Xml\Core\XmlSubtreeReader.cs (2)
1084
nsAttributes
= new NodeData[InitialNamespaceAttributeCount];
1089
nsAttributes
= newNsAttrs;
22 references to nsAttributes
System.Xml (22)
System\Xml\Core\XmlSubtreeReader.cs (22)
216
if ( name ==
nsAttributes
[i].name ) {
217
return
nsAttributes
[i].value;
232
if ( name ==
nsAttributes
[i].localName && namespaceURI == xmlnsUri ) {
233
return
nsAttributes
[i].value;
248
return
nsAttributes
[i-n].value;
265
if ( name ==
nsAttributes
[i].name ) {
283
if ( name ==
nsAttributes
[i].localName && ns == xmlnsUri ) {
1083
if (
nsAttributes
== null ) {
1086
if ( index ==
nsAttributes
.Length ) {
1087
NodeData[] newNsAttrs = new NodeData[
nsAttributes
.Length * 2];
1088
Array.Copy(
nsAttributes
, 0, newNsAttrs, 0, index );
1092
if (
nsAttributes
[index] == null ) {
1093
nsAttributes
[index] = new NodeData();
1096
nsAttributes
[index].Set( XmlNodeType.Attribute, xmlns, string.Empty, xmlns, xmlnsUri, ns );
1099
nsAttributes
[index].Set( XmlNodeType.Attribute, prefix, xmlns, reader.NameTable.Add( string.Concat( xmlns, ":", prefix ) ), xmlnsUri, ns );
1110
if ( Ref.Equal( prefix,
nsAttributes
[i].prefix ) &&
1111
Ref.Equal( localName,
nsAttributes
[i].localName ) ) {
1114
NodeData tmpNodeData =
nsAttributes
[i];
1115
nsAttributes
[i] =
nsAttributes
[nsAttrCount - 1];
1116
nsAttributes
[nsAttrCount - 1] = tmpNodeData;
1129
SetCurrentNode(
nsAttributes
[index] );