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: 0x0200060A RID: 1546
[Token(Token = "0x200060A")]
[TypeDependency("System.SZArrayHelper")]
public interface ICollection : IEnumerable, IEnumerable
{
/// Gets the number of elements contained in the .
/// The number of elements contained in the .
// Token: 0x17000750 RID: 1872
// (get) Token: 0x06002EF6 RID: 12022
[Token(Token = "0x17000750")]
int Count
{
[Token(Token = "0x6002EF6")]
[Address(Slot = "0")]
get;
}
/// Gets a value indicating whether the is read-only.
///
/// if the is read-only; otherwise, .
// Token: 0x17000751 RID: 1873
// (get) Token: 0x06002EF7 RID: 12023
[Token(Token = "0x17000751")]
bool IsReadOnly
{
[Token(Token = "0x6002EF7")]
[Address(Slot = "1")]
get;
}
/// Adds an item to the .
/// The object to add to the .
/// The is read-only.
// Token: 0x06002EF8 RID: 12024
[Token(Token = "0x6002EF8")]
[Address(Slot = "2")]
void Add(T item);
/// Removes all items from the .
/// The is read-only.
// Token: 0x06002EF9 RID: 12025
[Token(Token = "0x6002EF9")]
[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: 0x06002EFA RID: 12026
[Token(Token = "0x6002EFA")]
[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: 0x06002EFB RID: 12027
[Token(Token = "0x6002EFB")]
[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: 0x06002EFC RID: 12028
[Token(Token = "0x6002EFC")]
[Address(Slot = "6")]
bool Remove(T item);
}
}