m
This commit is contained in:
@@ -0,0 +1,460 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections.ObjectModel
|
||||
{
|
||||
/// <summary>Provides the base class for a generic collection.</summary>
|
||||
/// <typeparam name="T">The type of elements in the collection.</typeparam>
|
||||
// Token: 0x020005F1 RID: 1521
|
||||
[Token(Token = "0x20005F1")]
|
||||
[DebuggerTypeProxy(typeof(Mscorlib_CollectionDebugView<>))]
|
||||
[ComVisible(false)]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[Serializable]
|
||||
public class Collection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ObjectModel.Collection`1" /> class that is empty.</summary>
|
||||
// Token: 0x06002F5A RID: 12122 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F5A")]
|
||||
[Address(RVA = "0x29F85C0", Offset = "0x29F75C0", VA = "0x1829F85C0")]
|
||||
public Collection()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ObjectModel.Collection`1" /> class as a wrapper for the specified list.</summary>
|
||||
/// <param name="list">The list that is wrapped by the new collection.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="list" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002F5B RID: 12123 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F5B")]
|
||||
[Address(RVA = "0x341AF60", Offset = "0x3419F60", VA = "0x18341AF60")]
|
||||
public Collection(IList<T> list)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of elements actually contained in the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <returns>The number of elements actually contained in the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</returns>
|
||||
// Token: 0x1700076B RID: 1899
|
||||
// (get) Token: 0x06002F5C RID: 12124 RVA: 0x00019EF0 File Offset: 0x000180F0
|
||||
[Token(Token = "0x1700076B")]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x6002F5C")]
|
||||
[Address(RVA = "0x26FF5C0", Offset = "0x26FE5C0", VA = "0x1826FF5C0", Slot = "34")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a <see cref="T:System.Collections.Generic.IList`1" /> wrapper around the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <returns>A <see cref="T:System.Collections.Generic.IList`1" /> wrapper around the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</returns>
|
||||
// Token: 0x1700076C RID: 1900
|
||||
// (get) Token: 0x06002F5D RID: 12125 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700076C")]
|
||||
protected IList<T> Items
|
||||
{
|
||||
[Token(Token = "0x6002F5D")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <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.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x1700076D RID: 1901
|
||||
[Token(Token = "0x1700076D")]
|
||||
public T this[int index]
|
||||
{
|
||||
[Token(Token = "0x6002F5E")]
|
||||
[Address(RVA = "0x35C17F0", Offset = "0x35C07F0", VA = "0x1835C17F0", Slot = "33")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6002F5F")]
|
||||
[Address(RVA = "0x35C19A0", Offset = "0x35C09A0", VA = "0x1835C19A0", Slot = "5")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Adds an object to the end of the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <param name="item">The object to be added to the end of the <see cref="T:System.Collections.ObjectModel.Collection`1" />. The value can be <see langword="null" /> for reference types.</param>
|
||||
// Token: 0x06002F60 RID: 12128 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F60")]
|
||||
[Address(RVA = "0x35C02B0", Offset = "0x35BF2B0", VA = "0x1835C02B0", Slot = "11")]
|
||||
public void Add(T item)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes all elements from the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
// Token: 0x06002F61 RID: 12129 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F61")]
|
||||
[Address(RVA = "0x35C03F0", Offset = "0x35BF3F0", VA = "0x1835C03F0", Slot = "22")]
|
||||
public void Clear()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies the entire <see cref="T:System.Collections.ObjectModel.Collection`1" /> 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.ObjectModel.Collection`1" />. 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">The number of elements in the source <see cref="T:System.Collections.ObjectModel.Collection`1" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
|
||||
// Token: 0x06002F62 RID: 12130 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F62")]
|
||||
[Address(RVA = "0x35C0550", Offset = "0x35BF550", VA = "0x1835C0550", Slot = "14")]
|
||||
public void CopyTo(T[] array, int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether an element is in the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <param name="item">The object to locate in the <see cref="T:System.Collections.ObjectModel.Collection`1" />. The value can be <see langword="null" /> for reference types.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="item" /> is found in the <see cref="T:System.Collections.ObjectModel.Collection`1" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06002F63 RID: 12131 RVA: 0x00019F08 File Offset: 0x00018108
|
||||
[Token(Token = "0x6002F63")]
|
||||
[Address(RVA = "0x35C0480", Offset = "0x35BF480", VA = "0x1835C0480", Slot = "13")]
|
||||
public bool Contains(T item)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.Generic.IEnumerator`1" /> for the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</returns>
|
||||
// Token: 0x06002F64 RID: 12132 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002F64")]
|
||||
[Address(RVA = "0x35C05D0", Offset = "0x35BF5D0", VA = "0x1835C05D0", Slot = "16")]
|
||||
public IEnumerator<T> GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <param name="item">The object to locate in the <see cref="T:System.Collections.Generic.List`1" />. The value can be <see langword="null" /> for reference types.</param>
|
||||
/// <returns>The zero-based index of the first occurrence of <paramref name="item" /> within the entire <see cref="T:System.Collections.ObjectModel.Collection`1" />, if found; otherwise, -1.</returns>
|
||||
// Token: 0x06002F65 RID: 12133 RVA: 0x00019F20 File Offset: 0x00018120
|
||||
[Token(Token = "0x6002F65")]
|
||||
[Address(RVA = "0x35C0630", Offset = "0x35BF630", VA = "0x1835C0630", Slot = "6")]
|
||||
public int IndexOf(T item)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Inserts an element into the <see cref="T:System.Collections.ObjectModel.Collection`1" /> at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
|
||||
/// <param name="item">The object to insert. The value can be <see langword="null" /> for reference types.</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.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x06002F66 RID: 12134 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F66")]
|
||||
[Address(RVA = "0x35C0720", Offset = "0x35BF720", VA = "0x1835C0720", Slot = "7")]
|
||||
public void Insert(int index, T item)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
/// <param name="item">The object to remove from the <see cref="T:System.Collections.ObjectModel.Collection`1" />. The value can be <see langword="null" /> for reference types.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="item" /> is successfully removed; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="item" /> was not found in the original <see cref="T:System.Collections.ObjectModel.Collection`1" />.</returns>
|
||||
// Token: 0x06002F67 RID: 12135 RVA: 0x00019F38 File Offset: 0x00018138
|
||||
[Token(Token = "0x6002F67")]
|
||||
[Address(RVA = "0x35C0A50", Offset = "0x35BFA50", VA = "0x1835C0A50", Slot = "15")]
|
||||
public bool Remove(T item)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Removes the element at the specified index of the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</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.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x06002F68 RID: 12136 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F68")]
|
||||
[Address(RVA = "0x35C0890", Offset = "0x35BF890", VA = "0x1835C0890", Slot = "28")]
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes all elements from the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</summary>
|
||||
// Token: 0x06002F69 RID: 12137 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F69")]
|
||||
[Address(RVA = "0x35C0390", Offset = "0x35BF390", VA = "0x1835C0390", Slot = "35")]
|
||||
protected virtual void ClearItems()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Inserts an element into the <see cref="T:System.Collections.ObjectModel.Collection`1" /> at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
|
||||
/// <param name="item">The object to insert. The value can be <see langword="null" /> for reference types.</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.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x06002F6A RID: 12138 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F6A")]
|
||||
[Address(RVA = "0x35C06A0", Offset = "0x35BF6A0", VA = "0x1835C06A0", Slot = "36")]
|
||||
protected virtual void InsertItem(int index, T item)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the element at the specified index of the <see cref="T:System.Collections.ObjectModel.Collection`1" />.</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.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x06002F6B RID: 12139 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F6B")]
|
||||
[Address(RVA = "0x35C0980", Offset = "0x35BF980", VA = "0x1835C0980", Slot = "37")]
|
||||
protected virtual void RemoveItem(int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Replaces the element at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the element to replace.</param>
|
||||
/// <param name="item">The new value for the element at the specified index. The value can be <see langword="null" /> for reference types.</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.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x06002F6C RID: 12140 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F6C")]
|
||||
[Address(RVA = "0x35C0B40", Offset = "0x35BFB40", VA = "0x1835C0B40", Slot = "38")]
|
||||
protected virtual void SetItem(int index, T item)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700076E RID: 1902
|
||||
// (get) Token: 0x06002F6D RID: 12141 RVA: 0x00019F50 File Offset: 0x00018150
|
||||
[Token(Token = "0x1700076E")]
|
||||
bool ICollection<T>.IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6002F6D")]
|
||||
[Address(RVA = "0x35C0BC0", Offset = "0x35BFBC0", VA = "0x1835C0BC0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through a collection.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> that can be used to iterate through the collection.</returns>
|
||||
// Token: 0x06002F6E RID: 12142 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002F6E")]
|
||||
[Address(RVA = "0x35C10E0", Offset = "0x35C00E0", VA = "0x1835C10E0", Slot = "17")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.Collection`1" />, this property always returns <see langword="false" />.</returns>
|
||||
// Token: 0x1700076F RID: 1903
|
||||
// (get) Token: 0x06002F6F RID: 12143 RVA: 0x00019F68 File Offset: 0x00018168
|
||||
[Token(Token = "0x1700076F")]
|
||||
bool ICollection.IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6002F6F")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "32")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
|
||||
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.Collection`1" />, this property always returns the current instance.</returns>
|
||||
// Token: 0x17000770 RID: 1904
|
||||
// (get) Token: 0x06002F70 RID: 12144 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000770")]
|
||||
object ICollection.SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6002F70")]
|
||||
[Address(RVA = "0x35C1030", Offset = "0x35C0030", VA = "0x1835C1030", Slot = "31")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Copies the elements of the <see cref="T:System.Collections.ICollection" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</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.ICollection" />. 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-
|
||||
/// <paramref name="array" /> does not have zero-based indexing.
|
||||
/// -or-
|
||||
/// The number of elements in the source <see cref="T:System.Collections.ICollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.
|
||||
/// -or-
|
||||
/// The type of the source <see cref="T:System.Collections.ICollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
||||
// Token: 0x06002F71 RID: 12145 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F71")]
|
||||
[Address(RVA = "0x35C0C20", Offset = "0x35BFC20", VA = "0x1835C0C20", Slot = "29")]
|
||||
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 not a valid index in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The property is set and <paramref name="value" /> is of a type that is not assignable to the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x17000771 RID: 1905
|
||||
[Token(Token = "0x17000771")]
|
||||
object IList.this[int index]
|
||||
{
|
||||
[Token(Token = "0x6002F72")]
|
||||
[Address(RVA = "0x35C17F0", Offset = "0x35C07F0", VA = "0x1835C17F0", Slot = "18")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6002F73")]
|
||||
[Address(RVA = "0x35C1850", Offset = "0x35C0850", VA = "0x1835C1850", Slot = "19")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> is read-only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> is read-only; otherwise, <see langword="false" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.Collection`1" />, this property always returns <see langword="false" />.</returns>
|
||||
// Token: 0x17000772 RID: 1906
|
||||
// (get) Token: 0x06002F74 RID: 12148 RVA: 0x00019F80 File Offset: 0x00018180
|
||||
[Token(Token = "0x17000772")]
|
||||
bool IList.IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6002F74")]
|
||||
[Address(RVA = "0x35C0BC0", Offset = "0x35BFBC0", VA = "0x1835C0BC0", Slot = "23")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.Collection`1" />, this property always returns <see langword="false" />.</returns>
|
||||
// Token: 0x17000773 RID: 1907
|
||||
// (get) Token: 0x06002F75 RID: 12149 RVA: 0x00019F98 File Offset: 0x00018198
|
||||
[Token(Token = "0x17000773")]
|
||||
bool IList.IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6002F75")]
|
||||
[Address(RVA = "0x35C1740", Offset = "0x35C0740", VA = "0x1835C1740", Slot = "24")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Adds an item to the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to add to the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The position into which the new element was inserted.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is of a type that is not assignable to the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x06002F76 RID: 12150 RVA: 0x00019FB0 File Offset: 0x000181B0
|
||||
[Token(Token = "0x6002F76")]
|
||||
[Address(RVA = "0x35C1130", Offset = "0x35C0130", VA = "0x1835C1130", Slot = "20")]
|
||||
int IList.Add(object value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the <see cref="T:System.Collections.IList" /> contains a specific value.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Object" /> is found in the <see cref="T:System.Collections.IList" />; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is of a type that is not assignable to the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x06002F77 RID: 12151 RVA: 0x00019FC8 File Offset: 0x000181C8
|
||||
[Token(Token = "0x6002F77")]
|
||||
[Address(RVA = "0x35C12E0", Offset = "0x35C02E0", VA = "0x1835C12E0", Slot = "21")]
|
||||
bool IList.Contains(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines the index of a specific item in the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is of a type that is not assignable to the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x06002F78 RID: 12152 RVA: 0x00019FE0 File Offset: 0x000181E0
|
||||
[Token(Token = "0x6002F78")]
|
||||
[Address(RVA = "0x35C13B0", Offset = "0x35C03B0", VA = "0x1835C13B0", Slot = "25")]
|
||||
int IList.IndexOf(object value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Inserts an item into the <see cref="T:System.Collections.IList" /> 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 into the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is of a type that is not assignable to the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x06002F79 RID: 12153 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F79")]
|
||||
[Address(RVA = "0x35C1490", Offset = "0x35C0490", VA = "0x1835C1490", Slot = "26")]
|
||||
void IList.Insert(int index, object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to remove from the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is of a type that is not assignable to the <see cref="T:System.Collections.IList" />.</exception>
|
||||
// Token: 0x06002F7A RID: 12154 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F7A")]
|
||||
[Address(RVA = "0x35C1630", Offset = "0x35C0630", VA = "0x1835C1630", Slot = "27")]
|
||||
void IList.Remove(object value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F7B RID: 12155 RVA: 0x00019FF8 File Offset: 0x000181F8
|
||||
[Token(Token = "0x6002F7B")]
|
||||
[Address(RVA = "0x35C0820", Offset = "0x35BF820", VA = "0x1835C0820")]
|
||||
private static bool IsCompatibleObject(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04001AA2 RID: 6818
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA2")]
|
||||
private IList<T> items;
|
||||
|
||||
// Token: 0x04001AA3 RID: 6819
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA3")]
|
||||
[NonSerialized]
|
||||
private object _syncRoot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections.ObjectModel
|
||||
{
|
||||
/// <summary>Provides the abstract base class for a collection whose keys are embedded in the values.</summary>
|
||||
/// <typeparam name="TKey">The type of keys in the collection.</typeparam>
|
||||
/// <typeparam name="TItem">The type of items in the collection.</typeparam>
|
||||
// Token: 0x020005F2 RID: 1522
|
||||
[Token(Token = "0x20005F2")]
|
||||
[DebuggerTypeProxy(typeof(Mscorlib_KeyedCollectionDebugView<, >))]
|
||||
[ComVisible(false)]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[Serializable]
|
||||
public abstract class KeyedCollection<TKey, TItem> : Collection<TItem>
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" /> class that uses the default equality comparer.</summary>
|
||||
// Token: 0x06002F7C RID: 12156 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F7C")]
|
||||
[Address(RVA = "0x3051D70", Offset = "0x3050D70", VA = "0x183051D70")]
|
||||
protected KeyedCollection()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" /> class that uses the specified equality comparer.</summary>
|
||||
/// <param name="comparer">The implementation of the <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> generic interface to use when comparing keys, or <see langword="null" /> to use the default equality comparer for the type of the key, obtained from <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" />.</param>
|
||||
// Token: 0x06002F7D RID: 12157 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F7D")]
|
||||
[Address(RVA = "0x2F027C0", Offset = "0x2F017C0", VA = "0x182F027C0")]
|
||||
protected KeyedCollection(IEqualityComparer<TKey> comparer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" /> class that uses the specified equality comparer and creates a lookup dictionary when the specified threshold is exceeded.</summary>
|
||||
/// <param name="comparer">The implementation of the <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> generic interface to use when comparing keys, or <see langword="null" /> to use the default equality comparer for the type of the key, obtained from <see cref="P:System.Collections.Generic.EqualityComparer`1.Default" />.</param>
|
||||
/// <param name="dictionaryCreationThreshold">The number of elements the collection can hold without creating a lookup dictionary (0 creates the lookup dictionary when the first item is added), or -1 to specify that a lookup dictionary is never created.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="dictionaryCreationThreshold" /> is less than -1.</exception>
|
||||
// Token: 0x06002F7E RID: 12158 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F7E")]
|
||||
[Address(RVA = "0x35C4170", Offset = "0x35C3170", VA = "0x1835C4170")]
|
||||
protected KeyedCollection(IEqualityComparer<TKey> comparer, int dictionaryCreationThreshold)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the element with the specified key.</summary>
|
||||
/// <param name="key">The key of the element to get.</param>
|
||||
/// <returns>The element with the specified key. If an element with the specified key is not found, an exception is thrown.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Collections.Generic.KeyNotFoundException">An element with the specified key does not exist in the collection.</exception>
|
||||
// Token: 0x17000774 RID: 1908
|
||||
[Token(Token = "0x17000774")]
|
||||
public TItem this[TKey key]
|
||||
{
|
||||
[Token(Token = "0x6002F7F")]
|
||||
[Address(RVA = "0x35C4210", Offset = "0x35C3210", VA = "0x1835C4210")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the collection contains an element with the specified key.</summary>
|
||||
/// <param name="key">The key to locate in the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" /> contains an element with the specified key; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="key" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002F80 RID: 12160 RVA: 0x0001A010 File Offset: 0x00018210
|
||||
[Token(Token = "0x6002F80")]
|
||||
[Address(RVA = "0x35C3920", Offset = "0x35C2920", VA = "0x1835C3920")]
|
||||
public bool Contains(TKey key)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets the lookup dictionary of the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" />.</summary>
|
||||
/// <returns>The lookup dictionary of the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" />, if it exists; otherwise, <see langword="null" />.</returns>
|
||||
// Token: 0x17000775 RID: 1909
|
||||
// (get) Token: 0x06002F81 RID: 12161 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000775")]
|
||||
protected IDictionary<TKey, TItem> Dictionary
|
||||
{
|
||||
[Token(Token = "0x6002F81")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Removes all elements from the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" />.</summary>
|
||||
// Token: 0x06002F82 RID: 12162 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F82")]
|
||||
[Address(RVA = "0x35C38C0", Offset = "0x35C28C0", VA = "0x1835C38C0", Slot = "35")]
|
||||
protected override void ClearItems()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When implemented in a derived class, extracts the key from the specified element.</summary>
|
||||
/// <param name="item">The element from which to extract the key.</param>
|
||||
/// <returns>The key for the specified element.</returns>
|
||||
// Token: 0x06002F83 RID: 12163
|
||||
[Token(Token = "0x6002F83")]
|
||||
[Address(Slot = "39")]
|
||||
protected abstract TKey GetKeyForItem(TItem item);
|
||||
|
||||
/// <summary>Inserts an element into the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" /> at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index at which <paramref name="item" /> should be inserted.</param>
|
||||
/// <param name="item">The object to insert.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is less than 0.
|
||||
/// -or-
|
||||
/// <paramref name="index" /> is greater than <see cref="P:System.Collections.ObjectModel.Collection`1.Count" />.</exception>
|
||||
// Token: 0x06002F84 RID: 12164 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F84")]
|
||||
[Address(RVA = "0x35C3DE0", Offset = "0x35C2DE0", VA = "0x1835C3DE0", Slot = "36")]
|
||||
protected override void InsertItem(int index, TItem item)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the element at the specified index of the <see cref="T:System.Collections.ObjectModel.KeyedCollection`2" />.</summary>
|
||||
/// <param name="index">The index of the element to remove.</param>
|
||||
// Token: 0x06002F85 RID: 12165 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F85")]
|
||||
[Address(RVA = "0x35C3E80", Offset = "0x35C2E80", VA = "0x1835C3E80", Slot = "37")]
|
||||
protected override void RemoveItem(int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Replaces the item at the specified index with the specified item.</summary>
|
||||
/// <param name="index">The zero-based index of the item to be replaced.</param>
|
||||
/// <param name="item">The new item.</param>
|
||||
// Token: 0x06002F86 RID: 12166 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F86")]
|
||||
[Address(RVA = "0x35C3FB0", Offset = "0x35C2FB0", VA = "0x1835C3FB0", Slot = "38")]
|
||||
protected override void SetItem(int index, TItem item)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F87 RID: 12167 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F87")]
|
||||
[Address(RVA = "0x35C3800", Offset = "0x35C2800", VA = "0x1835C3800")]
|
||||
private void AddKey(TKey key, TItem item)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F88 RID: 12168 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F88")]
|
||||
[Address(RVA = "0x35C3B90", Offset = "0x35C2B90", VA = "0x1835C3B90")]
|
||||
private void CreateDictionary()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F89 RID: 12169 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F89")]
|
||||
[Address(RVA = "0x35C3F80", Offset = "0x35C2F80", VA = "0x1835C3F80")]
|
||||
private void RemoveKey(TKey key)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001AA4 RID: 6820
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA4")]
|
||||
private IEqualityComparer<TKey> comparer;
|
||||
|
||||
// Token: 0x04001AA5 RID: 6821
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA5")]
|
||||
private Dictionary<TKey, TItem> dict;
|
||||
|
||||
// Token: 0x04001AA6 RID: 6822
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA6")]
|
||||
private int keyCount;
|
||||
|
||||
// Token: 0x04001AA7 RID: 6823
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA7")]
|
||||
private int threshold;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,394 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections.ObjectModel
|
||||
{
|
||||
/// <summary>Provides the base class for a generic read-only collection.</summary>
|
||||
/// <typeparam name="T">The type of elements in the collection.</typeparam>
|
||||
// Token: 0x020005F3 RID: 1523
|
||||
[Token(Token = "0x20005F3")]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[DebuggerTypeProxy(typeof(Mscorlib_CollectionDebugView<>))]
|
||||
[ComVisible(false)]
|
||||
[Serializable]
|
||||
public class ReadOnlyCollection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> class that is a read-only wrapper around the specified list.</summary>
|
||||
/// <param name="list">The list to wrap.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="list" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002F8A RID: 12170 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F8A")]
|
||||
[Address(RVA = "0x341AF60", Offset = "0x3419F60", VA = "0x18341AF60")]
|
||||
public ReadOnlyCollection(IList<T> list)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of elements contained in the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> instance.</summary>
|
||||
/// <returns>The number of elements contained in the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> instance.</returns>
|
||||
// Token: 0x17000776 RID: 1910
|
||||
// (get) Token: 0x06002F8B RID: 12171 RVA: 0x0001A028 File Offset: 0x00018228
|
||||
[Token(Token = "0x17000776")]
|
||||
public int Count
|
||||
{
|
||||
[Token(Token = "0x6002F8B")]
|
||||
[Address(RVA = "0x341AFA0", Offset = "0x3419FA0", VA = "0x18341AFA0", Slot = "34")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the element at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the element to get.</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.ObjectModel.ReadOnlyCollection`1.Count" />.</exception>
|
||||
// Token: 0x17000777 RID: 1911
|
||||
[Token(Token = "0x17000777")]
|
||||
public T this[int index]
|
||||
{
|
||||
[Token(Token = "0x6002F8C")]
|
||||
[Address(RVA = "0x35C5190", Offset = "0x35C4190", VA = "0x1835C5190", Slot = "33")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Determines whether an element is in the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />.</summary>
|
||||
/// <param name="value">The object to locate in the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />. The value can be <see langword="null" /> for reference types.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> is found in the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06002F8D RID: 12173 RVA: 0x0001A040 File Offset: 0x00018240
|
||||
[Token(Token = "0x6002F8D")]
|
||||
[Address(RVA = "0x34168E0", Offset = "0x34158E0", VA = "0x1834168E0", Slot = "13")]
|
||||
public bool Contains(T value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Copies the entire <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> 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.ObjectModel.ReadOnlyCollection`1" />. 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">The number of elements in the source <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
|
||||
// Token: 0x06002F8E RID: 12174 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F8E")]
|
||||
[Address(RVA = "0x3416D70", Offset = "0x3415D70", VA = "0x183416D70", Slot = "14")]
|
||||
public void CopyTo(T[] array, int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.Generic.IEnumerator`1" /> for the <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />.</returns>
|
||||
// Token: 0x06002F8F RID: 12175 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002F8F")]
|
||||
[Address(RVA = "0x26FF5C0", Offset = "0x26FE5C0", VA = "0x1826FF5C0", Slot = "16")]
|
||||
public IEnumerator<T> GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Searches for the specified object and returns the zero-based index of the first occurrence within the entire <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />.</summary>
|
||||
/// <param name="value">The object to locate in the <see cref="T:System.Collections.Generic.List`1" />. The value can be <see langword="null" /> for reference types.</param>
|
||||
/// <returns>The zero-based index of the first occurrence of <paramref name="item" /> within the entire <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />, if found; otherwise, -1.</returns>
|
||||
// Token: 0x06002F90 RID: 12176 RVA: 0x0001A058 File Offset: 0x00018258
|
||||
[Token(Token = "0x6002F90")]
|
||||
[Address(RVA = "0x3416DF0", Offset = "0x3415DF0", VA = "0x183416DF0", Slot = "6")]
|
||||
public int IndexOf(T value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x17000778 RID: 1912
|
||||
// (get) Token: 0x06002F91 RID: 12177 RVA: 0x0001A070 File Offset: 0x00018270
|
||||
[Token(Token = "0x17000778")]
|
||||
bool ICollection<T>.IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6002F91")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000779 RID: 1913
|
||||
[Token(Token = "0x17000779")]
|
||||
T IList<T>.this[int index]
|
||||
{
|
||||
[Token(Token = "0x6002F92")]
|
||||
[Address(RVA = "0x3417B10", Offset = "0x3416B10", VA = "0x183417B10", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6002F93")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "5")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06002F94 RID: 12180 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F94")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "11")]
|
||||
void ICollection<T>.Add(T value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F95 RID: 12181 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F95")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "12")]
|
||||
void ICollection<T>.Clear()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F96 RID: 12182 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F96")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "7")]
|
||||
void IList<T>.Insert(int index, T value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002F97 RID: 12183 RVA: 0x0001A088 File Offset: 0x00018288
|
||||
[Token(Token = "0x6002F97")]
|
||||
[Address(RVA = "0x34177D0", Offset = "0x34167D0", VA = "0x1834177D0", Slot = "15")]
|
||||
bool ICollection<T>.Remove(T value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002F98 RID: 12184 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F98")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "8")]
|
||||
void IList<T>.RemoveAt(int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerator that iterates through a collection.</summary>
|
||||
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> that can be used to iterate through the collection.</returns>
|
||||
// Token: 0x06002F99 RID: 12185 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002F99")]
|
||||
[Address(RVA = "0x35C89F0", Offset = "0x35C79F0", VA = "0x1835C89F0", Slot = "17")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe).</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if access to the <see cref="T:System.Collections.ICollection" /> is synchronized (thread safe); otherwise, <see langword="false" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />, this property always returns <see langword="false" />.</returns>
|
||||
// Token: 0x1700077A RID: 1914
|
||||
// (get) Token: 0x06002F9A RID: 12186 RVA: 0x0001A0A0 File Offset: 0x000182A0
|
||||
[Token(Token = "0x1700077A")]
|
||||
bool ICollection.IsSynchronized
|
||||
{
|
||||
[Token(Token = "0x6002F9A")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "32")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />.</summary>
|
||||
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.ICollection" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />, this property always returns the current instance.</returns>
|
||||
// Token: 0x1700077B RID: 1915
|
||||
// (get) Token: 0x06002F9B RID: 12187 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700077B")]
|
||||
object ICollection.SyncRoot
|
||||
{
|
||||
[Token(Token = "0x6002F9B")]
|
||||
[Address(RVA = "0x35C8220", Offset = "0x35C7220", VA = "0x1835C8220", Slot = "31")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Copies the elements of the <see cref="T:System.Collections.ICollection" /> to an <see cref="T:System.Array" />, starting at a particular <see cref="T:System.Array" /> index.</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.ICollection" />. 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-
|
||||
/// <paramref name="array" /> does not have zero-based indexing.
|
||||
/// -or-
|
||||
/// The number of elements in the source <see cref="T:System.Collections.ICollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.
|
||||
/// -or-
|
||||
/// The type of the source <see cref="T:System.Collections.ICollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
|
||||
// Token: 0x06002F9C RID: 12188 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002F9C")]
|
||||
[Address(RVA = "0x35C70A0", Offset = "0x35C60A0", VA = "0x1835C70A0", Slot = "29")]
|
||||
void ICollection.CopyTo(Array array, int index)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> has a fixed size.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> has a fixed size; otherwise, <see langword="false" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />, this property always returns <see langword="true" />.</returns>
|
||||
// Token: 0x1700077C RID: 1916
|
||||
// (get) Token: 0x06002F9D RID: 12189 RVA: 0x0001A0B8 File Offset: 0x000182B8
|
||||
[Token(Token = "0x1700077C")]
|
||||
bool IList.IsFixedSize
|
||||
{
|
||||
[Token(Token = "0x6002F9D")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "24")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.IList" /> is read-only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Collections.IList" /> is read-only; otherwise, <see langword="false" />. In the default implementation of <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />, this property always returns <see langword="true" />.</returns>
|
||||
// Token: 0x1700077D RID: 1917
|
||||
// (get) Token: 0x06002F9E RID: 12190 RVA: 0x0001A0D0 File Offset: 0x000182D0
|
||||
[Token(Token = "0x1700077D")]
|
||||
bool IList.IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x6002F9E")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "23")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the element at the specified index. A <see cref="T:System.NotSupportedException" /> occurs if you try to set the item at the specified index.</summary>
|
||||
/// <param name="index">The zero-based index of the element to get.</param>
|
||||
/// <returns>The element at the specified index.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> is not a valid index in the <see cref="T:System.Collections.IList" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">Always thrown if the property is set.</exception>
|
||||
// Token: 0x1700077E RID: 1918
|
||||
[Token(Token = "0x1700077E")]
|
||||
object IList.this[int index]
|
||||
{
|
||||
[Token(Token = "0x6002F9F")]
|
||||
[Address(RVA = "0x341AE60", Offset = "0x3419E60", VA = "0x18341AE60", Slot = "18")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6002FA0")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "19")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Adds an item to the <see cref="T:System.Collections.IList" />. This implementation always throws <see cref="T:System.NotSupportedException" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to add to the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The position into which the new element was inserted.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">Always thrown.</exception>
|
||||
// Token: 0x06002FA1 RID: 12193 RVA: 0x0001A0E8 File Offset: 0x000182E8
|
||||
[Token(Token = "0x6002FA1")]
|
||||
[Address(RVA = "0x341A100", Offset = "0x3419100", VA = "0x18341A100", Slot = "20")]
|
||||
int IList.Add(object value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Removes all items from the <see cref="T:System.Collections.IList" />. This implementation always throws <see cref="T:System.NotSupportedException" />.</summary>
|
||||
/// <exception cref="T:System.NotSupportedException">Always thrown.</exception>
|
||||
// Token: 0x06002FA2 RID: 12194 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002FA2")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "22")]
|
||||
void IList.Clear()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002FA3 RID: 12195 RVA: 0x0001A100 File Offset: 0x00018300
|
||||
[Token(Token = "0x6002FA3")]
|
||||
[Address(RVA = "0x3417380", Offset = "0x3416380", VA = "0x183417380")]
|
||||
private static bool IsCompatibleObject(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the <see cref="T:System.Collections.IList" /> contains a specific value.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <see cref="T:System.Object" /> is found in the <see cref="T:System.Collections.IList" />; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is not of the type specified for the generic type parameter <paramref name="T" />.</exception>
|
||||
// Token: 0x06002FA4 RID: 12196 RVA: 0x0001A118 File Offset: 0x00018318
|
||||
[Token(Token = "0x6002FA4")]
|
||||
[Address(RVA = "0x341A410", Offset = "0x3419410", VA = "0x18341A410", Slot = "21")]
|
||||
bool IList.Contains(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines the index of a specific item in the <see cref="T:System.Collections.IList" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to locate in the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <returns>The index of <paramref name="value" /> if found in the list; otherwise, -1.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="value" /> is not of the type specified for the generic type parameter <paramref name="T" />.</exception>
|
||||
// Token: 0x06002FA5 RID: 12197 RVA: 0x0001A130 File Offset: 0x00018330
|
||||
[Token(Token = "0x6002FA5")]
|
||||
[Address(RVA = "0x341A990", Offset = "0x3419990", VA = "0x18341A990", Slot = "25")]
|
||||
int IList.IndexOf(object value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Inserts an item to the <see cref="T:System.Collections.IList" /> at the specified index. This implementation always throws <see cref="T:System.NotSupportedException" />.</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 into the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">Always thrown.</exception>
|
||||
// Token: 0x06002FA6 RID: 12198 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002FA6")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "26")]
|
||||
void IList.Insert(int index, object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the first occurrence of a specific object from the <see cref="T:System.Collections.IList" />. This implementation always throws <see cref="T:System.NotSupportedException" />.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to remove from the <see cref="T:System.Collections.IList" />.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">Always thrown.</exception>
|
||||
// Token: 0x06002FA7 RID: 12199 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002FA7")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "27")]
|
||||
void IList.Remove(object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Removes the <see cref="T:System.Collections.IList" /> item at the specified index. This implementation always throws <see cref="T:System.NotSupportedException" />.</summary>
|
||||
/// <param name="index">The zero-based index of the item to remove.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">Always thrown.</exception>
|
||||
// Token: 0x06002FA8 RID: 12200 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002FA8")]
|
||||
[Address(RVA = "0x34177C0", Offset = "0x34167C0", VA = "0x1834177C0", Slot = "28")]
|
||||
void IList.RemoveAt(int index)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001AA8 RID: 6824
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA8")]
|
||||
private IList<T> list;
|
||||
|
||||
// Token: 0x04001AA9 RID: 6825
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001AA9")]
|
||||
[NonSerialized]
|
||||
private object _syncRoot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Collections.ObjectModel
|
||||
{
|
||||
/// <summary>Represents a read-only, generic collection of key/value pairs.</summary>
|
||||
/// <typeparam name="TKey">The type of keys in the dictionary.</typeparam>
|
||||
/// <typeparam name="TValue">The type of values in the dictionary.</typeparam>
|
||||
// Token: 0x020005F4 RID: 1524
|
||||
[Token(Token = "0x20005F4")]
|
||||
[DebuggerDisplay("Count = {Count}")]
|
||||
[DebuggerTypeProxy(typeof(Mscorlib_DictionaryDebugView<, >))]
|
||||
[DefaultMember("Item")]
|
||||
[Serializable]
|
||||
public class ReadOnlyDictionary<TKey, TValue>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user