scripts
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
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: 0x02000293 RID: 659
|
||||
[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: 0x060020E1 RID: 8417 RVA: 0x00078B7C File Offset: 0x00076D7C
|
||||
public CompilationRelaxationsAttribute(int relaxations)
|
||||
{
|
||||
this.relax = 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: 0x060020E2 RID: 8418 RVA: 0x00078B8C File Offset: 0x00076D8C
|
||||
public CompilationRelaxationsAttribute(CompilationRelaxations relaxations)
|
||||
{
|
||||
this.relax = (int)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: 0x1700062A RID: 1578
|
||||
// (get) Token: 0x060020E3 RID: 8419 RVA: 0x00078B9C File Offset: 0x00076D9C
|
||||
public int CompilationRelaxations
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.relax;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000BC4 RID: 3012
|
||||
private int relax;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user