Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

130 lines
6.2 KiB
C#

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: 0x020005BD RID: 1469
[Token(Token = "0x20005BD")]
[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: 0x170006B4 RID: 1716
[Token(Token = "0x170006B4")]
object this[int index]
{
[Token(Token = "0x6002C7D")]
[Address(Slot = "0")]
get;
[Token(Token = "0x6002C7E")]
[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: 0x06002C7F RID: 11391
[Token(Token = "0x6002C7F")]
[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: 0x06002C80 RID: 11392
[Token(Token = "0x6002C80")]
[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: 0x06002C81 RID: 11393
[Token(Token = "0x6002C81")]
[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: 0x170006B5 RID: 1717
// (get) Token: 0x06002C82 RID: 11394
[Token(Token = "0x170006B5")]
bool IsReadOnly
{
[Token(Token = "0x6002C82")]
[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: 0x170006B6 RID: 1718
// (get) Token: 0x06002C83 RID: 11395
[Token(Token = "0x170006B6")]
bool IsFixedSize
{
[Token(Token = "0x6002C83")]
[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: 0x06002C84 RID: 11396
[Token(Token = "0x6002C84")]
[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: 0x06002C85 RID: 11397
[Token(Token = "0x6002C85")]
[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: 0x06002C86 RID: 11398
[Token(Token = "0x6002C86")]
[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: 0x06002C87 RID: 11399
[Token(Token = "0x6002C87")]
[Address(Slot = "10")]
void RemoveAt(int index);
}
}