2 writes to properties
System.ServiceModel (2)
System\ServiceModel\Channels\MessageProperties.cs (2)
698properties = new Property[InitialPropertyCount]; 715properties = newProperties;
52 references to properties
System.ServiceModel (52)
System\ServiceModel\Channels\MessageProperties.cs (52)
84return properties == null || properties.Length <= MaxRecycledArrayLength; 188if (properties != null) 190for (int i = 0; i < properties.Length; i++) 192string propertyName = properties[i].Name; 251if (properties != null) 253for (int i = 0; i < properties.Length; i++) 255if (properties[i].Name == null) 260values.Add(properties[i].Value); 318if (properties != null) 320for (int i = 0; i < properties.Length; i++) 322if (properties[i].Name == null) 327properties[i] = new Property(); 354if (properties.properties != null) 356for (int i = 0; i < properties.properties.Length; i++) 358if (properties.properties[i].Name == null) 363Property property = properties.properties[i]; 392if (properties.properties != null) 394for (int i = 0; i < properties.properties.Length; i++) 396if (properties.properties[i].Name == null) 401Property property = properties.properties[i]; 479if (properties != null) 481for (int i = 0; i < properties.Length; i++) 483if (properties[i].Name == null) 488properties[i].Dispose(); 509if (properties != null) 511for (int i = 0; i < properties.Length; i++) 513string propertyName = properties[i].Name; 573value = properties[index].Value; 649properties[index].Dispose(); 651for (shiftIndex = index + 1; shiftIndex < properties.Length; shiftIndex++) 653if (properties[shiftIndex].Name == null) 658properties[shiftIndex - 1] = properties[shiftIndex]; 660properties[shiftIndex - 1] = new Property(); 665properties[index].Value = CreateCopyOfPropertyValue(value); 696if (properties == null) 703for (newIndex = 0; newIndex < properties.Length; newIndex++) 705if (properties[newIndex].Name == null) 711if (newIndex == properties.Length) 713Property[] newProperties = new Property[properties.Length * 2]; 714Array.Copy(properties, newProperties, properties.Length); 720properties[newIndex] = new Property(name, newValue); 750if (properties != null) 752for (int i = 0; i < properties.Length; i++) 754string propertyName = properties[i].Name; 761array[index++] = new KeyValuePair<string, object>(propertyName, CreateCopyOfPropertyValue(properties[i].Value)); 820if (properties != null) 822for (int i = 0; i < properties.Length; i++) 824string propertyName = properties[i].Name; 831pairs.Add(new KeyValuePair<string, object>(propertyName, properties[i].Value));