using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
namespace System.Collections.Generic
{
/// Defines methods to manipulate generic collections.
/// The type of the elements in the collection.
// Token: 0x0200062B RID: 1579
[Token(Token = "0x200062B")]
[TypeDependency("System.SZArrayHelper")]
public interface ICollection : IEnumerable, IEnumerable
{
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x170007C8 RID: 1992
// (get) Token: 0x0600310E RID: 12558
[Token(Token = "0x170007C8")]
int Count
{
[Token(Token = "0x600310E")]
[Address(Slot = "0")]
get;
}
/// Gets a value indicating whether the is read-only.
///
/// if the is read-only; otherwise, .
// Token: 0x170007C9 RID: 1993
// (get) Token: 0x0600310F RID: 12559
[Token(Token = "0x170007C9")]
bool IsReadOnly
{
[Token(Token = "0x600310F")]
[Address(Slot = "1")]
get;
}
/// Adds an item to the .
/// The object to add to the .
/// The is read-only.
// Token: 0x06003110 RID: 12560
[Token(Token = "0x6003110")]
[Address(Slot = "2")]
void Add(T item);
/// Removes all items from the .
/// The is read-only.
// Token: 0x06003111 RID: 12561
[Token(Token = "0x6003111")]
[Address(Slot = "3")]
void Clear();
/// Determines whether the contains a specific value.
/// The object to locate in the .
///
/// if is found in the ; otherwise, .
// Token: 0x06003112 RID: 12562
[Token(Token = "0x6003112")]
[Address(Slot = "4")]
bool Contains(T item);
/// Copies the elements of the to an , starting at a particular index.
/// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
/// The zero-based index in at which copying begins.
///
/// is .
///
/// is less than 0.
/// The number of elements in the source is greater than the available space from to the end of the destination .
// Token: 0x06003113 RID: 12563
[Token(Token = "0x6003113")]
[Address(Slot = "5")]
void CopyTo(T[] array, int arrayIndex);
/// Removes the first occurrence of a specific object from the .
/// The object to remove from the .
///
/// if was successfully removed from the ; otherwise, . This method also returns if is not found in the original .
/// The is read-only.
// Token: 0x06003114 RID: 12564
[Token(Token = "0x6003114")]
[Address(Slot = "6")]
bool Remove(T item);
}
}