119 lines
5.7 KiB
C#
119 lines
5.7 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 non-generic read-only collection.</summary>
|
|
// Token: 0x020005C8 RID: 1480
|
|
[Token(Token = "0x20005C8")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public abstract class ReadOnlyCollectionBase : ICollection, IEnumerable
|
|
{
|
|
/// <summary>Gets the list of elements contained in the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> instance.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.ArrayList" /> representing the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> instance itself.</returns>
|
|
// Token: 0x170006CB RID: 1739
|
|
// (get) Token: 0x06002CC4 RID: 11460 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170006CB")]
|
|
protected ArrayList InnerList
|
|
{
|
|
[Token(Token = "0x6002CC4")]
|
|
[Address(RVA = "0x2547E10", Offset = "0x2546C10", VA = "0x182547E10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the number of elements contained in the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> instance.</summary>
|
|
/// <returns>The number of elements contained in the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> instance.
|
|
/// Retrieving the value of this property is an O(1) operation.</returns>
|
|
// Token: 0x170006CC RID: 1740
|
|
// (get) Token: 0x06002CC5 RID: 11461 RVA: 0x00017718 File Offset: 0x00015918
|
|
[Token(Token = "0x170006CC")]
|
|
public virtual int Count
|
|
{
|
|
[Token(Token = "0x6002CC5")]
|
|
[Address(RVA = "0x2547D90", Offset = "0x2546B90", VA = "0x182547D90", Slot = "9")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether access to a <see cref="T:System.Collections.ReadOnlyCollectionBase" /> object is synchronized (thread safe).</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if access to the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> object is synchronized (thread safe); otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x170006CD RID: 1741
|
|
// (get) Token: 0x06002CC6 RID: 11462 RVA: 0x00017730 File Offset: 0x00015930
|
|
[Token(Token = "0x170006CD")]
|
|
bool ICollection.IsSynchronized
|
|
{
|
|
[Token(Token = "0x6002CC6")]
|
|
[Address(RVA = "0x2547C90", Offset = "0x2546A90", VA = "0x182547C90", Slot = "7")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets an object that can be used to synchronize access to a <see cref="T:System.Collections.ReadOnlyCollectionBase" /> object.</summary>
|
|
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> object.</returns>
|
|
// Token: 0x170006CE RID: 1742
|
|
// (get) Token: 0x06002CC7 RID: 11463 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170006CE")]
|
|
object ICollection.SyncRoot
|
|
{
|
|
[Token(Token = "0x6002CC7")]
|
|
[Address(RVA = "0x2547D10", Offset = "0x2546B10", VA = "0x182547D10", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Copies the entire <see cref="T:System.Collections.ReadOnlyCollectionBase" /> 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.ReadOnlyCollectionBase" />. 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.ReadOnlyCollectionBase" /> 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.ReadOnlyCollectionBase" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
|
// Token: 0x06002CC8 RID: 11464 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002CC8")]
|
|
[Address(RVA = "0x2547BF0", Offset = "0x25469F0", VA = "0x182547BF0", Slot = "4")]
|
|
void ICollection.CopyTo(Array array, int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Returns an enumerator that iterates through the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> instance.</summary>
|
|
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> instance.</returns>
|
|
// Token: 0x06002CC9 RID: 11465 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002CC9")]
|
|
[Address(RVA = "0x2547B70", Offset = "0x2546970", VA = "0x182547B70", Slot = "10")]
|
|
public virtual IEnumerator GetEnumerator()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> class.</summary>
|
|
// Token: 0x06002CCA RID: 11466 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002CCA")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected ReadOnlyCollectionBase()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040019BF RID: 6591
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40019BF")]
|
|
private ArrayList list;
|
|
}
|
|
}
|