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