Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Collections/ReadOnlyCollectionBase.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x020005E7 RID: 1511
[Token(Token = "0x20005E7")]
[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: 0x17000743 RID: 1859
// (get) Token: 0x06002EDA RID: 11994 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000743")]
protected ArrayList InnerList
{
[Token(Token = "0x6002EDA")]
[Address(RVA = "0x2C457C0", Offset = "0x2C447C0", VA = "0x182C457C0")]
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: 0x17000744 RID: 1860
// (get) Token: 0x06002EDB RID: 11995 RVA: 0x00019B18 File Offset: 0x00017D18
[Token(Token = "0x17000744")]
public virtual int Count
{
[Token(Token = "0x6002EDB")]
[Address(RVA = "0x2C45740", Offset = "0x2C44740", VA = "0x182C45740", 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: 0x17000745 RID: 1861
// (get) Token: 0x06002EDC RID: 11996 RVA: 0x00019B30 File Offset: 0x00017D30
[Token(Token = "0x17000745")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6002EDC")]
[Address(RVA = "0x2C45640", Offset = "0x2C44640", VA = "0x182C45640", 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: 0x17000746 RID: 1862
// (get) Token: 0x06002EDD RID: 11997 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000746")]
object ICollection.SyncRoot
{
[Token(Token = "0x6002EDD")]
[Address(RVA = "0x2C456C0", Offset = "0x2C446C0", VA = "0x182C456C0", 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: 0x06002EDE RID: 11998 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002EDE")]
[Address(RVA = "0x2C455A0", Offset = "0x2C445A0", VA = "0x182C455A0", 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: 0x06002EDF RID: 11999 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002EDF")]
[Address(RVA = "0x2C45520", Offset = "0x2C44520", VA = "0x182C45520", Slot = "10")]
public virtual IEnumerator GetEnumerator()
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ReadOnlyCollectionBase" /> class.</summary>
// Token: 0x06002EE0 RID: 12000 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002EE0")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected ReadOnlyCollectionBase()
{
}
// Token: 0x04001A82 RID: 6786
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001A82")]
private ArrayList list;
}
}