CompilationRelaxationsAttribute Constructors

Definition

Initializes a new instance of the CompilationRelaxationsAttribute class.

Overloads

CompilationRelaxationsAttribute(Int32)

Initializes a new instance of the CompilationRelaxationsAttribute class with the specified compilation relaxations.

CompilationRelaxationsAttribute(CompilationRelaxations)

Initializes a new instance of the CompilationRelaxationsAttribute class with the specified CompilationRelaxations value.

CompilationRelaxationsAttribute(Int32)

Initializes a new instance of the CompilationRelaxationsAttribute class with the specified compilation relaxations.

public:
 CompilationRelaxationsAttribute(int relaxations);
public CompilationRelaxationsAttribute (int relaxations);
new System.Runtime.CompilerServices.CompilationRelaxationsAttribute : int -> System.Runtime.CompilerServices.CompilationRelaxationsAttribute
Public Sub New (relaxations As Integer)

Parameters

relaxations
Int32

The compilation relaxations.

Remarks

Apply the CompilationRelaxationsAttribute attribute to assemblies to specify assembly compilation parameters.

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

See also

CompilationRelaxationsAttribute(CompilationRelaxations)

Initializes a new instance of the CompilationRelaxationsAttribute class with the specified CompilationRelaxations value.

public:
 CompilationRelaxationsAttribute(System::Runtime::CompilerServices::CompilationRelaxations relaxations);
public CompilationRelaxationsAttribute (System.Runtime.CompilerServices.CompilationRelaxations relaxations);
new System.Runtime.CompilerServices.CompilationRelaxationsAttribute : System.Runtime.CompilerServices.CompilationRelaxations -> System.Runtime.CompilerServices.CompilationRelaxationsAttribute
Public Sub New (relaxations As CompilationRelaxations)

Parameters

relaxations
CompilationRelaxations

One of the CompilationRelaxations values.

Remarks

Apply the CompilationRelaxationsAttribute attribute to assemblies to specify assembly compilation parameters.

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

See also

Applies to