Why .NET Core Source Code need a lot of “#if !CORECLR static #endif” on method?

前端 未结 0 1734
谎友^
谎友^ 2020-12-18 15:00

E.g: Github dotnet/runtime/String.cs source code

        private
#if !CORECLR
        static
#endif
        string Ctor(char[]? value)
        {
            i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题