65 public int Count {
get;
private set; }
82 bool ICollection.IsSynchronized =>
false;
84 object ICollection.SyncRoot =>
null;
122 Count = events.Length;
219 for (
int i = 0; i <
Count; i++)
293 return _events.GetEnumerator();
332 for (
int i = 0; i <
names.Length; i++)
static void Sort(Array array)
object? GetValue(params int[] indices)
int IList. IndexOf(object value)
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
ArraySubsetEnumerator(Array array, int count)
virtual EventDescriptorCollection Sort(string[] names, IComparer comparer)
void InternalSort(string[]? names)
EventDescriptorCollection(EventDescriptor[]? events, bool readOnly)
EventDescriptor[] _events
void EnsureSize(int sizeNeeded)
EventDescriptorCollection(EventDescriptor[]? events)
readonly IComparer _comparer
virtual EventDescriptorCollection Sort()
EventDescriptorCollection(EventDescriptor[] events, int eventCount, string[] namedSort, IComparer comparer)
int IndexOf(EventDescriptor? value)
virtual EventDescriptorCollection Sort(string[] names)
int Add(EventDescriptor? value)
void InternalSort(IComparer? sorter)
void Insert(int index, EventDescriptor? value)
void Remove(EventDescriptor? value)
readonly string[] _namedSort
IEnumerator GetEnumerator()
virtual EventDescriptorCollection Sort(IComparer comparer)
bool Contains(EventDescriptor? value)
virtual ? EventDescriptor Find(string name, bool ignoreCase)
static void SortDescriptorArray(IList infos)
static byte Max(byte val1, byte val2)
void CopyTo(T[] array, int arrayIndex)
new IEnumerator< T > GetEnumerator()
void Insert(int index, T item)