70 public int Count {
get;
private set; }
87 bool ICollection.IsSynchronized =>
false;
89 object ICollection.SyncRoot =>
null;
128 if (!(
key is string))
132 for (
int i = 0; i <
Count; i++)
160 for (
int i = 0; i <
Count; i++)
213 if (properties ==
null)
221 Count = properties.Length;
336 for (
int i = 0; i <
Count; i++)
439 for (
int i = 0; i <
names.Length; i++)
480 return array.GetEnumerator();
static void Sort(Array array)
int IList. IndexOf(object value)
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
readonly PropertyDescriptorCollection _owner
PropertyDescriptorEnumerator(PropertyDescriptorCollection owner)
void EnsureSize(int sizeNeeded)
readonly object _internalSyncObject
PropertyDescriptorCollection(PropertyDescriptor[] properties, int propCount, string[] namedSort, IComparer comparer)
IDictionary _cachedFoundProperties
PropertyDescriptor[] _properties
PropertyDescriptorCollection(PropertyDescriptor[]? properties, bool readOnly)
virtual PropertyDescriptorCollection Sort(IComparer? comparer)
void InternalSort(IComparer? sorter)
readonly string[] _namedSort
virtual PropertyDescriptorCollection Sort(string[]? names, IComparer? comparer)
int IndexOf(PropertyDescriptor? value)
void InternalSort(string[]? names)
virtual ? PropertyDescriptor Find(string name, bool ignoreCase)
void Insert(int index, PropertyDescriptor value)
int Add(PropertyDescriptor value)
virtual PropertyDescriptorCollection Sort()
virtual IEnumerator GetEnumerator()
bool Contains(PropertyDescriptor value)
void Remove(PropertyDescriptor? value)
PropertyDescriptorCollection(PropertyDescriptor[]? properties)
void CopyTo(Array array, int index)
readonly IComparer _comparer
virtual PropertyDescriptorCollection Sort(string[]? names)
override bool Equals([NotNullWhen(true)] object? obj)
static void SortDescriptorArray(IList infos)
static byte Max(byte val1, byte val2)
static StringComparer OrdinalIgnoreCase
void Add(TKey key, TValue value)
new IEnumerator< T > GetEnumerator()
void Insert(int index, T item)