共通言語ランタイムのジャスト イン タイム (JIT: just-in-time) コンパイラが生成するコードの厳格度を制御します。
この型のすべてのメンバの一覧については、CompilationRelaxationsAttribute メンバ を参照してください。
System.Object
System.Attribute
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
<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
スレッドセーフ
この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。
解説
この属性は、Microsoft .NET Framework Version 1.0 では無視されます。
System.Runtime.CompilerServices のクラスはコンパイラ ライタ専用です。
必要条件
名前空間: System.Runtime.CompilerServices
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
アセンブリ: Mscorlib (Mscorlib.dll 内)
参照
CompilationRelaxationsAttribute メンバ | System.Runtime.CompilerServices 名前空間