using System; using System.Runtime.InteropServices; namespace System.Runtime.CompilerServices { /// Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler. // Token: 0x02000293 RID: 659 [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Method)] [ComVisible(true)] [Serializable] public class CompilationRelaxationsAttribute : Attribute { /// Initializes a new instance of the class with the specified compilation relaxations. /// The compilation relaxations. // Token: 0x060020E1 RID: 8417 RVA: 0x00078B7C File Offset: 0x00076D7C public CompilationRelaxationsAttribute(int relaxations) { this.relax = relaxations; } /// Initializes a new instance of the class with the specified value. /// One of the values. // Token: 0x060020E2 RID: 8418 RVA: 0x00078B8C File Offset: 0x00076D8C public CompilationRelaxationsAttribute(CompilationRelaxations relaxations) { this.relax = (int)relaxations; } /// Gets the compilation relaxations specified when the current object was constructed. /// The compilation relaxations specified when the current object was constructed.Use the enumeration with the property. // 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; } }