Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Runtime/CompilerServices/CustomConstantAttribute.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

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: 0x02000554 RID: 1364
[Token(Token = "0x2000554")]
[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: 0x17000647 RID: 1607
// (get) Token: 0x06002A68 RID: 10856
[Token(Token = "0x17000647")]
public abstract object Value
{
[Token(Token = "0x6002A68")]
[Address(Slot = "7")]
get;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CustomConstantAttribute" /> class.</summary>
// Token: 0x06002A69 RID: 10857 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002A69")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
protected CustomConstantAttribute()
{
}
}
}