52 lines
2.4 KiB
C#
52 lines
2.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Stores the value of a <see cref="T:System.Decimal" /> constant in metadata. This class cannot be inherited.</summary>
|
|
// Token: 0x02000556 RID: 1366
|
|
[Token(Token = "0x2000556")]
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class DecimalConstantAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.DecimalConstantAttribute" /> class with the specified unsigned integer values.</summary>
|
|
/// <param name="scale">The power of 10 scaling factor that indicates the number of digits to the right of the decimal point. Valid values are 0 through 28 inclusive.</param>
|
|
/// <param name="sign">A value of 0 indicates a positive value, and a value of 1 indicates a negative value.</param>
|
|
/// <param name="hi">The high 32 bits of the 96-bit <see cref="P:System.Runtime.CompilerServices.DecimalConstantAttribute.Value" />.</param>
|
|
/// <param name="mid">The middle 32 bits of the 96-bit <see cref="P:System.Runtime.CompilerServices.DecimalConstantAttribute.Value" />.</param>
|
|
/// <param name="low">The low 32 bits of the 96-bit <see cref="P:System.Runtime.CompilerServices.DecimalConstantAttribute.Value" />.</param>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="scale" /> > 28.</exception>
|
|
// Token: 0x06002A6B RID: 10859 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A6B")]
|
|
[Address(RVA = "0x294C210", Offset = "0x294B010", VA = "0x18294C210")]
|
|
[CLSCompliant(false)]
|
|
public DecimalConstantAttribute(byte scale, byte sign, uint hi, uint mid, uint low)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the decimal constant stored in this attribute.</summary>
|
|
/// <returns>The decimal constant stored in this attribute.</returns>
|
|
// Token: 0x17000649 RID: 1609
|
|
// (get) Token: 0x06002A6C RID: 10860 RVA: 0x000168F0 File Offset: 0x00014AF0
|
|
[Token(Token = "0x17000649")]
|
|
public decimal Value
|
|
{
|
|
[Token(Token = "0x6002A6C")]
|
|
[Address(RVA = "0x6808B0", Offset = "0x67F6B0", VA = "0x1806808B0")]
|
|
get
|
|
{
|
|
return 0m;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001899 RID: 6297
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001899")]
|
|
private decimal dec;
|
|
}
|
|
}
|