2 writes to _attributes
System.Private.Xml (2)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
341_attributes = new AttrInfo[8]; 2424_attributes = n;
35 references to _attributes
System.Private.Xml (35)
System\Xml\BinaryXml\XmlBinaryReader.cs (35)
839if (null == _attributes[_attrIndex - 1].val) 841_pos = _attributes[_attrIndex - 1].contentPos; 1012_pos = _attributes[_attrIndex - 1].contentPos; 2023_attributes[i].AdjustPosition(-mark); 2025Debug.Assert((_attributes[i].contentPos >= 0) && (_attributes[i].contentPos <= (end))); 2342string? val = _attributes[i].val; 2351_pos = _attributes[i].contentPos; 2372if (_attributes[i].name.MatchNs(name, ns)) 2386if (_attributes[i].name.MatchPrefix(prefix, lname)) 2397_qnameOther = _attributes[i - 1].name; 2420int newcount = _attributes.Length * 2; 2423System.Array.Copy(_attributes, n, _attrCount); 2459if (_attributes[i].name.prefix.Length != 0) 2460_attributes[i].name.CheckPrefixNS(prefix, ns); 2497if (_attrCount == _attributes.Length) 2503_attributes[_attrCount].Set(name, decl.uri); 2543_attributes[0].Set(new QName(string.Empty, _xnt.Add("version"), string.Empty), ParseText()); 2548_attributes[1].Set(new QName(string.Empty, _xnt.Add("encoding"), string.Empty), ParseText()); 2559_attributes[_attrCount].Set(new QName(string.Empty, _xnt.Add("standalone"), string.Empty), (standalone == 1) ? "yes" : "no"); 2604if (_attrCount == _attributes.Length) 2608_attributes[_attrCount].Set(n, (int)_pos); 2657_attributes[_attrCount - 1].val = val; 2701_attributes[i].GetLocalnameAndNamespaceUri(out localname, out namespaceUri); 2704if (_attributes[j].MatchNS(localname, namespaceUri)) 2705throw new XmlException(SR.Xml_DupAttributeName, _attributes[i].name.ToString()); 2720int hash = _attributes[i].GetLocalnameAndNamespaceUriAndHash(out localname, out namespaceUri); 2724_attributes[i].prevHash = next; 2728if (_attributes[next].MatchHashNS(hash, localname, namespaceUri)) 2730throw new XmlException(SR.Xml_DupAttributeName, _attributes[i].name.ToString()); 2732next = _attributes[next].prevHash; 2746sb.Append(_attributes[i].name.localname); 2748sb.Append(_attributes[i].val); 3127_attributes[_attrCount++].Set(new QName(string.Empty, _xnt.Add("SYSTEM"), string.Empty), ParseText()); 3132_attributes[_attrCount++].Set(new QName(string.Empty, _xnt.Add("PUBLIC"), string.Empty), ParseText());