CompilationRelaxationsAttribute Class
Controls the strictness of the code generated by the common language runtime's just-in-time (JIT) compiler.
For a list of all members of this type, see CompilationRelaxationsAttribute Members.
System.Object
System.Attribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
[Visual Basic] <AttributeUsage(AttributeTargets.Module)> <Serializable> Public Class CompilationRelaxationsAttribute Inherits Attribute [C#] [AttributeUsage(AttributeTargets.Module)] [Serializable] public class CompilationRelaxationsAttribute : Attribute [C++] [AttributeUsage(AttributeTargets::Module)] [Serializable] public __gc class CompilationRelaxationsAttribute : public Attribute [JScript] public AttributeUsage(AttributeTargets.Module) Serializable class CompilationRelaxationsAttribute extends Attribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
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
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
CompilationRelaxationsAttribute Members | System.Runtime.CompilerServices Namespace