using System; using Cpp2IlInjected; namespace System.Collections.Generic { /// Represents a generic read-only collection of key/value pairs. /// The type of keys in the read-only dictionary. /// The type of values in the read-only dictionary. // Token: 0x02000633 RID: 1587 [Token(Token = "0x2000633")] public interface IReadOnlyDictionary : IReadOnlyCollection>, IEnumerable>, IEnumerable { /// Determines whether the read-only dictionary contains an element that has the specified key. /// The key to locate. /// /// if the read-only dictionary contains an element that has the specified key; otherwise, . /// /// is . // Token: 0x06003128 RID: 12584 [Token(Token = "0x6003128")] [Address(Slot = "0")] bool ContainsKey(TKey key); /// Gets the value that is associated with the specified key. /// The key to locate. /// 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 the interface contains an element that has the specified key; otherwise, . /// /// is . // Token: 0x06003129 RID: 12585 [Token(Token = "0x6003129")] [Address(Slot = "1")] bool TryGetValue(TKey key, out TValue value); /// Gets the element that has the specified key in the read-only dictionary. /// The key to locate. /// The element that has the specified key in the read-only dictionary. /// /// is . /// The property is retrieved and is not found. // Token: 0x170007D0 RID: 2000 [Token(Token = "0x170007D0")] TValue this[TKey key] { [Token(Token = "0x600312A")] [Address(Slot = "2")] get; } /// Gets an enumerable collection that contains the keys in the read-only dictionary. /// An enumerable collection that contains the keys in the read-only dictionary. // Token: 0x170007D1 RID: 2001 // (get) Token: 0x0600312B RID: 12587 [Token(Token = "0x170007D1")] IEnumerable Keys { [Token(Token = "0x600312B")] [Address(Slot = "3")] get; } /// Gets an enumerable collection that contains the values in the read-only dictionary. /// An enumerable collection that contains the values in the read-only dictionary. // Token: 0x170007D2 RID: 2002 // (get) Token: 0x0600312C RID: 12588 [Token(Token = "0x170007D2")] IEnumerable Values { [Token(Token = "0x600312C")] [Address(Slot = "4")] get; } } }