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)
839
if (null ==
_attributes
[_attrIndex - 1].val)
841
_pos =
_attributes
[_attrIndex - 1].contentPos;
1012
_pos =
_attributes
[_attrIndex - 1].contentPos;
2023
_attributes
[i].AdjustPosition(-mark);
2025
Debug.Assert((
_attributes
[i].contentPos >= 0) && (
_attributes
[i].contentPos <= (end)));
2342
string? val =
_attributes
[i].val;
2351
_pos =
_attributes
[i].contentPos;
2372
if (
_attributes
[i].name.MatchNs(name, ns))
2386
if (
_attributes
[i].name.MatchPrefix(prefix, lname))
2397
_qnameOther =
_attributes
[i - 1].name;
2420
int newcount =
_attributes
.Length * 2;
2423
System.Array.Copy(
_attributes
, n, _attrCount);
2459
if (
_attributes
[i].name.prefix.Length != 0)
2460
_attributes
[i].name.CheckPrefixNS(prefix, ns);
2497
if (_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");
2604
if (_attrCount ==
_attributes
.Length)
2608
_attributes
[_attrCount].Set(n, (int)_pos);
2657
_attributes
[_attrCount - 1].val = val;
2701
_attributes
[i].GetLocalnameAndNamespaceUri(out localname, out namespaceUri);
2704
if (
_attributes
[j].MatchNS(localname, namespaceUri))
2705
throw new XmlException(SR.Xml_DupAttributeName,
_attributes
[i].name.ToString());
2720
int hash =
_attributes
[i].GetLocalnameAndNamespaceUriAndHash(out localname, out namespaceUri);
2724
_attributes
[i].prevHash = next;
2728
if (
_attributes
[next].MatchHashNS(hash, localname, namespaceUri))
2730
throw new XmlException(SR.Xml_DupAttributeName,
_attributes
[i].name.ToString());
2732
next =
_attributes
[next].prevHash;
2746
sb.Append(
_attributes
[i].name.localname);
2748
sb.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());