2 writes to attributes
System.Xml (2)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
334
this.
attributes
= new AttrInfo[8];
2136
this.
attributes
= n;
35 references to attributes
System.Xml (35)
System\Xml\BinaryXml\XmlBinaryReader.cs (35)
747
if (null == this.
attributes
[this.attrIndex - 1].val) {
748
this.pos = this.
attributes
[this.attrIndex - 1].contentPos;
888
this.pos = this.
attributes
[this.attrIndex - 1].contentPos;
1778
this.
attributes
[i].AdjustPosition(-mark);
1780
Debug.Assert((this.
attributes
[i].contentPos >= 0) && (this.
attributes
[i].contentPos <= (end)));
2066
string val = this.
attributes
[i].val;
2073
this.pos = this.
attributes
[i].contentPos;
2090
if (this.
attributes
[i].name.MatchNs(name, ns))
2102
if (this.
attributes
[i].name.MatchPrefix(prefix, lname))
2112
this.qnameOther = this.
attributes
[i - 1].name;
2132
int newcount = this.
attributes
.Length * 2;
2135
System.Array.Copy(this.
attributes
, 0, n, 0, this.attrCount);
2164
if (this.
attributes
[i].name.prefix.Length != 0)
2165
this.
attributes
[i].name.CheckPrefixNS(prefix, ns);
2197
if (this.attrCount == this.
attributes
.Length)
2203
this.
attributes
[this.attrCount].Set(name, decl.uri);
2237
this.
attributes
[0].Set(new QName(string.Empty, this.xnt.Add("version"), string.Empty), ParseText());
2241
this.
attributes
[1].Set(new QName(string.Empty, this.xnt.Add("encoding"), string.Empty), ParseText());
2251
this.
attributes
[this.attrCount].Set(new QName(string.Empty, this.xnt.Add("standalone"), string.Empty), (standalone == 1) ? "yes" : "no");
2291
if (this.attrCount == this.
attributes
.Length)
2295
this.
attributes
[this.attrCount].Set(n, (int)this.pos);
2334
this.
attributes
[this.attrCount - 1].val = val;
2371
this.
attributes
[i].GetLocalnameAndNamespaceUri(out localname, out namespaceUri);
2373
if (this.
attributes
[j].MatchNS(localname, namespaceUri))
2374
throw new XmlException(Res.Xml_DupAttributeName, this.
attributes
[i].name.ToString());
2387
int hash = this.
attributes
[i].GetLocalnameAndNamespaceUriAndHash(hasher, out localname, out namespaceUri);
2391
this.
attributes
[i].prevHash = next;
2394
if (this.
attributes
[next].MatchHashNS(hash, localname, namespaceUri)) {
2395
throw new XmlException(Res.Xml_DupAttributeName, this.
attributes
[i].name.ToString());
2397
next = this.
attributes
[next].prevHash;
2408
sb.Append(this.
attributes
[i].name.localname);
2410
sb.Append(this.
attributes
[i].val);
2766
this.
attributes
[this.attrCount++].Set(new QName(string.Empty, this.xnt.Add("SYSTEM"), string.Empty), ParseText());
2770
this.
attributes
[this.attrCount++].Set(new QName(string.Empty, this.xnt.Add("PUBLIC"), string.Empty), ParseText());