88 lines
3.4 KiB
C#
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: 0x020000B9 RID: 185
|
|
[Token(Token = "0x20000B9")]
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
[ComVisible(true)]
|
|
[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: 0x0600053C RID: 1340 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600053C")]
|
|
[Address(RVA = "0x26C52E0", Offset = "0x26C40E0", VA = "0x1826C52E0")]
|
|
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: 0x17000098 RID: 152
|
|
// (get) Token: 0x0600053D RID: 1341 RVA: 0x00004320 File Offset: 0x00002520
|
|
// (set) Token: 0x0600053E RID: 1342 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000098")]
|
|
public bool AllowMultiple
|
|
{
|
|
[Token(Token = "0x600053D")]
|
|
[Address(RVA = "0x40B710", Offset = "0x40A510", VA = "0x18040B710")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x600053E")]
|
|
[Address(RVA = "0x8EBC70", Offset = "0x8EAA70", VA = "0x1808EBC70")]
|
|
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: 0x17000099 RID: 153
|
|
// (get) Token: 0x0600053F RID: 1343 RVA: 0x00004338 File Offset: 0x00002538
|
|
// (set) Token: 0x06000540 RID: 1344 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000099")]
|
|
public bool Inherited
|
|
{
|
|
[Token(Token = "0x600053F")]
|
|
[Address(RVA = "0xBCF900", Offset = "0xBCE700", VA = "0x180BCF900")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x6000540")]
|
|
[Address(RVA = "0xBCEFB0", Offset = "0xBCDDB0", VA = "0x180BCEFB0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400020E RID: 526
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400020E")]
|
|
internal AttributeTargets m_attributeTarget;
|
|
|
|
// Token: 0x0400020F RID: 527
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x400020F")]
|
|
internal bool m_allowMultiple;
|
|
|
|
// Token: 0x04000210 RID: 528
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x15")]
|
|
[Token(Token = "0x4000210")]
|
|
internal bool m_inherited;
|
|
|
|
// Token: 0x04000211 RID: 529
|
|
[Token(Token = "0x4000211")]
|
|
internal static AttributeUsageAttribute Default;
|
|
}
|
|
}
|