object IList.this[int index] {
get {
return this[index];
}
set {
if (readOnly) {
throw new NotSupportedException();
}
if (index >= propCount) {
throw new IndexOutOfRangeException();
}
if (value != null && !(value is PropertyDescriptor)) {
throw new ArgumentException("value");
}
EnsurePropsOwned();
properties[index] = (PropertyDescriptor)value;
}
}