CompilationRelaxationsAttribute Constructor (CompilationRelaxations)
.NET Framework (current version)
Initializes a new instance of the CompilationRelaxationsAttribute class with the specified CompilationRelaxations value.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- relaxations
-
Type:
System.Runtime.CompilerServices::CompilationRelaxations
One of the CompilationRelaxations values.
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
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: