System.Runtime.CompilerServices.CompilationRelaxations.NoStringInterning Field

Marks an assembly as not requiring string-literal interning.


CompilationRelaxations NoStringInterning


In an application domain, the common language runtime creates one string object for each unique string literal, rather than making multiple copies. This behavior, called string interning, internally requires building auxiliary tables that consume memory resources.


Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0