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

538 lines
20 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Collections.Specialized
{
/// <summary>Implements <see langword="IDictionary" /> using a singly linked list. Recommended for collections that typically include fewer than 10 items.</summary>
// Token: 0x02000330 RID: 816
[Token(Token = "0x2000330")]
[Serializable]
public class ListDictionary : IDictionary, ICollection, IEnumerable
{
/// <summary>Creates an empty <see cref="T:System.Collections.Specialized.ListDictionary" /> using the default comparer.</summary>
// Token: 0x06001533 RID: 5427 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001533")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public ListDictionary()
{
}
/// <summary>Creates an empty <see cref="T:System.Collections.Specialized.ListDictionary" /> using the specified comparer.</summary>
/// <param name="comparer">The <see cref="T:System.Collections.IComparer" /> to use to determine whether two keys are equal.
/// -or-
/// <see langword="null" /> to use the default comparer, which is each key's implementation of <see cref="M:System.Object.Equals(System.Object)" />.</param>
// Token: 0x06001534 RID: 5428 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001534")]
[Address(RVA = "0x627550", Offset = "0x626550", VA = "0x180627550")]
public ListDictionary(IComparer comparer)
{
}
/// <summary>Gets or sets the value associated with the specified key.</summary>
/// <param name="key">The key whose value to get or set.</param>
/// <returns>The value associated with the specified key. If the specified key is not found, attempting to get it returns <see langword="null" />, and attempting to set it creates a new entry using the specified key.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x17000452 RID: 1106
[Token(Token = "0x17000452")]
public object this[object key]
{
[Token(Token = "0x6001535")]
[Address(RVA = "0xB9F150", Offset = "0xB9E150", VA = "0x180B9F150", Slot = "4")]
get
{
return null;
}
[Token(Token = "0x6001536")]
[Address(RVA = "0xB9F3D0", Offset = "0xB9E3D0", VA = "0x180B9F3D0", Slot = "5")]
set
{
}
}
/// <summary>Gets the number of key/value pairs contained in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <returns>The number of key/value pairs contained in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</returns>
// Token: 0x17000453 RID: 1107
// (get) Token: 0x06001537 RID: 5431 RVA: 0x00009798 File Offset: 0x00007998
[Token(Token = "0x17000453")]
public int Count
{
[Token(Token = "0x6001537")]
[Address(RVA = "0x497590", Offset = "0x496590", VA = "0x180497590", Slot = "16")]
get
{
return 0;
}
}
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> containing the keys in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> containing the keys in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</returns>
// Token: 0x17000454 RID: 1108
// (get) Token: 0x06001538 RID: 5432 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000454")]
public ICollection Keys
{
[Token(Token = "0x6001538")]
[Address(RVA = "0xB9F2A0", Offset = "0xB9E2A0", VA = "0x180B9F2A0", Slot = "6")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.Specialized.ListDictionary" /> is read-only.</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x17000455 RID: 1109
// (get) Token: 0x06001539 RID: 5433 RVA: 0x000097B0 File Offset: 0x000079B0
[Token(Token = "0x17000455")]
public bool IsReadOnly
{
[Token(Token = "0x6001539")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "11")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.Specialized.ListDictionary" /> has a fixed size.</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x17000456 RID: 1110
// (get) Token: 0x0600153A RID: 5434 RVA: 0x000097C8 File Offset: 0x000079C8
[Token(Token = "0x17000456")]
public bool IsFixedSize
{
[Token(Token = "0x600153A")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "12")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Collections.Specialized.ListDictionary" /> is synchronized (thread safe).</summary>
/// <returns>This property always returns <see langword="false" />.</returns>
// Token: 0x17000457 RID: 1111
// (get) Token: 0x0600153B RID: 5435 RVA: 0x000097E0 File Offset: 0x000079E0
[Token(Token = "0x17000457")]
public bool IsSynchronized
{
[Token(Token = "0x600153B")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "18")]
get
{
return default(bool);
}
}
/// <summary>Gets an object that can be used to synchronize access to the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <returns>An object that can be used to synchronize access to the <see cref="T:System.Collections.Specialized.ListDictionary" />.</returns>
// Token: 0x17000458 RID: 1112
// (get) Token: 0x0600153C RID: 5436 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000458")]
public object SyncRoot
{
[Token(Token = "0x600153C")]
[Address(RVA = "0xB9F300", Offset = "0xB9E300", VA = "0x180B9F300", Slot = "17")]
get
{
return null;
}
}
/// <summary>Gets an <see cref="T:System.Collections.ICollection" /> containing the values in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> containing the values in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</returns>
// Token: 0x17000459 RID: 1113
// (get) Token: 0x0600153D RID: 5437 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000459")]
public ICollection Values
{
[Token(Token = "0x600153D")]
[Address(RVA = "0xB9F370", Offset = "0xB9E370", VA = "0x180B9F370", Slot = "7")]
get
{
return null;
}
}
/// <summary>Adds an entry with the specified key and value into the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <param name="key">The key of the entry to add.</param>
/// <param name="value">The value of the entry to add. The value can be <see langword="null" />.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">An entry with the same key already exists in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</exception>
// Token: 0x0600153E RID: 5438 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600153E")]
[Address(RVA = "0xB9EAF0", Offset = "0xB9DAF0", VA = "0x180B9EAF0", Slot = "9")]
public void Add(object key, object value)
{
}
/// <summary>Removes all entries from the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
// Token: 0x0600153F RID: 5439 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600153F")]
[Address(RVA = "0xB9EC90", Offset = "0xB9DC90", VA = "0x180B9EC90", Slot = "10")]
public void Clear()
{
}
/// <summary>Determines whether the <see cref="T:System.Collections.Specialized.ListDictionary" /> contains a specific key.</summary>
/// <param name="key">The key to locate in the <see cref="T:System.Collections.Specialized.ListDictionary" />.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Collections.Specialized.ListDictionary" /> contains an entry with the specified key; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x06001540 RID: 5440 RVA: 0x000097F8 File Offset: 0x000079F8
[Token(Token = "0x6001540")]
[Address(RVA = "0xB9ECA0", Offset = "0xB9DCA0", VA = "0x180B9ECA0", Slot = "8")]
public bool Contains(object key)
{
return default(bool);
}
/// <summary>Copies the <see cref="T:System.Collections.Specialized.ListDictionary" /> entries to a one-dimensional <see cref="T:System.Array" /> instance at the specified index.</summary>
/// <param name="array">The one-dimensional <see cref="T:System.Array" /> that is the destination of the <see cref="T:System.Collections.DictionaryEntry" /> objects copied from <see cref="T:System.Collections.Specialized.ListDictionary" />. 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.Specialized.ListDictionary" /> 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.Specialized.ListDictionary" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
// Token: 0x06001541 RID: 5441 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001541")]
[Address(RVA = "0xB9EDB0", Offset = "0xB9DDB0", VA = "0x180B9EDB0", Slot = "15")]
public void CopyTo(Array array, int index)
{
}
/// <summary>Returns an <see cref="T:System.Collections.IDictionaryEnumerator" /> that iterates through the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.IDictionaryEnumerator" /> for the <see cref="T:System.Collections.Specialized.ListDictionary" />.</returns>
// Token: 0x06001542 RID: 5442 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001542")]
[Address(RVA = "0xB9EF40", Offset = "0xB9DF40", VA = "0x180B9EF40", Slot = "13")]
public IDictionaryEnumerator GetEnumerator()
{
return null;
}
/// <summary>Returns an <see cref="T:System.Collections.IEnumerator" /> that iterates through the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> for the <see cref="T:System.Collections.Specialized.ListDictionary" />.</returns>
// Token: 0x06001543 RID: 5443 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001543")]
[Address(RVA = "0xB9F0E0", Offset = "0xB9E0E0", VA = "0x180B9F0E0", Slot = "19")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
/// <summary>Removes the entry with the specified key from the <see cref="T:System.Collections.Specialized.ListDictionary" />.</summary>
/// <param name="key">The key of the entry to remove.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x06001544 RID: 5444 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001544")]
[Address(RVA = "0xB9EFB0", Offset = "0xB9DFB0", VA = "0x180B9EFB0", Slot = "14")]
public void Remove(object key)
{
}
// Token: 0x04000E05 RID: 3589
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E05")]
private ListDictionary.DictionaryNode head;
// Token: 0x04000E06 RID: 3590
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E06")]
private int version;
// Token: 0x04000E07 RID: 3591
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4000E07")]
private int count;
// Token: 0x04000E08 RID: 3592
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E08")]
private IComparer comparer;
// Token: 0x04000E09 RID: 3593
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000E09")]
[NonSerialized]
private object _syncRoot;
// Token: 0x02000331 RID: 817
[Token(Token = "0x2000331")]
private class NodeEnumerator : IDictionaryEnumerator, IEnumerator
{
// Token: 0x06001545 RID: 5445 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001545")]
[Address(RVA = "0xBA2150", Offset = "0xBA1150", VA = "0x180BA2150")]
public NodeEnumerator(ListDictionary list)
{
}
// Token: 0x1700045A RID: 1114
// (get) Token: 0x06001546 RID: 5446 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700045A")]
public object Current
{
[Token(Token = "0x6001546")]
[Address(RVA = "0xBA21A0", Offset = "0xBA11A0", VA = "0x180BA21A0", Slot = "8")]
get
{
return null;
}
}
// Token: 0x1700045B RID: 1115
// (get) Token: 0x06001547 RID: 5447 RVA: 0x00009810 File Offset: 0x00007A10
[Token(Token = "0x1700045B")]
public DictionaryEntry Entry
{
[Token(Token = "0x6001547")]
[Address(RVA = "0xBA2280", Offset = "0xBA1280", VA = "0x180BA2280", Slot = "6")]
get
{
return default(DictionaryEntry);
}
}
// Token: 0x1700045C RID: 1116
// (get) Token: 0x06001548 RID: 5448 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700045C")]
public object Key
{
[Token(Token = "0x6001548")]
[Address(RVA = "0xBA2320", Offset = "0xBA1320", VA = "0x180BA2320", Slot = "4")]
get
{
return null;
}
}
// Token: 0x1700045D RID: 1117
// (get) Token: 0x06001549 RID: 5449 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700045D")]
public object Value
{
[Token(Token = "0x6001549")]
[Address(RVA = "0xBA23A0", Offset = "0xBA13A0", VA = "0x180BA23A0", Slot = "5")]
get
{
return null;
}
}
// Token: 0x0600154A RID: 5450 RVA: 0x00009828 File Offset: 0x00007A28
[Token(Token = "0x600154A")]
[Address(RVA = "0xBA1FE0", Offset = "0xBA0FE0", VA = "0x180BA1FE0", Slot = "7")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x0600154B RID: 5451 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600154B")]
[Address(RVA = "0xBA20B0", Offset = "0xBA10B0", VA = "0x180BA20B0", Slot = "9")]
public void Reset()
{
}
// Token: 0x04000E0A RID: 3594
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E0A")]
private ListDictionary list;
// Token: 0x04000E0B RID: 3595
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E0B")]
private ListDictionary.DictionaryNode current;
// Token: 0x04000E0C RID: 3596
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E0C")]
private int version;
// Token: 0x04000E0D RID: 3597
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000E0D")]
private bool start;
}
// Token: 0x02000332 RID: 818
[Token(Token = "0x2000332")]
private class NodeKeyValueCollection : ICollection, IEnumerable
{
// Token: 0x0600154C RID: 5452 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600154C")]
[Address(RVA = "0x741C60", Offset = "0x740C60", VA = "0x180741C60")]
public NodeKeyValueCollection(ListDictionary list, bool isKeys)
{
}
// Token: 0x0600154D RID: 5453 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600154D")]
[Address(RVA = "0xBA2420", Offset = "0xBA1420", VA = "0x180BA2420", Slot = "4")]
void ICollection.CopyTo(Array array, int index)
{
}
// Token: 0x1700045E RID: 1118
// (get) Token: 0x0600154E RID: 5454 RVA: 0x00009840 File Offset: 0x00007A40
[Token(Token = "0x1700045E")]
int ICollection.Count
{
[Token(Token = "0x600154E")]
[Address(RVA = "0xBA2550", Offset = "0xBA1550", VA = "0x180BA2550", Slot = "5")]
get
{
return 0;
}
}
// Token: 0x1700045F RID: 1119
// (get) Token: 0x0600154F RID: 5455 RVA: 0x00009858 File Offset: 0x00007A58
[Token(Token = "0x1700045F")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x600154F")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "7")]
get
{
return default(bool);
}
}
// Token: 0x17000460 RID: 1120
// (get) Token: 0x06001550 RID: 5456 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000460")]
object ICollection.SyncRoot
{
[Token(Token = "0x6001550")]
[Address(RVA = "0xBA2590", Offset = "0xBA1590", VA = "0x180BA2590", Slot = "6")]
get
{
return null;
}
}
// Token: 0x06001551 RID: 5457 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001551")]
[Address(RVA = "0xBA2620", Offset = "0xBA1620", VA = "0x180BA2620", Slot = "8")]
IEnumerator IEnumerable.GetEnumerator()
{
return null;
}
// Token: 0x04000E0E RID: 3598
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E0E")]
private ListDictionary list;
// Token: 0x04000E0F RID: 3599
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E0F")]
private bool isKeys;
// Token: 0x02000333 RID: 819
[Token(Token = "0x2000333")]
private class NodeKeyValueEnumerator : IEnumerator
{
// Token: 0x06001552 RID: 5458 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001552")]
[Address(RVA = "0xBA2820", Offset = "0xBA1820", VA = "0x180BA2820")]
public NodeKeyValueEnumerator(ListDictionary list, bool isKeys)
{
}
// Token: 0x17000461 RID: 1121
// (get) Token: 0x06001553 RID: 5459 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000461")]
public object Current
{
[Token(Token = "0x6001553")]
[Address(RVA = "0xBA2880", Offset = "0xBA1880", VA = "0x180BA2880", Slot = "5")]
get
{
return null;
}
}
// Token: 0x06001554 RID: 5460 RVA: 0x00009870 File Offset: 0x00007A70
[Token(Token = "0x6001554")]
[Address(RVA = "0xBA26B0", Offset = "0xBA16B0", VA = "0x180BA26B0", Slot = "4")]
public bool MoveNext()
{
return default(bool);
}
// Token: 0x06001555 RID: 5461 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001555")]
[Address(RVA = "0xBA2780", Offset = "0xBA1780", VA = "0x180BA2780", Slot = "6")]
public void Reset()
{
}
// Token: 0x04000E10 RID: 3600
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E10")]
private ListDictionary list;
// Token: 0x04000E11 RID: 3601
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E11")]
private ListDictionary.DictionaryNode current;
// Token: 0x04000E12 RID: 3602
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E12")]
private int version;
// Token: 0x04000E13 RID: 3603
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x4000E13")]
private bool isKeys;
// Token: 0x04000E14 RID: 3604
[FieldOffset(Offset = "0x25")]
[Token(Token = "0x4000E14")]
private bool start;
}
}
// Token: 0x02000334 RID: 820
[Token(Token = "0x2000334")]
[Serializable]
private class DictionaryNode
{
// Token: 0x06001556 RID: 5462 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6001556")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public DictionaryNode()
{
}
// Token: 0x04000E15 RID: 3605
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000E15")]
public object key;
// Token: 0x04000E16 RID: 3606
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000E16")]
public object value;
// Token: 0x04000E17 RID: 3607
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000E17")]
public ListDictionary.DictionaryNode next;
}
}
}