m
This commit is contained in:
@@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections
|
||||
{
|
||||
/// <summary>Represents a non-generic collection of objects that can be individually accessed by index.</summary>
|
||||
// Token: 0x020005DC RID: 1500
|
||||
[Token(Token = "0x20005DC")]
|
||||
[ComVisible(true)]
|
||||
public interface IList : ICollection, IEnumerable
|
||||
{
|
||||
/// <summary>Gets or sets the element at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the element to get or set.</param>
|
||||
/// <returns>The element at the specified index.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The property is set and the <see cref="T:System.Collections.IList" /> is read-only.</exception>
|
||||
// Token: 0x1700072C RID: 1836
|
||||
[Token(Token = "0x1700072C")]
|
||||
object this[int index]
|
||||
{
|
||||
[Token(Token = "0x6002E93")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
[Token(Token = "0x6002E94")]
|
||||
[Address(Slot = "1")]
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>Adds an item to the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The object to add to the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.
|
||||
/// -or-
|
||||
/// The <see cref="T:System.Collections.IList" /> has a fixed size.</exception>
|
||||
// Token: 0x06002E95 RID: 11925
|
||||
[Token(Token = "0x6002E95")]
|
||||
[Address(Slot = "2")]
|
||||
int Add(object value);
|
||||
|
||||
/// <summary>Determines whether the <see cref="T:System.Collections.IList" /> contains a specific value.</summary>
|
||||
/// <param name="value">The object to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Object" /> is found in the <see cref="T:System.Collections.IList" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06002E96 RID: 11926
|
||||
[Token(Token = "0x6002E96")]
|
||||
[Address(Slot = "3")]
|
||||
bool Contains(object value);
|
||||
|
||||
/// <summary>Removes all items from the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.</exception>
|
||||
// Token: 0x06002E97 RID: 11927
|
||||
[Token(Token = "0x6002E97")]
|
||||
[Address(Slot = "4")]
|
||||
void Clear();
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> is read-only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> is read-only; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700072D RID: 1837
|
||||
// (get) Token: 0x06002E98 RID: 11928
|
||||
[Token(Token = "0x1700072D")]
|
||||
bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6002E98")]
|
||||
[Address(Slot = "5")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700072E RID: 1838
|
||||
// (get) Token: 0x06002E99 RID: 11929
|
||||
[Token(Token = "0x1700072E")]
|
||||
bool IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6002E99")]
|
||||
[Address(Slot = "6")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Determines the index of a specific item in the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The object to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
|
||||
// Token: 0x06002E9A RID: 11930
|
||||
[Token(Token = "0x6002E9A")]
|
||||
[Address(Slot = "7")]
|
||||
int IndexOf(object value);
|
||||
|
||||
/// <summary>Inserts an item to the <see cref="T:System.Collections.IList" /> at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index at which <paramref name="value" /> should be inserted.</param>
|
||||
/// <param name="value">The object to insert into the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.
|
||||
/// -or-
|
||||
/// The <see cref="T:System.Collections.IList" /> has a fixed size.</exception>
|
||||
/// <exception cref="T:System.NullReferenceException">
|
||||
/// <paramref name="value" /> is null reference in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x06002E9B RID: 11931
|
||||
[Token(Token = "0x6002E9B")]
|
||||
[Address(Slot = "8")]
|
||||
void Insert(int index, object value);
|
||||
|
||||
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The object to remove from the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.
|
||||
/// -or-
|
||||
/// The <see cref="T:System.Collections.IList" /> has a fixed size.</exception>
|
||||
// Token: 0x06002E9C RID: 11932
|
||||
[Token(Token = "0x6002E9C")]
|
||||
[Address(Slot = "9")]
|
||||
void Remove(object value);
|
||||
|
||||
/// <summary>Removes the <see cref="T:System.Collections.IList" /> item at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the item to remove.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.IList" /> is read-only.
|
||||
/// -or-
|
||||
/// The <see cref="T:System.Collections.IList" /> has a fixed size.</exception>
|
||||
// Token: 0x06002E9D RID: 11933
|
||||
[Token(Token = "0x6002E9D")]
|
||||
[Address(Slot = "10")]
|
||||
void RemoveAt(int index);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user