69 lines
3.2 KiB
C#
69 lines
3.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Collections
|
|
{
|
|
/// <summary>Defines size, enumerators, and synchronization methods for all nongeneric collections.</summary>
|
|
// Token: 0x020005D4 RID: 1492
|
|
[Token(Token = "0x20005D4")]
|
|
[ComVisible(true)]
|
|
public interface ICollection : IEnumerable
|
|
{
|
|
/// <summary>Copies the elements of the <see cref="T:System.Collections.ICollection" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</summary>
|
|
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the elements copied from <see cref="T:System.Collections.ICollection" />. The <see cref="T:System.Array" /> must have zero-based indexing.</param>
|
|
/// <param name="index">The zero-based index in <paramref name="array" /> at which copying begins.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is less than zero.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="array" /> is multidimensional.
|
|
/// -or-
|
|
/// The number of elements in the source <see cref="T:System.Collections.ICollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.
|
|
/// -or-
|
|
/// The type of the source <see cref="T:System.Collections.ICollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
|
// Token: 0x06002E79 RID: 11897
|
|
[Token(Token = "0x6002E79")]
|
|
[Address(Slot = "0")]
|
|
void CopyTo(Array array, int index);
|
|
|
|
/// <summary>Gets the number of elements contained in the <see cref="T:System.Collections.ICollection" />.</summary>
|
|
/// <returns>The number of elements contained in the <see cref="T:System.Collections.ICollection" />.</returns>
|
|
// Token: 0x17000720 RID: 1824
|
|
// (get) Token: 0x06002E7A RID: 11898
|
|
[Token(Token = "0x17000720")]
|
|
int Count
|
|
{
|
|
[Token(Token = "0x6002E7A")]
|
|
[Address(Slot = "1")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
|
|
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</returns>
|
|
// Token: 0x17000721 RID: 1825
|
|
// (get) Token: 0x06002E7B RID: 11899
|
|
[Token(Token = "0x17000721")]
|
|
object SyncRoot
|
|
{
|
|
[Token(Token = "0x6002E7B")]
|
|
[Address(Slot = "2")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000722 RID: 1826
|
|
// (get) Token: 0x06002E7C RID: 11900
|
|
[Token(Token = "0x17000722")]
|
|
bool IsSynchronized
|
|
{
|
|
[Token(Token = "0x6002E7C")]
|
|
[Address(Slot = "3")]
|
|
get;
|
|
}
|
|
}
|
|
}
|