4 writes to _attributes
System.Private.DataContractSerialization (4)
System\Xml\XmlCanonicalWriter.cs (4)
121_attributes = null; 661_attributes = new Attribute[4]; 667_attributes = newAttributes; 890_writer._attributes = attributes;
19 references to _attributes
System.Private.DataContractSerialization (19)
System\Xml\XmlCanonicalWriter.cs (19)
120if (_attributes != null && _attributes.Length > 16) 319_writer.WriteText(_elementBuffer, _attributes![i].offset, _attributes[i].length); 637if (Compare(ref _attributes![j], ref _attributes[attributeMin]) < 0) 645Attribute temp = _attributes![i]; 646_attributes[i] = _attributes[attributeMin]; 647_attributes[attributeMin] = temp; 659if (_attributes == null) 663else if (_attributeCount == _attributes.Length) 666Array.Copy(_attributes, newAttributes, _attributeCount); 670_attributes[_attributeCount] = attribute; 793ResolvePrefix(ref _attributes![i]); 884Attribute[] attributes = new Attribute[_writer._attributes!.Length]; 887attributes[i] = _writer._attributes[(int)indices[i]]; 897return _writer.Compare(ref _writer._attributes![attributeIndex1], ref _writer._attributes[attributeIndex2]);