2 writes to attributes
System.Runtime.Serialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (2)
862
attributes
= new AttributeData[4];
867
attributes
= newAttributes;
14 references to attributes
System.Runtime.Serialization (14)
System\Runtime\Serialization\ExtensionDataObject.cs (3)
204
if (element.
attributes
!= null)
206
for (int i = 0; i < element.
attributes
.Length; i++)
208
AttributeData attribute = element.
attributes
[i];
System\Runtime\Serialization\ExtensionDataReader.cs (11)
171
AttributeData attribute = element.
attributes
[index];
187
AttributeData attribute = element.
attributes
[i];
202
AttributeData attribute = element.
attributes
[i];
622
AttributeData a = element.
attributes
[i];
849
AttributeData attribute =
attributes
[attributeCount];
851
attributes
[attributeCount] = attribute = new AttributeData();
861
if (
attributes
== null)
863
else if (
attributes
.Length == attributeCount)
865
AttributeData[] newAttributes = new AttributeData[
attributes
.Length * 2];
866
Array.Copy(
attributes
, 0, newAttributes, 0,
attributes
.Length);