Indicates whether instruction checking is strictly ordered or relaxed, and whether strings are interned. The flags come in complementary pairs. Setting neither flag of a pair indicates that the corresponding characteristic should be left unchanged. Setting both bits is an error that is detected by the constructor for
System.Runtime.CompilerServices.CompilationRelaxationsAttribute.
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum CompilationRelaxations
Member Name | Description |
---|
NoStringInterning | Indicates that literal strings are not interned; currently only noticed when set for Assemblies. |
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0