36 lines
1.2 KiB
C#
36 lines
1.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Defines a constant value that a compiler can persist for a field or method parameter.</summary>
|
|
// Token: 0x02000572 RID: 1394
|
|
[Token(Token = "0x2000572")]
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public abstract class CustomConstantAttribute : Attribute
|
|
{
|
|
/// <summary>Gets the constant value stored by this attribute.</summary>
|
|
/// <returns>The constant value stored by this attribute.</returns>
|
|
// Token: 0x170006BF RID: 1727
|
|
// (get) Token: 0x06002C77 RID: 11383
|
|
[Token(Token = "0x170006BF")]
|
|
public abstract object Value
|
|
{
|
|
[Token(Token = "0x6002C77")]
|
|
[Address(Slot = "7")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CustomConstantAttribute" /> class.</summary>
|
|
// Token: 0x06002C78 RID: 11384 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C78")]
|
|
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
|
protected CustomConstantAttribute()
|
|
{
|
|
}
|
|
}
|
|
}
|