2 writes to attributes
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (2)
851attributes = new AttributeData[4]; 857attributes = newAttributes;
14 references to attributes
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\ExtensionDataObject.cs (3)
177if (element.attributes != null) 179for (int i = 0; i < element.attributes.Length; i++) 181AttributeData attribute = element.attributes[i];
System\Runtime\Serialization\ExtensionDataReader.cs (11)
163AttributeData attribute = _element.attributes![index]; 179AttributeData attribute = _element.attributes![i]; 194AttributeData attribute = _element.attributes![i]; 618AttributeData a = _element.attributes![i]; 838AttributeData attribute = attributes[attributeCount] ??= new AttributeData(); 846[MemberNotNull(nameof(attributes))] 849if (attributes == null) 853else if (attributes.Length == attributeCount) 855AttributeData[] newAttributes = new AttributeData[attributes.Length * 2]; 856Array.Copy(attributes, newAttributes, attributes.Length);