[Flags]public enum CompilationRelaxations
Object
ValueType
Enum
CompilationRelaxations
mscorlib
RuntimeInfrastructure
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 CompilationRelaxationsAttribute.
FlagsAttribute
System.Runtime.CompilerServices Namespace
CompilationRelaxations Fields
CompilationRelaxations.NoStringInterning Field
CompilationRelaxations.RelaxedArrayExceptions Field
CompilationRelaxations.RelaxedInvalidCastException Field
CompilationRelaxations.RelaxedNullReferenceException Field
CompilationRelaxations.RelaxedOverflowExceptions Field
CompilationRelaxations.StrictArrayExceptions Field
CompilationRelaxations.StrictInvalidCastException Field
CompilationRelaxations.StrictNullReferenceException Field
CompilationRelaxations.StrictOverflowExceptions Field
CompilationRelaxations.StringInterning Field
CompilationRelaxations.value__ Field
NoStringInterning = 0x8
Indicates that literal strings are not interned; currently only noticed when set for Assemblies.
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
RelaxedArrayExceptions = 0x200
Indicates that instruction checking for IndexOutOfRangeException, RankException, and ArrayTypeMismatchException is not strictly ordered (that is, it is relaxed).
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
RelaxedInvalidCastException = 0x80
Indicates that instruction checking for InvalidCastException is not strictly ordered (that is, it is relaxed).
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
RelaxedNullReferenceException = 0x20
Indicates that instruction checking for NullReferenceException and access violations is not strictly ordered (that is, it is relaxed).
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
RelaxedOverflowExceptions = 0x800
Indicates that instruction checking for OverflowException and DivideByZeroException is not strictly ordered (that is, it is relaxed).
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
StrictArrayExceptions = 0x100
Indicates that instruction checking for IndexOutOfRangeException, RankException, and ArrayTypeMismatchException is strictly ordered.
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
StrictInvalidCastException = 0x40
Indicates that instruction checking for InvalidCastException is strictly ordered.
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
StrictNullReferenceException = 0x10
Indicates that instruction checking for NullReferenceException and access violations is strictly ordered.
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
StrictOverflowExceptions = 0x400
Indicates that instruction checking for OverflowException and DivideByZeroException is strictly ordered.
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
StringInterning = 0x4
Indicates that literal strings are interned.
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace
value__
System.Runtime.CompilerServices.CompilationRelaxations Enum, System.Runtime.CompilerServices Namespace