using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Indicates whether the component associated with this attribute has been inherited from a base class. This class cannot be inherited.
// Token: 0x020001AF RID: 431
[Token(Token = "0x20001AF")]
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
public sealed class InheritanceAttribute : Attribute
{
/// Initializes a new instance of the class.
// Token: 0x06000BDA RID: 3034 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BDA")]
[Address(RVA = "0x4EE3A0", Offset = "0x4ED1A0", VA = "0x1804EE3A0")]
public InheritanceAttribute()
{
}
/// Initializes a new instance of the class with the specified inheritance level.
/// An that indicates the level of inheritance to set this attribute to.
// Token: 0x06000BDB RID: 3035 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BDB")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public InheritanceAttribute(InheritanceLevel inheritanceLevel)
{
}
/// Gets or sets the current inheritance level stored in this attribute.
/// The stored in this attribute.
// Token: 0x1700022B RID: 555
// (get) Token: 0x06000BDC RID: 3036 RVA: 0x00006690 File Offset: 0x00004890
[Token(Token = "0x1700022B")]
public InheritanceLevel InheritanceLevel
{
[Token(Token = "0x6000BDC")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return (InheritanceLevel)0;
}
}
/// Override to test for equality.
/// The object to test.
///
/// if the object is the same; otherwise, .
// Token: 0x06000BDD RID: 3037 RVA: 0x000066A8 File Offset: 0x000048A8
[Token(Token = "0x6000BDD")]
[Address(RVA = "0x4EE0E0", Offset = "0x4ECEE0", VA = "0x1804EE0E0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Returns the hashcode for this object.
/// A hash code for the current .
// Token: 0x06000BDE RID: 3038 RVA: 0x000066C0 File Offset: 0x000048C0
[Token(Token = "0x6000BDE")]
[Address(RVA = "0x490530", Offset = "0x48F330", VA = "0x180490530", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Gets a value indicating whether the current value of the attribute is the default value for the attribute.
///
/// if the current value of the attribute is the default; otherwise, .
// Token: 0x06000BDF RID: 3039 RVA: 0x000066D8 File Offset: 0x000048D8
[Token(Token = "0x6000BDF")]
[Address(RVA = "0x4EE180", Offset = "0x4ECF80", VA = "0x1804EE180", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// Converts this attribute to a string.
/// A string that represents this .
// Token: 0x06000BE0 RID: 3040 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000BE0")]
[Address(RVA = "0x4EE1F0", Offset = "0x4ECFF0", VA = "0x1804EE1F0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x0400062E RID: 1582
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400062E")]
private readonly InheritanceLevel inheritanceLevel;
/// Specifies that the component is inherited. This field is read-only.
// Token: 0x0400062F RID: 1583
[Token(Token = "0x400062F")]
public static readonly InheritanceAttribute Inherited;
/// Specifies that the component is inherited and is read-only. This field is read-only.
// Token: 0x04000630 RID: 1584
[Token(Token = "0x4000630")]
public static readonly InheritanceAttribute InheritedReadOnly;
/// Specifies that the component is not inherited. This field is read-only.
// Token: 0x04000631 RID: 1585
[Token(Token = "0x4000631")]
public static readonly InheritanceAttribute NotInherited;
/// Specifies that the default value for is . This field is read-only.
// Token: 0x04000632 RID: 1586
[Token(Token = "0x4000632")]
public static readonly InheritanceAttribute Default;
}
}