6 writes to properties
System (6)
compmod\system\componentmodel\PropertyDescriptorCollection.cs (6)
95this.properties = properties; 97this.properties = new PropertyDescriptor[0]; 120this.properties = properties; 207this.properties = newProps; 225properties = new PropertyDescriptor[sizeNeeded]; 234properties = newProps;
44 references to properties
System (44)
compmod\system\componentmodel\PropertyDescriptorCollection.cs (44)
148return properties[index]; 170properties[propCount++] = value; 198Array.Copy(properties, 0, array, index, Count); 204if (properties != null) { 206Array.Copy(properties, 0, newProps, 0, Count); 219if (sizeNeeded <= properties.Length) { 223if (properties == null || properties.Length == 0) { 231int newSize = Math.Max(sizeNeeded, properties.Length * 2); 233Array.Copy(properties, 0, newProps, 0, propCount); 264if (String.Equals(properties[i].Name, name, StringComparison.OrdinalIgnoreCase)) { 265cachedFoundProperties[name] = properties[i]; 266p = properties[i]; 271if (properties[i].Name.Equals(name)) { 272cachedFoundProperties[name] = properties[i]; 273p = properties[i]; 287return Array.IndexOf(properties, value, 0, propCount); 300Array.Copy(properties, index, properties, index + 1, propCount - index); 302properties[index] = value; 330Array.Copy(properties, index + 1, properties, index, propCount - index - 1); 332properties[propCount - 1] = null; 343return new PropertyDescriptorCollection(this.properties, this.propCount, this.namedSort, this.comparer); 354return new PropertyDescriptorCollection(this.properties, this.propCount, names, this.comparer); 364return new PropertyDescriptorCollection(this.properties, this.propCount, names, comparer); 374return new PropertyDescriptorCollection(this.properties, this.propCount, this.namedSort, comparer); 384if (properties == null || properties.Length == 0) { 392ArrayList propArrayList = new ArrayList(properties); 394int propCount = properties.Length; 404properties[foundCount++] = currentProp; 418properties[foundCount++] = (PropertyDescriptor)propArrayList[i]; 436Array.Sort(properties, sorter); 448if (properties.Length != this.propCount) { 450Array.Copy(properties, 0, enumProps, 0, propCount); 453return properties.GetEnumerator(); 548if (properties[i].Name.Equals((string)key)) { 563properties[index] = (PropertyDescriptor)value; 576keys[i] = properties[i].Name; 587if (properties.Length != this.propCount) { 589Array.Copy(properties, 0, newProps, 0, propCount); 593return (ICollection)properties.Clone(); 682properties[index] = (PropertyDescriptor)value;