using System; using System.Diagnostics; using Cpp2IlInjected; namespace System.Configuration { /// Represents a configuration element containing a collection of child elements. // Token: 0x02000005 RID: 5 [Token(Token = "0x2000005")] [DebuggerDisplay("Count = {Count}")] public abstract class ConfigurationElementCollection : ConfigurationElement { /// Gets the type of the . /// The of this collection. // Token: 0x17000002 RID: 2 // (get) Token: 0x0600000E RID: 14 RVA: 0x000020A0 File Offset: 0x000002A0 [Token(Token = "0x17000002")] public virtual ConfigurationElementCollectionType CollectionType { [Token(Token = "0x600000E")] [Address(RVA = "0x74DF60", Offset = "0x74CD60", VA = "0x18074DF60", Slot = "13")] get { return ConfigurationElementCollectionType.BasicMap; } } /// Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class. /// The name of the collection; otherwise, an empty string. The default is an empty string. // Token: 0x17000003 RID: 3 // (get) Token: 0x0600000F RID: 15 RVA: 0x0000206A File Offset: 0x0000026A [Token(Token = "0x17000003")] protected virtual string ElementName { [Token(Token = "0x600000F")] [Address(RVA = "0x74DF90", Offset = "0x74CD90", VA = "0x18074DF90", Slot = "14")] get { return null; } } /// Gets a value indicating whether an attempt to add a duplicate to the will cause an exception to be thrown. /// /// if an attempt to add a duplicate to this will cause an exception to be thrown; otherwise, . // Token: 0x17000004 RID: 4 // (get) Token: 0x06000010 RID: 16 RVA: 0x000020B8 File Offset: 0x000002B8 [Token(Token = "0x17000004")] protected virtual bool ThrowOnDuplicate { [Token(Token = "0x6000010")] [Address(RVA = "0x74DFC0", Offset = "0x74CDC0", VA = "0x18074DFC0", Slot = "15")] get { return default(bool); } } /// When overridden in a derived class, creates a new . /// A newly created . // Token: 0x06000011 RID: 17 [Token(Token = "0x6000011")] [Address(Slot = "16")] protected abstract ConfigurationElement CreateNewElement(); /// Gets the element key for a specified configuration element when overridden in a derived class. /// The to return the key for. /// An that acts as the key for the specified . // Token: 0x06000012 RID: 18 [Token(Token = "0x6000012")] [Address(Slot = "17")] protected abstract object GetElementKey(ConfigurationElement element); } }