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: 0x020005D3 RID: 1491 [Token(Token = "0x20005D3")] [ComVisible(false)] [DebuggerTypeProxy(typeof(Mscorlib_KeyedCollectionDebugView<, >))] [DebuggerDisplay("Count = {Count}")] [Serializable] public abstract class KeyedCollection : Collection { /// Initializes a new instance of the class that uses the default equality comparer. // Token: 0x06002D64 RID: 11620 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D64")] [Address(RVA = "0x2B02B70", Offset = "0x2B01970", VA = "0x182B02B70")] 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: 0x06002D65 RID: 11621 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D65")] [Address(RVA = "0x28EB600", Offset = "0x28EA400", VA = "0x1828EB600")] 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: 0x06002D66 RID: 11622 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D66")] [Address(RVA = "0x32039C0", Offset = "0x32027C0", VA = "0x1832039C0")] 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: 0x170006FC RID: 1788 [Token(Token = "0x170006FC")] public TItem this[TKey key] { [Token(Token = "0x6002D67")] [Address(RVA = "0x3203A60", Offset = "0x3202860", VA = "0x183203A60")] 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: 0x06002D68 RID: 11624 RVA: 0x00017BE0 File Offset: 0x00015DE0 [Token(Token = "0x6002D68")] [Address(RVA = "0x3203170", Offset = "0x3201F70", VA = "0x183203170")] public bool Contains(TKey key) { return default(bool); } /// Gets the lookup dictionary of the . /// The lookup dictionary of the , if it exists; otherwise, . // Token: 0x170006FD RID: 1789 // (get) Token: 0x06002D69 RID: 11625 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170006FD")] protected IDictionary Dictionary { [Token(Token = "0x6002D69")] [Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")] get { return null; } } /// Removes all elements from the . // Token: 0x06002D6A RID: 11626 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D6A")] [Address(RVA = "0x3203110", Offset = "0x3201F10", VA = "0x183203110", 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: 0x06002D6B RID: 11627 [Token(Token = "0x6002D6B")] [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: 0x06002D6C RID: 11628 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D6C")] [Address(RVA = "0x3203630", Offset = "0x3202430", VA = "0x183203630", 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: 0x06002D6D RID: 11629 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D6D")] [Address(RVA = "0x32036D0", Offset = "0x32024D0", VA = "0x1832036D0", 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: 0x06002D6E RID: 11630 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D6E")] [Address(RVA = "0x3203800", Offset = "0x3202600", VA = "0x183203800", Slot = "38")] protected override void SetItem(int index, TItem item) { } // Token: 0x06002D6F RID: 11631 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D6F")] [Address(RVA = "0x3203050", Offset = "0x3201E50", VA = "0x183203050")] private void AddKey(TKey key, TItem item) { } // Token: 0x06002D70 RID: 11632 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D70")] [Address(RVA = "0x32033E0", Offset = "0x32021E0", VA = "0x1832033E0")] private void CreateDictionary() { } // Token: 0x06002D71 RID: 11633 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002D71")] [Address(RVA = "0x32037D0", Offset = "0x32025D0", VA = "0x1832037D0")] private void RemoveKey(TKey key) { } // Token: 0x040019E1 RID: 6625 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40019E1")] private IEqualityComparer comparer; // Token: 0x040019E2 RID: 6626 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40019E2")] private Dictionary dict; // Token: 0x040019E3 RID: 6627 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40019E3")] private int keyCount; // Token: 0x040019E4 RID: 6628 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x40019E4")] private int threshold; } }