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: 0x02000552 RID: 1362
|
|
[Token(Token = "0x2000552")]
|
|
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)]
|
|
[ComVisible(true)]
|
|
[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: 0x06002A64 RID: 10852 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A64")]
|
|
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
|
|
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: 0x06002A65 RID: 10853 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002A65")]
|
|
[Address(RVA = "0x4D83A0", Offset = "0x4D71A0", VA = "0x1804D83A0")]
|
|
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: 0x17000646 RID: 1606
|
|
// (get) Token: 0x06002A66 RID: 10854 RVA: 0x000168D8 File Offset: 0x00014AD8
|
|
[Token(Token = "0x17000646")]
|
|
public int CompilationRelaxations
|
|
{
|
|
[Token(Token = "0x6002A66")]
|
|
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001897 RID: 6295
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001897")]
|
|
private int m_relaxations;
|
|
}
|
|
}
|