Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

88 lines
3.4 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System
{
/// <summary>Specifies the usage of another attribute class. This class cannot be inherited.</summary>
// Token: 0x020000C0 RID: 192
[Token(Token = "0x20000C0")]
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Class)]
[Serializable]
public sealed class AttributeUsageAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.AttributeUsageAttribute" /> class with the specified list of <see cref="T:System.AttributeTargets" />, the <see cref="P:System.AttributeUsageAttribute.AllowMultiple" /> value, and the <see cref="P:System.AttributeUsageAttribute.Inherited" /> value.</summary>
/// <param name="validOn">The set of values combined using a bitwise OR operation to indicate which program elements are valid.</param>
// Token: 0x06000558 RID: 1368 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000558")]
[Address(RVA = "0x2D08FB0", Offset = "0x2D07FB0", VA = "0x182D08FB0")]
public AttributeUsageAttribute(AttributeTargets validOn)
{
}
/// <summary>Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element.</summary>
/// <returns>
/// <see langword="true" /> if more than one instance is allowed to be specified; otherwise, <see langword="false" />. The default is <see langword="false" />.</returns>
// Token: 0x1700009C RID: 156
// (get) Token: 0x06000559 RID: 1369 RVA: 0x00004410 File Offset: 0x00002610
// (set) Token: 0x0600055A RID: 1370 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700009C")]
public bool AllowMultiple
{
[Token(Token = "0x6000559")]
[Address(RVA = "0x4987D0", Offset = "0x4977D0", VA = "0x1804987D0")]
get
{
return default(bool);
}
[Token(Token = "0x600055A")]
[Address(RVA = "0x5ABEA0", Offset = "0x5AAEA0", VA = "0x1805ABEA0")]
set
{
}
}
/// <summary>Gets or sets a <see cref="T:System.Boolean" /> value that determines whether the indicated attribute is inherited by derived classes and overriding members.</summary>
/// <returns>
/// <see langword="true" /> if the attribute can be inherited by derived classes and overriding members; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
// Token: 0x1700009D RID: 157
// (get) Token: 0x0600055B RID: 1371 RVA: 0x00004428 File Offset: 0x00002628
// (set) Token: 0x0600055C RID: 1372 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700009D")]
public bool Inherited
{
[Token(Token = "0x600055B")]
[Address(RVA = "0xC36C00", Offset = "0xC35C00", VA = "0x180C36C00")]
get
{
return default(bool);
}
[Token(Token = "0x600055C")]
[Address(RVA = "0x14129E0", Offset = "0x14119E0", VA = "0x1814129E0")]
set
{
}
}
// Token: 0x04000218 RID: 536
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000218")]
internal AttributeTargets m_attributeTarget;
// Token: 0x04000219 RID: 537
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x4000219")]
internal bool m_allowMultiple;
// Token: 0x0400021A RID: 538
[global::Cpp2IlInjected.FieldOffset(Offset = "0x15")]
[Token(Token = "0x400021A")]
internal bool m_inherited;
// Token: 0x0400021B RID: 539
[Token(Token = "0x400021B")]
internal static AttributeUsageAttribute Default;
}
}