using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Collections.ObjectModel { /// Provides the abstract base class for a collection whose keys are embedded in the values. /// The type of keys in the collection. /// The type of items in the collection. // Token: 0x020005F2 RID: 1522 [Token(Token = "0x20005F2")] [DebuggerTypeProxy(typeof(Mscorlib_KeyedCollectionDebugView<, >))] [ComVisible(false)] [DebuggerDisplay("Count = {Count}")] [Serializable] public abstract class KeyedCollection : Collection { /// Initializes a new instance of the class that uses the default equality comparer. // Token: 0x06002F7C RID: 12156 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002F7C")] [Address(RVA = "0x3051D70", Offset = "0x3050D70", VA = "0x183051D70")] protected KeyedCollection() { } /// Initializes a new instance of the class that uses the specified equality comparer. /// The implementation of the generic interface to use when comparing keys, or to use the default equality comparer for the type of the key, obtained from . // Token: 0x06002F7D RID: 12157 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002F7D")] [Address(RVA = "0x2F027C0", Offset = "0x2F017C0", VA = "0x182F027C0")] protected KeyedCollection(IEqualityComparer comparer) { } /// Initializes a new instance of the class that uses the specified equality comparer and creates a lookup dictionary when the specified threshold is exceeded. /// The implementation of the generic interface to use when comparing keys, or to use the default equality comparer for the type of the key, obtained from . /// 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. /// /// is less than -1. // Token: 0x06002F7E RID: 12158 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002F7E")] [Address(RVA = "0x35C4170", Offset = "0x35C3170", VA = "0x1835C4170")] protected KeyedCollection(IEqualityComparer comparer, int dictionaryCreationThreshold) { } /// Gets the element with the specified key. /// The key of the element to get. /// The element with the specified key. If an element with the specified key is not found, an exception is thrown. /// /// is . /// An element with the specified key does not exist in the collection. // 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; } } /// Determines whether the collection contains an element with the specified key. /// The key to locate in the . /// /// if the contains an element with the specified key; otherwise, . /// /// is . // 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); } /// Gets the lookup dictionary of the . /// The lookup dictionary of the , if it exists; otherwise, . // Token: 0x17000775 RID: 1909 // (get) Token: 0x06002F81 RID: 12161 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000775")] protected IDictionary Dictionary { [Token(Token = "0x6002F81")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] get { return null; } } /// Removes all elements from the . // 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() { } /// When implemented in a derived class, extracts the key from the specified element. /// The element from which to extract the key. /// The key for the specified element. // Token: 0x06002F83 RID: 12163 [Token(Token = "0x6002F83")] [Address(Slot = "39")] protected abstract TKey GetKeyForItem(TItem item); /// Inserts an element into the at the specified index. /// The zero-based index at which should be inserted. /// The object to insert. /// /// is less than 0. /// -or- /// is greater than . // 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) { } /// Removes the element at the specified index of the . /// The index of the element to remove. // 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) { } /// Replaces the item at the specified index with the specified item. /// The zero-based index of the item to be replaced. /// The new item. // 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 comparer; // Token: 0x04001AA5 RID: 6821 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x4001AA5")] private Dictionary 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; } }