8 writes to propCount
System (8)
compmod\system\componentmodel\PropertyDescriptorCollection.cs (8)
98this.propCount = 0; 101this.propCount = properties.Length; 121this.propCount = propCount; 170properties[propCount++] = value; 182propCount = 0; 224propCount = 0; 303propCount++; 333propCount--;
28 references to propCount
System (28)
compmod\system\componentmodel\PropertyDescriptorCollection.cs (28)
134return propCount; 144if (index >= propCount) { 169EnsureSize(propCount + 1); 171return propCount - 1; 233Array.Copy(properties, 0, newProps, 0, propCount); 261for(int i = 0; i < propCount; i++) { 287return Array.IndexOf(properties, value, 0, propCount); 298EnsureSize(propCount + 1); 299if (index < propCount) { 300Array.Copy(properties, index, properties, index + 1, propCount - index); 329if (index < propCount - 1) { 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); 448if (properties.Length != this.propCount) { 449PropertyDescriptor[] enumProps = new PropertyDescriptor[propCount]; 450Array.Copy(properties, 0, enumProps, 0, propCount); 542if (index < 0 || index >= propCount) { 547for (int i = 0; i < propCount; i++) { 574string[] keys = new string[propCount]; 575for (int i = 0; i < propCount ;i++) { 587if (properties.Length != this.propCount) { 588PropertyDescriptor[] newProps = new PropertyDescriptor[propCount]; 589Array.Copy(properties, 0, newProps, 0, propCount); 672if (index >= propCount) {