using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Represents a collection of attributes.
// Token: 0x020000E2 RID: 226
[Token(Token = "0x20000E2")]
[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: 0x0600054D RID: 1357 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600054D")]
[Address(RVA = "0xB8F8A0", Offset = "0xB8E8A0", VA = "0x180B8F8A0")]
public AttributeCollection(params Attribute[] attributes)
{
}
/// Initializes a new instance of the class.
// Token: 0x0600054E RID: 1358 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600054E")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
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: 0x0600054F RID: 1359 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600054F")]
[Address(RVA = "0xB8ED60", Offset = "0xB8DD60", VA = "0x180B8ED60")]
public static AttributeCollection FromExisting(AttributeCollection existing, params Attribute[] newAttributes)
{
return null;
}
/// Gets the attribute collection.
/// The attribute collection.
// Token: 0x170000D3 RID: 211
// (get) Token: 0x06000550 RID: 1360 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000D3")]
protected virtual Attribute[] Attributes
{
[Token(Token = "0x6000550")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "9")]
get
{
return null;
}
}
/// Gets the number of attributes.
/// The number of attributes.
// Token: 0x170000D4 RID: 212
// (get) Token: 0x06000551 RID: 1361 RVA: 0x00004188 File Offset: 0x00002388
[Token(Token = "0x170000D4")]
public int Count
{
[Token(Token = "0x6000551")]
[Address(RVA = "0xB8F7F0", Offset = "0xB8E7F0", VA = "0x180B8F7F0")]
get
{
return 0;
}
}
/// Gets the attribute with the specified index number.
/// The zero-based index of .
/// The with the specified index number.
// Token: 0x170000D5 RID: 213
[Token(Token = "0x170000D5")]
public virtual Attribute this[int index]
{
[Token(Token = "0x6000552")]
[Address(RVA = "0xB8FED0", Offset = "0xB8EED0", VA = "0x180B8FED0", 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: 0x170000D6 RID: 214
[Token(Token = "0x170000D6")]
public virtual Attribute this[Type attributeType]
{
[Token(Token = "0x6000553")]
[Address(RVA = "0xB8F970", Offset = "0xB8E970", VA = "0x180B8F970", 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: 0x06000554 RID: 1364 RVA: 0x000041A0 File Offset: 0x000023A0
[Token(Token = "0x6000554")]
[Address(RVA = "0xB8EB90", Offset = "0xB8DB90", VA = "0x180B8EB90")]
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: 0x06000555 RID: 1365 RVA: 0x000041B8 File Offset: 0x000023B8
[Token(Token = "0x6000555")]
[Address(RVA = "0xB8EC10", Offset = "0xB8DC10", VA = "0x180B8EC10")]
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: 0x06000556 RID: 1366 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000556")]
[Address(RVA = "0xB8F160", Offset = "0xB8E160", VA = "0x180B8F160")]
protected Attribute GetDefaultAttribute(Type attributeType)
{
return null;
}
/// Gets an enumerator for this collection.
/// An enumerator of type .
// Token: 0x06000557 RID: 1367 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000557")]
[Address(RVA = "0xB8F5E0", Offset = "0xB8E5E0", VA = "0x180B8F5E0")]
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: 0x06000558 RID: 1368 RVA: 0x000041D0 File Offset: 0x000023D0
[Token(Token = "0x6000558")]
[Address(RVA = "0xB8F720", Offset = "0xB8E720", VA = "0x180B8F720")]
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: 0x06000559 RID: 1369 RVA: 0x000041E8 File Offset: 0x000023E8
[Token(Token = "0x6000559")]
[Address(RVA = "0xB8F610", Offset = "0xB8E610", VA = "0x180B8F610")]
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: 0x170000D7 RID: 215
// (get) Token: 0x0600055A RID: 1370 RVA: 0x00004200 File Offset: 0x00002400
[Token(Token = "0x170000D7")]
int ICollection.Count
{
[Token(Token = "0x600055A")]
[Address(RVA = "0xB8F7F0", Offset = "0xB8E7F0", VA = "0x180B8F7F0", 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: 0x170000D8 RID: 216
// (get) Token: 0x0600055B RID: 1371 RVA: 0x00004218 File Offset: 0x00002418
[Token(Token = "0x170000D8")]
bool ICollection.IsSynchronized
{
[Token(Token = "0x600055B")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", 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: 0x170000D9 RID: 217
// (get) Token: 0x0600055C RID: 1372 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000D9")]
object ICollection.SyncRoot
{
[Token(Token = "0x600055C")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", 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: 0x0600055D RID: 1373 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600055D")]
[Address(RVA = "0xB8ECD0", Offset = "0xB8DCD0", VA = "0x180B8ECD0", Slot = "4")]
public void CopyTo(Array array, int index)
{
}
/// Returns an for the .
/// An for the .
// Token: 0x0600055E RID: 1374 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600055E")]
[Address(RVA = "0xB8F5E0", Offset = "0xB8E5E0", VA = "0x180B8F5E0", 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: 0x0400042E RID: 1070
[Token(Token = "0x400042E")]
public static readonly AttributeCollection Empty;
// Token: 0x0400042F RID: 1071
[Token(Token = "0x400042F")]
private static Hashtable _defaultAttributes;
// Token: 0x04000430 RID: 1072
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000430")]
private Attribute[] _attributes;
// Token: 0x04000431 RID: 1073
[Token(Token = "0x4000431")]
private static object internalSyncObject;
// Token: 0x04000432 RID: 1074
[Token(Token = "0x4000432")]
private const int FOUND_TYPES_LIMIT = 5;
// Token: 0x04000433 RID: 1075
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000433")]
private AttributeCollection.AttributeEntry[] _foundAttributeTypes;
// Token: 0x04000434 RID: 1076
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000434")]
private int _index;
// Token: 0x020000E3 RID: 227
[Token(Token = "0x20000E3")]
private struct AttributeEntry
{
// Token: 0x04000435 RID: 1077
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x4000435")]
public Type type;
// Token: 0x04000436 RID: 1078
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x4000436")]
public int index;
}
}
}