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