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: 0x020001AB RID: 427
[Token(Token = "0x20001AB")]
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
public sealed class InheritanceAttribute : Attribute
{
/// Initializes a new instance of the class.
// Token: 0x06000BC4 RID: 3012 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC4")]
[Address(RVA = "0xC587A0", Offset = "0xC577A0", VA = "0x180C587A0")]
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: 0x06000BC5 RID: 3013 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BC5")]
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
public InheritanceAttribute(InheritanceLevel inheritanceLevel)
{
}
/// Gets or sets the current inheritance level stored in this attribute.
/// The stored in this attribute.
// Token: 0x17000227 RID: 551
// (get) Token: 0x06000BC6 RID: 3014 RVA: 0x00006678 File Offset: 0x00004878
[Token(Token = "0x17000227")]
public InheritanceLevel InheritanceLevel
{
[Token(Token = "0x6000BC6")]
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
get
{
return (InheritanceLevel)0;
}
}
/// Override to test for equality.
/// The object to test.
///
/// if the object is the same; otherwise, .
// Token: 0x06000BC7 RID: 3015 RVA: 0x00006690 File Offset: 0x00004890
[Token(Token = "0x6000BC7")]
[Address(RVA = "0xC584E0", Offset = "0xC574E0", VA = "0x180C584E0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Returns the hashcode for this object.
/// A hash code for the current .
// Token: 0x06000BC8 RID: 3016 RVA: 0x000066A8 File Offset: 0x000048A8
[Token(Token = "0x6000BC8")]
[Address(RVA = "0xB8D310", Offset = "0xB8C310", VA = "0x180B8D310", 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: 0x06000BC9 RID: 3017 RVA: 0x000066C0 File Offset: 0x000048C0
[Token(Token = "0x6000BC9")]
[Address(RVA = "0xC58580", Offset = "0xC57580", VA = "0x180C58580", Slot = "6")]
public override bool IsDefaultAttribute()
{
return default(bool);
}
/// Converts this attribute to a string.
/// A string that represents this .
// Token: 0x06000BCA RID: 3018 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000BCA")]
[Address(RVA = "0xC585F0", Offset = "0xC575F0", VA = "0x180C585F0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x04000621 RID: 1569
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000621")]
private readonly InheritanceLevel inheritanceLevel;
/// Specifies that the component is inherited. This field is read-only.
// Token: 0x04000622 RID: 1570
[Token(Token = "0x4000622")]
public static readonly InheritanceAttribute Inherited;
/// Specifies that the component is inherited and is read-only. This field is read-only.
// Token: 0x04000623 RID: 1571
[Token(Token = "0x4000623")]
public static readonly InheritanceAttribute InheritedReadOnly;
/// Specifies that the component is not inherited. This field is read-only.
// Token: 0x04000624 RID: 1572
[Token(Token = "0x4000624")]
public static readonly InheritanceAttribute NotInherited;
/// Specifies that the default value for is . This field is read-only.
// Token: 0x04000625 RID: 1573
[Token(Token = "0x4000625")]
public static readonly InheritanceAttribute Default;
}
}