55 lines
2.5 KiB
C#
55 lines
2.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Runtime.CompilerServices
|
|
{
|
|
/// <summary>Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.</summary>
|
|
// Token: 0x02000570 RID: 1392
|
|
[Token(Token = "0x2000570")]
|
|
[ComVisible(true)]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)]
|
|
[Serializable]
|
|
public class CompilationRelaxationsAttribute : Attribute
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" /> class with the specified compilation relaxations.</summary>
|
|
/// <param name="relaxations">The compilation relaxations.</param>
|
|
// Token: 0x06002C73 RID: 11379 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C73")]
|
|
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
|
public CompilationRelaxationsAttribute(int relaxations)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxationsAttribute" /> class with the specified <see cref="T:System.Runtime.CompilerServices.CompilationRelaxations" /> value.</summary>
|
|
/// <param name="relaxations">One of the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxations" /> values.</param>
|
|
// Token: 0x06002C74 RID: 11380 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002C74")]
|
|
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
|
public CompilationRelaxationsAttribute(CompilationRelaxations relaxations)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the compilation relaxations specified when the current object was constructed.</summary>
|
|
/// <returns>The compilation relaxations specified when the current object was constructed.
|
|
/// Use the <see cref="T:System.Runtime.CompilerServices.CompilationRelaxations" /> enumeration with the <see cref="P:System.Runtime.CompilerServices.CompilationRelaxationsAttribute.CompilationRelaxations" /> property.</returns>
|
|
// Token: 0x170006BE RID: 1726
|
|
// (get) Token: 0x06002C75 RID: 11381 RVA: 0x00018CA8 File Offset: 0x00016EA8
|
|
[Token(Token = "0x170006BE")]
|
|
public int CompilationRelaxations
|
|
{
|
|
[Token(Token = "0x6002C75")]
|
|
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400195A RID: 6490
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400195A")]
|
|
private int m_relaxations;
|
|
}
|
|
}
|