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