public void CopyTo(T[] array, int arrayIndex) { if (ProxyCopyTo != null) { ProxyCopyTo(array, arrayIndex); } else if (GenericList != null) { GenericList.CopyTo(array, arrayIndex); } else if (NonGenericList != null) { NonGenericList.CopyTo(array, arrayIndex); } else { throw new NotImplementedException(); } }
void ICollection.CopyTo(Array array, int index) => NonGenericList.CopyTo(array, index);