System.Runtime.CompilerServices.CompilationRelaxationsAttribute Class

Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.

See Also: CompilationRelaxationsAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Module | System.AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.All)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CompilationRelaxationsAttribute : Attribute

Remarks

Apply the System.Runtime.CompilerServices.CompilationRelaxationsAttribute attribute to assemblies to specify assembly compilation parameters. Use the System.Runtime.CompilerServices.CompilationRelaxations enumeration to specify compilation options.

This attribute is ignored in version 1.0 of the Microsoft .NET Framework.

The classes in System.Runtime.CompilerServices are for compiler writers' use only.

Requirements

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0