2 writes to _attributes
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
370
_attributes
= new AttrInfo[8];
2444
_attributes
= n;
35 references to _attributes
dotnet-svcutil-lib (35)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (35)
859
if (null ==
_attributes
[_attrIndex - 1].val)
861
_pos =
_attributes
[_attrIndex - 1].contentPos;
1023
_pos =
_attributes
[_attrIndex - 1].contentPos;
2034
_attributes
[i].AdjustPosition(-mark);
2036
Debug.Assert((
_attributes
[i].contentPos >= 0) && (
_attributes
[i].contentPos <= (end)));
2362
string val =
_attributes
[i].val;
2371
_pos =
_attributes
[i].contentPos;
2392
if (
_attributes
[i].name.MatchNs(name, ns))
2406
if (
_attributes
[i].name.MatchPrefix(prefix, lname))
2417
_qnameOther =
_attributes
[i - 1].name;
2440
int newcount =
_attributes
.Length * 2;
2443
System.Array.Copy(
_attributes
, 0, n, 0, _attrCount);
2479
if (
_attributes
[i].name.prefix.Length != 0)
2480
_attributes
[i].name.CheckPrefixNS(prefix, ns);
2517
if (_attrCount ==
_attributes
.Length)
2523
_attributes
[_attrCount].Set(name, decl.uri);
2563
_attributes
[0].Set(new QName(string.Empty, _xnt.Add("version"), string.Empty), ParseText());
2568
_attributes
[1].Set(new QName(string.Empty, _xnt.Add("encoding"), string.Empty), ParseText());
2579
_attributes
[_attrCount].Set(new QName(string.Empty, _xnt.Add("standalone"), string.Empty), (standalone == 1) ? "yes" : "no");
2624
if (_attrCount ==
_attributes
.Length)
2628
_attributes
[_attrCount].Set(n, (int)_pos);
2676
_attributes
[_attrCount - 1].val = val;
2718
_attributes
[i].GetLocalnameAndNamespaceUri(out localname, out namespaceUri);
2721
if (
_attributes
[j].MatchNS(localname, namespaceUri))
2722
throw new XmlException(ResXml.Xml_DupAttributeName,
_attributes
[i].name.ToString());
2737
int hash =
_attributes
[i].GetLocalnameAndNamespaceUriAndHash(_hasher, out localname, out namespaceUri);
2741
_attributes
[i].prevHash = next;
2745
if (
_attributes
[next].MatchHashNS(hash, localname, namespaceUri))
2747
throw new XmlException(ResXml.Xml_DupAttributeName,
_attributes
[i].name.ToString());
2749
next =
_attributes
[next].prevHash;
2762
sb.Append(
_attributes
[i].name.localname);
2764
sb.Append(
_attributes
[i].val);
3148
_attributes
[_attrCount++].Set(new QName(string.Empty, _xnt.Add("SYSTEM"), string.Empty), ParseText());
3153
_attributes
[_attrCount++].Set(new QName(string.Empty, _xnt.Add("PUBLIC"), string.Empty), ParseText());