using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Collections.ObjectModel
{
/// Provides the base class for a generic read-only collection.
/// The type of elements in the collection.
// Token: 0x020005D4 RID: 1492
[Token(Token = "0x20005D4")]
[ComVisible(false)]
[DebuggerTypeProxy(typeof(Mscorlib_CollectionDebugView<>))]
[DebuggerDisplay("Count = {Count}")]
[Serializable]
public class ReadOnlyCollection : IList, ICollection, IEnumerable, IEnumerable, IList, ICollection, IReadOnlyList, IReadOnlyCollection
{
/// Initializes a new instance of the class that is a read-only wrapper around the specified list.
/// The list to wrap.
///
/// is .
// Token: 0x06002D72 RID: 11634 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D72")]
[Address(RVA = "0x3202BA0", Offset = "0x32019A0", VA = "0x183202BA0")]
public ReadOnlyCollection(IList list)
{
}
/// Gets the number of elements contained in the instance.
/// The number of elements contained in the instance.
// Token: 0x170006FE RID: 1790
// (get) Token: 0x06002D73 RID: 11635 RVA: 0x00017BF8 File Offset: 0x00015DF8
[Token(Token = "0x170006FE")]
public int Count
{
[Token(Token = "0x6002D73")]
[Address(RVA = "0x320DF10", Offset = "0x320CD10", VA = "0x18320DF10", Slot = "34")]
get
{
return 0;
}
}
/// Gets the element at the specified index.
/// The zero-based index of the element to get.
/// The element at the specified index.
///
/// is less than zero.
/// -or-
/// is equal to or greater than .
// Token: 0x170006FF RID: 1791
[Token(Token = "0x170006FF")]
public T this[int index]
{
[Token(Token = "0x6002D74")]
[Address(RVA = "0x3205B50", Offset = "0x3204950", VA = "0x183205B50", Slot = "33")]
get
{
return null;
}
}
/// Determines whether an element is in the .
/// The object to locate in the . The value can be for reference types.
///
/// if is found in the ; otherwise, .
// Token: 0x06002D75 RID: 11637 RVA: 0x00017C10 File Offset: 0x00015E10
[Token(Token = "0x6002D75")]
[Address(RVA = "0x3203E90", Offset = "0x3202C90", VA = "0x183203E90", Slot = "13")]
public bool Contains(T value)
{
return default(bool);
}
/// Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
/// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
/// The zero-based index in at which copying begins.
///
/// is .
///
/// is less than zero.
/// The number of elements in the source is greater than the available space from to the end of the destination .
// Token: 0x06002D76 RID: 11638 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D76")]
[Address(RVA = "0x32044E0", Offset = "0x32032E0", VA = "0x1832044E0", Slot = "14")]
public void CopyTo(T[] array, int index)
{
}
/// Returns an enumerator that iterates through the .
/// An for the .
// Token: 0x06002D77 RID: 11639 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D77")]
[Address(RVA = "0x1E20620", Offset = "0x1E1F420", VA = "0x181E20620", Slot = "16")]
public IEnumerator GetEnumerator()
{
return null;
}
/// Searches for the specified object and returns the zero-based index of the first occurrence within the entire .
/// The object to locate in the . The value can be for reference types.
/// The zero-based index of the first occurrence of within the entire , if found; otherwise, -1.
// Token: 0x06002D78 RID: 11640 RVA: 0x00017C28 File Offset: 0x00015E28
[Token(Token = "0x6002D78")]
[Address(RVA = "0x3204640", Offset = "0x3203440", VA = "0x183204640", Slot = "6")]
public int IndexOf(T value)
{
return 0;
}
// Token: 0x17000700 RID: 1792
// (get) Token: 0x06002D79 RID: 11641 RVA: 0x00017C40 File Offset: 0x00015E40
[Token(Token = "0x17000700")]
bool ICollection.IsReadOnly
{
[Token(Token = "0x6002D79")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "10")]
get
{
return default(bool);
}
}
// Token: 0x17000701 RID: 1793
[Token(Token = "0x17000701")]
T IList.this[int index]
{
[Token(Token = "0x6002D7A")]
[Address(RVA = "0x32056D0", Offset = "0x32044D0", VA = "0x1832056D0", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6002D7B")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "5")]
set
{
}
}
// Token: 0x06002D7C RID: 11644 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D7C")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "11")]
void ICollection.Add(T value)
{
}
// Token: 0x06002D7D RID: 11645 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D7D")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "12")]
void ICollection.Clear()
{
}
// Token: 0x06002D7E RID: 11646 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D7E")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "7")]
void IList.Insert(int index, T value)
{
}
// Token: 0x06002D7F RID: 11647 RVA: 0x00017C58 File Offset: 0x00015E58
[Token(Token = "0x6002D7F")]
[Address(RVA = "0x32056B0", Offset = "0x32044B0", VA = "0x1832056B0", Slot = "15")]
bool ICollection.Remove(T value)
{
return default(bool);
}
// Token: 0x06002D80 RID: 11648 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D80")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "8")]
void IList.RemoveAt(int index)
{
}
/// Returns an enumerator that iterates through a collection.
/// An that can be used to iterate through the collection.
// Token: 0x06002D81 RID: 11649 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002D81")]
[Address(RVA = "0x320C140", Offset = "0x320AF40", VA = "0x18320C140", Slot = "17")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// Gets a value indicating whether access to the is synchronized (thread safe).
///
/// if access to the is synchronized (thread safe); otherwise, . In the default implementation of , this property always returns .
// Token: 0x17000702 RID: 1794
// (get) Token: 0x06002D82 RID: 11650 RVA: 0x00017C70 File Offset: 0x00015E70
[Token(Token = "0x17000702")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x6002D82")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "32")]
get
{
return default(bool);
}
}
/// Gets an object that can be used to synchronize access to the .
/// An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
// Token: 0x17000703 RID: 1795
// (get) Token: 0x06002D83 RID: 11651 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000703")]
object ICollection.SyncRoot
{
[Token(Token = "0x6002D83")]
[Address(RVA = "0x320B450", Offset = "0x320A250", VA = "0x18320B450", Slot = "31")]
get
{
return null;
}
}
/// Copies the elements of the to an , starting at a particular index.
/// The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
/// The zero-based index in at which copying begins.
///
/// is .
///
/// is less than zero.
///
/// is multidimensional.
/// -or-
/// does not have zero-based indexing.
/// -or-
/// The number of elements in the source is greater than the available space from to the end of the destination .
/// -or-
/// The type of the source cannot be cast automatically to the type of the destination .
// Token: 0x06002D84 RID: 11652 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D84")]
[Address(RVA = "0x3209070", Offset = "0x3207E70", VA = "0x183209070", Slot = "29")]
void ICollection.CopyTo(Array array, int index)
{
}
/// Gets a value indicating whether the has a fixed size.
///
/// if the has a fixed size; otherwise, . In the default implementation of , this property always returns .
// Token: 0x17000704 RID: 1796
// (get) Token: 0x06002D85 RID: 11653 RVA: 0x00017C88 File Offset: 0x00015E88
[Token(Token = "0x17000704")]
bool IList.IsFixedSize
{
[Token(Token = "0x6002D85")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "24")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the is read-only.
///
/// if the is read-only; otherwise, . In the default implementation of , this property always returns .
// Token: 0x17000705 RID: 1797
// (get) Token: 0x06002D86 RID: 11654 RVA: 0x00017CA0 File Offset: 0x00015EA0
[Token(Token = "0x17000705")]
bool IList.IsReadOnly
{
[Token(Token = "0x6002D86")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "23")]
get
{
return default(bool);
}
}
/// Gets the element at the specified index. A occurs if you try to set the item at the specified index.
/// The zero-based index of the element to get.
/// The element at the specified index.
///
/// is not a valid index in the .
/// Always thrown if the property is set.
// Token: 0x17000706 RID: 1798
[Token(Token = "0x17000706")]
object IList.this[int index]
{
[Token(Token = "0x6002D87")]
[Address(RVA = "0x320D7A0", Offset = "0x320C5A0", VA = "0x18320D7A0", Slot = "18")]
get
{
return null;
}
[Token(Token = "0x6002D88")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "19")]
set
{
}
}
/// Adds an item to the . This implementation always throws .
/// The to add to the .
/// The position into which the new element was inserted.
/// Always thrown.
// Token: 0x06002D89 RID: 11657 RVA: 0x00017CB8 File Offset: 0x00015EB8
[Token(Token = "0x6002D89")]
[Address(RVA = "0x320C640", Offset = "0x320B440", VA = "0x18320C640", Slot = "20")]
int IList.Add(object value)
{
return 0;
}
/// Removes all items from the . This implementation always throws .
/// Always thrown.
// Token: 0x06002D8A RID: 11658 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D8A")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "22")]
void IList.Clear()
{
}
// Token: 0x06002D8B RID: 11659 RVA: 0x00017CD0 File Offset: 0x00015ED0
[Token(Token = "0x6002D8B")]
[Address(RVA = "0x3204E60", Offset = "0x3203C60", VA = "0x183204E60")]
private static bool IsCompatibleObject(object value)
{
return default(bool);
}
/// Determines whether the contains a specific value.
/// The to locate in the .
///
/// if the is found in the ; otherwise, .
///
/// is not of the type specified for the generic type parameter .
// Token: 0x06002D8C RID: 11660 RVA: 0x00017CE8 File Offset: 0x00015EE8
[Token(Token = "0x6002D8C")]
[Address(RVA = "0x320C740", Offset = "0x320B540", VA = "0x18320C740", Slot = "21")]
bool IList.Contains(object value)
{
return default(bool);
}
/// Determines the index of a specific item in the .
/// The to locate in the .
/// The index of if found in the list; otherwise, -1.
///
/// is not of the type specified for the generic type parameter .
// Token: 0x06002D8D RID: 11661 RVA: 0x00017D00 File Offset: 0x00015F00
[Token(Token = "0x6002D8D")]
[Address(RVA = "0x320CE90", Offset = "0x320BC90", VA = "0x18320CE90", Slot = "25")]
int IList.IndexOf(object value)
{
return 0;
}
/// Inserts an item to the at the specified index. This implementation always throws .
/// The zero-based index at which should be inserted.
/// The to insert into the .
/// Always thrown.
// Token: 0x06002D8E RID: 11662 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D8E")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "26")]
void IList.Insert(int index, object value)
{
}
/// Removes the first occurrence of a specific object from the . This implementation always throws .
/// The to remove from the .
/// Always thrown.
// Token: 0x06002D8F RID: 11663 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D8F")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "27")]
void IList.Remove(object value)
{
}
/// Removes the item at the specified index. This implementation always throws .
/// The zero-based index of the item to remove.
/// Always thrown.
// Token: 0x06002D90 RID: 11664 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002D90")]
[Address(RVA = "0x32056A0", Offset = "0x32044A0", VA = "0x1832056A0", Slot = "28")]
void IList.RemoveAt(int index)
{
}
// Token: 0x040019E5 RID: 6629
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40019E5")]
private IList list;
// Token: 0x040019E6 RID: 6630
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40019E6")]
[NonSerialized]
private object _syncRoot;
}
}