113 lines
4.9 KiB
C#
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: 0x020001AB RID: 427
|
|
[Token(Token = "0x20001AB")]
|
|
[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: 0x06000BC4 RID: 3012 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BC4")]
|
|
[Address(RVA = "0xC587A0", Offset = "0xC577A0", VA = "0x180C587A0")]
|
|
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: 0x06000BC5 RID: 3013 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BC5")]
|
|
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
|
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: 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;
|
|
}
|
|
}
|
|
|
|
/// <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: 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);
|
|
}
|
|
|
|
/// <summary>Returns the hashcode for this object.</summary>
|
|
/// <returns>A hash code for the current <see cref="T:System.ComponentModel.InheritanceAttribute" />.</returns>
|
|
// 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;
|
|
}
|
|
|
|
/// <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: 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);
|
|
}
|
|
|
|
/// <summary>Converts this attribute to a string.</summary>
|
|
/// <returns>A string that represents this <see cref="T:System.ComponentModel.InheritanceAttribute" />.</returns>
|
|
// 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;
|
|
|
|
/// <summary>Specifies that the component is inherited. This field is read-only.</summary>
|
|
// Token: 0x04000622 RID: 1570
|
|
[Token(Token = "0x4000622")]
|
|
public static readonly InheritanceAttribute Inherited;
|
|
|
|
/// <summary>Specifies that the component is inherited and is read-only. This field is read-only.</summary>
|
|
// Token: 0x04000623 RID: 1571
|
|
[Token(Token = "0x4000623")]
|
|
public static readonly InheritanceAttribute InheritedReadOnly;
|
|
|
|
/// <summary>Specifies that the component is not inherited. This field is read-only.</summary>
|
|
// Token: 0x04000624 RID: 1572
|
|
[Token(Token = "0x4000624")]
|
|
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: 0x04000625 RID: 1573
|
|
[Token(Token = "0x4000625")]
|
|
public static readonly InheritanceAttribute Default;
|
|
}
|
|
}
|