Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

113 lines
4.9 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Indicates whether the component associated with this attribute has been inherited from a base class. This class cannot be inherited.</summary>
// Token: 0x020001AF RID: 431
[Token(Token = "0x20001AF")]
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
public sealed class InheritanceAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.InheritanceAttribute" /> class.</summary>
// Token: 0x06000BDA RID: 3034 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BDA")]
[Address(RVA = "0x4EE3A0", Offset = "0x4ED1A0", VA = "0x1804EE3A0")]
public InheritanceAttribute()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.InheritanceAttribute" /> class with the specified inheritance level.</summary>
/// <param name="inheritanceLevel">An <see cref="T:System.ComponentModel.InheritanceLevel" /> that indicates the level of inheritance to set this attribute to.</param>
// Token: 0x06000BDB RID: 3035 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000BDB")]
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
public InheritanceAttribute(InheritanceLevel inheritanceLevel)
{
}
/// <summary>Gets or sets the current inheritance level stored in this attribute.</summary>
/// <returns>The <see cref="T:System.ComponentModel.InheritanceLevel" /> stored in this attribute.</returns>
// 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;
}
}
/// <summary>Override to test for equality.</summary>
/// <param name="value">The object to test.</param>
/// <returns>
/// <see langword="true" /> if the object is the same; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns the hashcode for this object.</summary>
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.InheritanceAttribute" />.</returns>
// 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;
}
/// <summary>Gets a value indicating whether the current value of the attribute is the default value for the attribute.</summary>
/// <returns>
/// <see langword="true" /> if the current value of the attribute is the default; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Converts this attribute to a string.</summary>
/// <returns>A string that represents this <see cref="T:System.ComponentModel.InheritanceAttribute" />.</returns>
// 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;
/// <summary>Specifies that the component is inherited. This field is read-only.</summary>
// Token: 0x0400062F RID: 1583
[Token(Token = "0x400062F")]
public static readonly InheritanceAttribute Inherited;
/// <summary>Specifies that the component is inherited and is read-only. This field is read-only.</summary>
// Token: 0x04000630 RID: 1584
[Token(Token = "0x4000630")]
public static readonly InheritanceAttribute InheritedReadOnly;
/// <summary>Specifies that the component is not inherited. This field is read-only.</summary>
// Token: 0x04000631 RID: 1585
[Token(Token = "0x4000631")]
public static readonly InheritanceAttribute NotInherited;
/// <summary>Specifies that the default value for <see cref="T:System.ComponentModel.InheritanceAttribute" /> is <see cref="F:System.ComponentModel.InheritanceAttribute.NotInherited" />. This field is read-only.</summary>
// Token: 0x04000632 RID: 1586
[Token(Token = "0x4000632")]
public static readonly InheritanceAttribute Default;
}
}