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