using System; using Cpp2IlInjected; namespace System.Collections.Generic { /// Represents a generic collection of key/value pairs. /// The type of keys in the dictionary. /// The type of values in the dictionary. // Token: 0x0200060C RID: 1548 [Token(Token = "0x200060C")] public interface IDictionary : ICollection>, IEnumerable>, IEnumerable { /// Gets or sets the element with the specified key. /// The key of the element to get or set. /// The element with the specified key. /// /// is . /// The property is retrieved and is not found. /// The property is set and the is read-only. // Token: 0x17000752 RID: 1874 [Token(Token = "0x17000752")] TValue this[TKey key] { [Token(Token = "0x6002EFE")] [Address(Slot = "0")] get; [Token(Token = "0x6002EFF")] [Address(Slot = "1")] set; } /// Gets an containing the keys of the . /// An containing the keys of the object that implements . // Token: 0x17000753 RID: 1875 // (get) Token: 0x06002F00 RID: 12032 [Token(Token = "0x17000753")] ICollection Keys { [Token(Token = "0x6002F00")] [Address(Slot = "2")] get; } /// Gets an containing the values in the . /// An containing the values in the object that implements . // Token: 0x17000754 RID: 1876 // (get) Token: 0x06002F01 RID: 12033 [Token(Token = "0x17000754")] ICollection Values { [Token(Token = "0x6002F01")] [Address(Slot = "3")] get; } /// Determines whether the contains an element with the specified key. /// The key to locate in the . /// /// if the contains an element with the key; otherwise, . /// /// is . // Token: 0x06002F02 RID: 12034 [Token(Token = "0x6002F02")] [Address(Slot = "4")] bool ContainsKey(TKey key); /// Adds an element with the provided key and value to the . /// The object to use as the key of the element to add. /// The object to use as the value of the element to add. /// /// is . /// An element with the same key already exists in the . /// The is read-only. // Token: 0x06002F03 RID: 12035 [Token(Token = "0x6002F03")] [Address(Slot = "5")] void Add(TKey key, TValue value); /// Removes the element with the specified key from the . /// The key of the element to remove. /// /// if the element is successfully removed; otherwise, . This method also returns if was not found in the original . /// /// is . /// The is read-only. // Token: 0x06002F04 RID: 12036 [Token(Token = "0x6002F04")] [Address(Slot = "6")] bool Remove(TKey key); /// Gets the value associated with the specified key. /// The key whose value to get. /// When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. /// /// if the object that implements contains an element with the specified key; otherwise, . /// /// is . // Token: 0x06002F05 RID: 12037 [Token(Token = "0x6002F05")] [Address(Slot = "7")] bool TryGetValue(TKey key, out TValue value); } }