2 writes to _attributeCount
System.Private.DataContractSerialization (2)
System\Xml\XmlCanonicalWriter.cs (2)
163_attributeCount = 0; 671_attributeCount++;
12 references to _attributeCount
System.Private.DataContractSerialization (12)
System\Xml\XmlCanonicalWriter.cs (12)
310if (_attributeCount > 0) 312if (_attributeCount > 1) 317for (int i = 0; i < _attributeCount; i++) 630if (_attributeCount < 16) 632for (int i = 0; i < _attributeCount - 1; i++) 635for (int j = i + 1; j < _attributeCount; j++) 663else if (_attributeCount == _attributes.Length) 665Attribute[] newAttributes = new Attribute[_attributeCount * 2]; 666Array.Copy(_attributes, newAttributes, _attributeCount); 670_attributes[_attributeCount] = attribute; 791for (int i = 0; i < _attributeCount; i++) 875object[] indices = new object[_writer._attributeCount];