CompilationRelaxationsAttribute Constructor (CompilationRelaxations)

 

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

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public:
CompilationRelaxationsAttribute(
	CompilationRelaxations relaxations
)

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

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

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: