How does CompilationRelaxations.NoStringInterning actually work?

前端 未结 3 743
渐次进展
渐次进展 2021-01-13 03:42

I am having problems demonstrating NoStringInterning

[assembly: System.Runtime.CompilerServices.CompilationRelaxations(System.Runtime.CompilerServices.Compil         


        
3条回答
  •  醉话见心
    2021-01-13 04:20

    The MSDN description for NoStringInterning says

    "Marks an assembly as not requiring string-literal interning."

    Saying that an assembly does not require interning is not the same as saying that the feature should be turned off. AFAIK there's no way to do that (except for NGEN).

提交回复
热议问题