using System; using System.Collections; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.ComponentModel { /// Represents a collection of attributes. // Token: 0x020000E6 RID: 230 [Token(Token = "0x20000E6")] [ComVisible(true)] public class AttributeCollection : ICollection, IEnumerable { /// Initializes a new instance of the class. /// An array of type that provides the attributes for this collection. /// /// is . // Token: 0x06000563 RID: 1379 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000563")] [Address(RVA = "0x492AC0", Offset = "0x4918C0", VA = "0x180492AC0")] public AttributeCollection(params Attribute[] attributes) { } /// Initializes a new instance of the class. // Token: 0x06000564 RID: 1380 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000564")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected AttributeCollection() { } /// Creates a new from an existing . /// An from which to create the copy. /// An array of type that provides the attributes for this collection. Can be . /// A new that is a copy of . /// /// is . // Token: 0x06000565 RID: 1381 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000565")] [Address(RVA = "0x491F80", Offset = "0x490D80", VA = "0x180491F80")] public static AttributeCollection FromExisting(AttributeCollection existing, params Attribute[] newAttributes) { return null; } /// Gets the attribute collection. /// The attribute collection. // Token: 0x170000D7 RID: 215 // (get) Token: 0x06000566 RID: 1382 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000D7")] protected virtual Attribute[] Attributes { [Token(Token = "0x6000566")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "9")] get { return null; } } /// Gets the number of attributes. /// The number of attributes. // Token: 0x170000D8 RID: 216 // (get) Token: 0x06000567 RID: 1383 RVA: 0x000041A0 File Offset: 0x000023A0 [Token(Token = "0x170000D8")] public int Count { [Token(Token = "0x6000567")] [Address(RVA = "0x492A10", Offset = "0x491810", VA = "0x180492A10")] get { return 0; } } /// Gets the attribute with the specified index number. /// The zero-based index of . /// The with the specified index number. // Token: 0x170000D9 RID: 217 [Token(Token = "0x170000D9")] public virtual Attribute this[int index] { [Token(Token = "0x6000568")] [Address(RVA = "0x4930F0", Offset = "0x491EF0", VA = "0x1804930F0", Slot = "10")] get { return null; } } /// Gets the attribute with the specified type. /// The of the to get from the collection. /// The with the specified type or, if the attribute does not exist, the default value for the attribute type. // Token: 0x170000DA RID: 218 [Token(Token = "0x170000DA")] public virtual Attribute this[Type attributeType] { [Token(Token = "0x6000569")] [Address(RVA = "0x492B90", Offset = "0x491990", VA = "0x180492B90", Slot = "11")] get { return null; } } /// Determines whether this collection of attributes has the specified attribute. /// An to find in the collection. /// /// if the collection contains the attribute or is the default attribute for the type of attribute; otherwise, . // Token: 0x0600056A RID: 1386 RVA: 0x000041B8 File Offset: 0x000023B8 [Token(Token = "0x600056A")] [Address(RVA = "0x491DB0", Offset = "0x490BB0", VA = "0x180491DB0")] public bool Contains(Attribute attribute) { return default(bool); } /// Determines whether this attribute collection contains all the specified attributes in the attribute array. /// An array of type to find in the collection. /// /// if the collection contains all the attributes; otherwise, . // Token: 0x0600056B RID: 1387 RVA: 0x000041D0 File Offset: 0x000023D0 [Token(Token = "0x600056B")] [Address(RVA = "0x491E30", Offset = "0x490C30", VA = "0x180491E30")] public bool Contains(Attribute[] attributes) { return default(bool); } /// Returns the default of a given . /// The of the attribute to retrieve. /// The default of a given . // Token: 0x0600056C RID: 1388 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600056C")] [Address(RVA = "0x492380", Offset = "0x491180", VA = "0x180492380")] protected Attribute GetDefaultAttribute(Type attributeType) { return null; } /// Gets an enumerator for this collection. /// An enumerator of type . // Token: 0x0600056D RID: 1389 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600056D")] [Address(RVA = "0x492800", Offset = "0x491600", VA = "0x180492800")] public IEnumerator GetEnumerator() { return null; } /// Determines whether a specified attribute is the same as an attribute in the collection. /// An instance of to compare with the attributes in this collection. /// /// if the attribute is contained within the collection and has the same value as the attribute in the collection; otherwise, . // Token: 0x0600056E RID: 1390 RVA: 0x000041E8 File Offset: 0x000023E8 [Token(Token = "0x600056E")] [Address(RVA = "0x492940", Offset = "0x491740", VA = "0x180492940")] public bool Matches(Attribute attribute) { return default(bool); } /// Determines whether the attributes in the specified array are the same as the attributes in the collection. /// An array of to compare with the attributes in this collection. /// /// if all the attributes in the array are contained in the collection and have the same values as the attributes in the collection; otherwise, . // Token: 0x0600056F RID: 1391 RVA: 0x00004200 File Offset: 0x00002400 [Token(Token = "0x600056F")] [Address(RVA = "0x492830", Offset = "0x491630", VA = "0x180492830")] public bool Matches(Attribute[] attributes) { return default(bool); } /// Gets the number of elements contained in the collection. /// The number of elements contained in the collection. // Token: 0x170000DB RID: 219 // (get) Token: 0x06000570 RID: 1392 RVA: 0x00004218 File Offset: 0x00002418 [Token(Token = "0x170000DB")] int ICollection.Count { [Token(Token = "0x6000570")] [Address(RVA = "0x492A10", Offset = "0x491810", VA = "0x180492A10", Slot = "5")] get { return 0; } } /// Gets a value indicating whether access to the collection is synchronized (thread-safe). /// /// if access to the collection is synchronized (thread-safe); otherwise, . // Token: 0x170000DC RID: 220 // (get) Token: 0x06000571 RID: 1393 RVA: 0x00004230 File Offset: 0x00002430 [Token(Token = "0x170000DC")] bool ICollection.IsSynchronized { [Token(Token = "0x6000571")] [Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")] get { return default(bool); } } /// Gets an object that can be used to synchronize access to the collection. /// An object that can be used to synchronize access to the collection. // Token: 0x170000DD RID: 221 // (get) Token: 0x06000572 RID: 1394 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170000DD")] object ICollection.SyncRoot { [Token(Token = "0x6000572")] [Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "6")] get { return null; } } /// Copies the collection to an array, starting at the specified index. /// The to copy the collection to. /// The index to start from. // Token: 0x06000573 RID: 1395 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000573")] [Address(RVA = "0x491EF0", Offset = "0x490CF0", VA = "0x180491EF0", Slot = "4")] public void CopyTo(Array array, int index) { } /// Returns an for the . /// An for the . // Token: 0x06000574 RID: 1396 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000574")] [Address(RVA = "0x492800", Offset = "0x491600", VA = "0x180492800", Slot = "8")] IEnumerator IEnumerable.GetEnumerator() { return null; } /// Specifies an empty collection that you can use, rather than creating a new one. This field is read-only. // Token: 0x0400043B RID: 1083 [Token(Token = "0x400043B")] public static readonly AttributeCollection Empty; // Token: 0x0400043C RID: 1084 [Token(Token = "0x400043C")] private static Hashtable _defaultAttributes; // Token: 0x0400043D RID: 1085 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x400043D")] private Attribute[] _attributes; // Token: 0x0400043E RID: 1086 [Token(Token = "0x400043E")] private static object internalSyncObject; // Token: 0x0400043F RID: 1087 [Token(Token = "0x400043F")] private const int FOUND_TYPES_LIMIT = 5; // Token: 0x04000440 RID: 1088 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4000440")] private AttributeCollection.AttributeEntry[] _foundAttributeTypes; // Token: 0x04000441 RID: 1089 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000441")] private int _index; // Token: 0x020000E7 RID: 231 [Token(Token = "0x20000E7")] private struct AttributeEntry { // Token: 0x04000442 RID: 1090 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x4000442")] public Type type; // Token: 0x04000443 RID: 1091 [global::Cpp2IlInjected.FieldOffset(Offset = "0x8")] [Token(Token = "0x4000443")] public int index; } } }