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: 0x020005C7 RID: 1479
|
|
[Token(Token = "0x20005C7")]
|
|
[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: 0x06002DDC RID: 11740 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DDC")]
|
|
[Address(RVA = "0x2C2FD20", Offset = "0x2C2ED20", VA = "0x182C2FD20")]
|
|
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: 0x170006EF RID: 1775
|
|
// (get) Token: 0x06002DDD RID: 11741 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170006EF")]
|
|
protected ArrayList InnerList
|
|
{
|
|
[Token(Token = "0x6002DDD")]
|
|
[Address(RVA = "0x2C2FDF0", Offset = "0x2C2EDF0", VA = "0x182C2FDF0")]
|
|
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: 0x170006F0 RID: 1776
|
|
// (get) Token: 0x06002DDE RID: 11742 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170006F0")]
|
|
protected IList List
|
|
{
|
|
[Token(Token = "0x6002DDE")]
|
|
[Address(RVA = "0x4A65C0", Offset = "0x4A55C0", VA = "0x1804A65C0")]
|
|
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: 0x170006F1 RID: 1777
|
|
// (get) Token: 0x06002DDF RID: 11743 RVA: 0x000195F0 File Offset: 0x000177F0
|
|
[Token(Token = "0x170006F1")]
|
|
public int Count
|
|
{
|
|
[Token(Token = "0x6002DDF")]
|
|
[Address(RVA = "0x2C2FDD0", Offset = "0x2C2EDD0", VA = "0x182C2FDD0", 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: 0x06002DE0 RID: 11744 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DE0")]
|
|
[Address(RVA = "0x2C2EE50", Offset = "0x2C2DE50", VA = "0x182C2EE50", 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: 0x06002DE1 RID: 11745 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DE1")]
|
|
[Address(RVA = "0x2C2EFD0", Offset = "0x2C2DFD0", VA = "0x182C2EFD0", 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: 0x170006F2 RID: 1778
|
|
// (get) Token: 0x06002DE2 RID: 11746 RVA: 0x00019608 File Offset: 0x00017808
|
|
[Token(Token = "0x170006F2")]
|
|
bool IList.IsReadOnly
|
|
{
|
|
[Token(Token = "0x6002DE2")]
|
|
[Address(RVA = "0x2C2F9F0", Offset = "0x2C2E9F0", VA = "0x182C2F9F0", 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: 0x170006F3 RID: 1779
|
|
// (get) Token: 0x06002DE3 RID: 11747 RVA: 0x00019620 File Offset: 0x00017820
|
|
[Token(Token = "0x170006F3")]
|
|
bool IList.IsFixedSize
|
|
{
|
|
[Token(Token = "0x6002DE3")]
|
|
[Address(RVA = "0x2C2F970", Offset = "0x2C2E970", VA = "0x182C2F970", 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: 0x170006F4 RID: 1780
|
|
// (get) Token: 0x06002DE4 RID: 11748 RVA: 0x00019638 File Offset: 0x00017838
|
|
[Token(Token = "0x170006F4")]
|
|
bool ICollection.IsSynchronized
|
|
{
|
|
[Token(Token = "0x6002DE4")]
|
|
[Address(RVA = "0x2C2F220", Offset = "0x2C2E220", VA = "0x182C2F220", 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: 0x170006F5 RID: 1781
|
|
// (get) Token: 0x06002DE5 RID: 11749 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170006F5")]
|
|
object ICollection.SyncRoot
|
|
{
|
|
[Token(Token = "0x6002DE5")]
|
|
[Address(RVA = "0x2C2F2A0", Offset = "0x2C2E2A0", VA = "0x182C2F2A0", 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: 0x06002DE6 RID: 11750 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DE6")]
|
|
[Address(RVA = "0x2C2F180", Offset = "0x2C2E180", VA = "0x182C2F180", 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: 0x170006F6 RID: 1782
|
|
[Token(Token = "0x170006F6")]
|
|
object IList.this[int index]
|
|
{
|
|
[Token(Token = "0x6002DE7")]
|
|
[Address(RVA = "0x2C2FA70", Offset = "0x2C2EA70", VA = "0x182C2FA70", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6002DE8")]
|
|
[Address(RVA = "0x2C2FB40", Offset = "0x2C2EB40", VA = "0x182C2FB40", 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: 0x06002DE9 RID: 11753 RVA: 0x00019650 File Offset: 0x00017850
|
|
[Token(Token = "0x6002DE9")]
|
|
[Address(RVA = "0x2C2F4D0", Offset = "0x2C2E4D0", VA = "0x182C2F4D0", 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: 0x06002DEA RID: 11754 RVA: 0x00019668 File Offset: 0x00017868
|
|
[Token(Token = "0x6002DEA")]
|
|
[Address(RVA = "0x2C2F320", Offset = "0x2C2E320", VA = "0x182C2F320", 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: 0x06002DEB RID: 11755 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DEB")]
|
|
[Address(RVA = "0x2C2F770", Offset = "0x2C2E770", VA = "0x182C2F770", 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: 0x06002DEC RID: 11756 RVA: 0x00019680 File Offset: 0x00017880
|
|
[Token(Token = "0x6002DEC")]
|
|
[Address(RVA = "0x2C2F560", Offset = "0x2C2E560", VA = "0x182C2F560", 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: 0x06002DED RID: 11757 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DED")]
|
|
[Address(RVA = "0x2C2F5F0", Offset = "0x2C2E5F0", VA = "0x182C2F5F0", 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: 0x06002DEE RID: 11758 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002DEE")]
|
|
[Address(RVA = "0x2C2EEF0", Offset = "0x2C2DEF0", VA = "0x182C2EEF0", 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: 0x06002DEF RID: 11759 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DEF")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF0 RID: 11760 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF0")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF1 RID: 11761 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF1")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF2 RID: 11762 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF2")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF3 RID: 11763 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF3")]
|
|
[Address(RVA = "0x2C2EF70", Offset = "0x2C2DF70", VA = "0x182C2EF70", 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: 0x06002DF4 RID: 11764 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF4")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF5 RID: 11765 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF5")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF6 RID: 11766 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF6")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", 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: 0x06002DF7 RID: 11767 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002DF7")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "28")]
|
|
protected virtual void OnRemoveComplete(int index, object value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04001A39 RID: 6713
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001A39")]
|
|
private ArrayList list;
|
|
}
|
|
}
|