368 lines
19 KiB
C#
368 lines
19 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Collections
|
|
{
|
|
/// <summary>Provides the <see langword="abstract" /> base class for a strongly typed collection.</summary>
|
|
// Token: 0x020005A8 RID: 1448
|
|
[Token(Token = "0x20005A8")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public abstract class CollectionBase : IList, ICollection, IEnumerable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.CollectionBase" /> class with the default initial capacity.</summary>
|
|
// Token: 0x06002BC6 RID: 11206 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BC6")]
|
|
[Address(RVA = "0x2532310", Offset = "0x2531110", VA = "0x182532310")]
|
|
protected CollectionBase()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.ArrayList" /> containing the list of elements in the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.ArrayList" /> representing the <see cref="T:System.Collections.CollectionBase" /> instance itself.
|
|
/// Retrieving the value of this property is an O(1) operation.</returns>
|
|
// Token: 0x17000677 RID: 1655
|
|
// (get) Token: 0x06002BC7 RID: 11207 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000677")]
|
|
protected ArrayList InnerList
|
|
{
|
|
[Token(Token = "0x6002BC7")]
|
|
[Address(RVA = "0x25323E0", Offset = "0x25311E0", VA = "0x1825323E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an <see cref="T:System.Collections.IList" /> containing the list of elements in the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IList" /> representing the <see cref="T:System.Collections.CollectionBase" /> instance itself.</returns>
|
|
// Token: 0x17000678 RID: 1656
|
|
// (get) Token: 0x06002BC8 RID: 11208 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000678")]
|
|
protected IList List
|
|
{
|
|
[Token(Token = "0x6002BC8")]
|
|
[Address(RVA = "0x434BD0", Offset = "0x4339D0", VA = "0x180434BD0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the number of elements contained in the <see cref="T:System.Collections.CollectionBase" /> instance. This property cannot be overridden.</summary>
|
|
/// <returns>The number of elements contained in the <see cref="T:System.Collections.CollectionBase" /> instance.
|
|
/// Retrieving the value of this property is an O(1) operation.</returns>
|
|
// Token: 0x17000679 RID: 1657
|
|
// (get) Token: 0x06002BC9 RID: 11209 RVA: 0x000171F0 File Offset: 0x000153F0
|
|
[Token(Token = "0x17000679")]
|
|
public int Count
|
|
{
|
|
[Token(Token = "0x6002BC9")]
|
|
[Address(RVA = "0x25323C0", Offset = "0x25311C0", VA = "0x1825323C0", Slot = "16")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Removes all objects from the <see cref="T:System.Collections.CollectionBase" /> instance. This method cannot be overridden.</summary>
|
|
// Token: 0x06002BCA RID: 11210 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BCA")]
|
|
[Address(RVA = "0x2531440", Offset = "0x2530240", VA = "0x182531440", Slot = "8")]
|
|
public void Clear()
|
|
{
|
|
}
|
|
|
|
/// <summary>Removes the element at the specified index of the <see cref="T:System.Collections.CollectionBase" /> instance. This method is not overridable.</summary>
|
|
/// <param name="index">The zero-based index of the element to remove.</param>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is less than zero.
|
|
/// -or-
|
|
/// <paramref name="index" /> is equal to or greater than <see cref="P:System.Collections.CollectionBase.Count" />.</exception>
|
|
// Token: 0x06002BCB RID: 11211 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BCB")]
|
|
[Address(RVA = "0x25315C0", Offset = "0x25303C0", VA = "0x1825315C0", Slot = "14")]
|
|
public void RemoveAt(int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.CollectionBase" /> is read-only.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Collections.CollectionBase" /> is read-only; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x1700067A RID: 1658
|
|
// (get) Token: 0x06002BCC RID: 11212 RVA: 0x00017208 File Offset: 0x00015408
|
|
[Token(Token = "0x1700067A")]
|
|
bool IList.IsReadOnly
|
|
{
|
|
[Token(Token = "0x6002BCC")]
|
|
[Address(RVA = "0x2531FE0", Offset = "0x2530DE0", VA = "0x182531FE0", Slot = "9")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.CollectionBase" /> has a fixed size.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Collections.CollectionBase" /> has a fixed size; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x1700067B RID: 1659
|
|
// (get) Token: 0x06002BCD RID: 11213 RVA: 0x00017220 File Offset: 0x00015420
|
|
[Token(Token = "0x1700067B")]
|
|
bool IList.IsFixedSize
|
|
{
|
|
[Token(Token = "0x6002BCD")]
|
|
[Address(RVA = "0x2531F60", Offset = "0x2530D60", VA = "0x182531F60", Slot = "10")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.CollectionBase" /> is synchronized (thread safe).</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if access to the <see cref="T:System.Collections.CollectionBase" /> is synchronized (thread safe); otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x1700067C RID: 1660
|
|
// (get) Token: 0x06002BCE RID: 11214 RVA: 0x00017238 File Offset: 0x00015438
|
|
[Token(Token = "0x1700067C")]
|
|
bool ICollection.IsSynchronized
|
|
{
|
|
[Token(Token = "0x6002BCE")]
|
|
[Address(RVA = "0x2531810", Offset = "0x2530610", VA = "0x182531810", Slot = "18")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.CollectionBase" />.</summary>
|
|
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.CollectionBase" />.</returns>
|
|
// Token: 0x1700067D RID: 1661
|
|
// (get) Token: 0x06002BCF RID: 11215 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700067D")]
|
|
object ICollection.SyncRoot
|
|
{
|
|
[Token(Token = "0x6002BCF")]
|
|
[Address(RVA = "0x2531890", Offset = "0x2530690", VA = "0x182531890", Slot = "17")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Copies the entire <see cref="T:System.Collections.CollectionBase" /> to a compatible one-dimensional <see cref="T:System.Array" />, starting at the specified index of the target array.</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.CollectionBase" />. 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.CollectionBase" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
|
|
/// <exception cref="T:System.InvalidCastException">The type of the source <see cref="T:System.Collections.CollectionBase" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
|
// Token: 0x06002BD0 RID: 11216 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BD0")]
|
|
[Address(RVA = "0x2531770", Offset = "0x2530570", VA = "0x182531770", Slot = "15")]
|
|
void ICollection.CopyTo(Array array, int index)
|
|
{
|
|
}
|
|
|
|
/// <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 less than zero.
|
|
/// -or-
|
|
/// <paramref name="index" /> is equal to or greater than <see cref="P:System.Collections.CollectionBase.Count" />.</exception>
|
|
// Token: 0x1700067E RID: 1662
|
|
[Token(Token = "0x1700067E")]
|
|
object IList.this[int index]
|
|
{
|
|
[Token(Token = "0x6002BD1")]
|
|
[Address(RVA = "0x2532060", Offset = "0x2530E60", VA = "0x182532060", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6002BD2")]
|
|
[Address(RVA = "0x2532130", Offset = "0x2530F30", VA = "0x182532130", Slot = "5")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Determines whether the <see cref="T:System.Collections.CollectionBase" /> contains a specific element.</summary>
|
|
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.CollectionBase" />.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the <see cref="T:System.Collections.CollectionBase" /> contains the specified <paramref name="value" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06002BD3 RID: 11219 RVA: 0x00017250 File Offset: 0x00015450
|
|
[Token(Token = "0x6002BD3")]
|
|
[Address(RVA = "0x2531AC0", Offset = "0x25308C0", VA = "0x182531AC0", Slot = "7")]
|
|
bool IList.Contains(object value)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Adds an object to the end of the <see cref="T:System.Collections.CollectionBase" />.</summary>
|
|
/// <param name="value">The <see cref="T:System.Object" /> to be added to the end of the <see cref="T:System.Collections.CollectionBase" />.</param>
|
|
/// <returns>The <see cref="T:System.Collections.CollectionBase" /> index at which the <paramref name="value" /> has been added.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.CollectionBase" /> is read-only.
|
|
/// -or-
|
|
/// The <see cref="T:System.Collections.CollectionBase" /> has a fixed size.</exception>
|
|
// Token: 0x06002BD4 RID: 11220 RVA: 0x00017268 File Offset: 0x00015468
|
|
[Token(Token = "0x6002BD4")]
|
|
[Address(RVA = "0x2531910", Offset = "0x2530710", VA = "0x182531910", Slot = "6")]
|
|
int IList.Add(object value)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.CollectionBase" />.</summary>
|
|
/// <param name="value">The <see cref="T:System.Object" /> to remove from the <see cref="T:System.Collections.CollectionBase" />.</param>
|
|
/// <exception cref="T:System.ArgumentException">The <paramref name="value" /> parameter was not found in the <see cref="T:System.Collections.CollectionBase" /> object.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.CollectionBase" /> is read-only.
|
|
/// -or-
|
|
/// The <see cref="T:System.Collections.CollectionBase" /> has a fixed size.</exception>
|
|
// Token: 0x06002BD5 RID: 11221 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BD5")]
|
|
[Address(RVA = "0x2531D60", Offset = "0x2530B60", VA = "0x182531D60", Slot = "13")]
|
|
void IList.Remove(object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Searches for the specified <see cref="T:System.Object" /> and returns the zero-based index of the first occurrence within the entire <see cref="T:System.Collections.CollectionBase" />.</summary>
|
|
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.CollectionBase" />.</param>
|
|
/// <returns>The zero-based index of the first occurrence of <paramref name="value" /> within the entire <see cref="T:System.Collections.CollectionBase" />, if found; otherwise, -1.</returns>
|
|
// Token: 0x06002BD6 RID: 11222 RVA: 0x00017280 File Offset: 0x00015480
|
|
[Token(Token = "0x6002BD6")]
|
|
[Address(RVA = "0x2531B50", Offset = "0x2530950", VA = "0x182531B50", Slot = "11")]
|
|
int IList.IndexOf(object value)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Inserts an element into the <see cref="T:System.Collections.CollectionBase" /> 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 <see cref="T:System.Object" /> to insert.</param>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> is less than zero.
|
|
/// -or-
|
|
/// <paramref name="index" /> is greater than <see cref="P:System.Collections.CollectionBase.Count" />.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">The <see cref="T:System.Collections.CollectionBase" /> is read-only.
|
|
/// -or-
|
|
/// The <see cref="T:System.Collections.CollectionBase" /> has a fixed size.</exception>
|
|
// Token: 0x06002BD7 RID: 11223 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BD7")]
|
|
[Address(RVA = "0x2531BE0", Offset = "0x25309E0", VA = "0x182531BE0", Slot = "12")]
|
|
void IList.Insert(int index, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns an enumerator that iterates through the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.CollectionBase" /> instance.</returns>
|
|
// Token: 0x06002BD8 RID: 11224 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002BD8")]
|
|
[Address(RVA = "0x25314E0", Offset = "0x25302E0", VA = "0x1825314E0", Slot = "19")]
|
|
public IEnumerator GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes before setting a value in the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <param name="index">The zero-based index at which <paramref name="oldValue" /> can be found.</param>
|
|
/// <param name="oldValue">The value to replace with <paramref name="newValue" />.</param>
|
|
/// <param name="newValue">The new value of the element at <paramref name="index" />.</param>
|
|
// Token: 0x06002BD9 RID: 11225 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BD9")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "20")]
|
|
protected virtual void OnSet(int index, object oldValue, object newValue)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes before inserting a new element into the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <param name="index">The zero-based index at which to insert <paramref name="value" />.</param>
|
|
/// <param name="value">The new value of the element at <paramref name="index" />.</param>
|
|
// Token: 0x06002BDA RID: 11226 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BDA")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "21")]
|
|
protected virtual void OnInsert(int index, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes when clearing the contents of the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
// Token: 0x06002BDB RID: 11227 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BDB")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "22")]
|
|
protected virtual void OnClear()
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes when removing an element from the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <param name="index">The zero-based index at which <paramref name="value" /> can be found.</param>
|
|
/// <param name="value">The value of the element to remove from <paramref name="index" />.</param>
|
|
// Token: 0x06002BDC RID: 11228 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BDC")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "23")]
|
|
protected virtual void OnRemove(int index, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes when validating a value.</summary>
|
|
/// <param name="value">The object to validate.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06002BDD RID: 11229 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BDD")]
|
|
[Address(RVA = "0x2531560", Offset = "0x2530360", VA = "0x182531560", Slot = "24")]
|
|
protected virtual void OnValidate(object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes after setting a value in the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <param name="index">The zero-based index at which <paramref name="oldValue" /> can be found.</param>
|
|
/// <param name="oldValue">The value to replace with <paramref name="newValue" />.</param>
|
|
/// <param name="newValue">The new value of the element at <paramref name="index" />.</param>
|
|
// Token: 0x06002BDE RID: 11230 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BDE")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "25")]
|
|
protected virtual void OnSetComplete(int index, object oldValue, object newValue)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes after inserting a new element into the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <param name="index">The zero-based index at which to insert <paramref name="value" />.</param>
|
|
/// <param name="value">The new value of the element at <paramref name="index" />.</param>
|
|
// Token: 0x06002BDF RID: 11231 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BDF")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "26")]
|
|
protected virtual void OnInsertComplete(int index, object value)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes after clearing the contents of the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
// Token: 0x06002BE0 RID: 11232 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BE0")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "27")]
|
|
protected virtual void OnClearComplete()
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs additional custom processes after removing an element from the <see cref="T:System.Collections.CollectionBase" /> instance.</summary>
|
|
/// <param name="index">The zero-based index at which <paramref name="value" /> can be found.</param>
|
|
/// <param name="value">The value of the element to remove from <paramref name="index" />.</param>
|
|
// Token: 0x06002BE1 RID: 11233 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002BE1")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "28")]
|
|
protected virtual void OnRemoveComplete(int index, object value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001976 RID: 6518
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001976")]
|
|
private ArrayList list;
|
|
}
|
|
}
|