.NET Core中的String.Intern方法在哪里?

ast*_*tef 4 c# string .net-core

我已经创建了新的.NET Core控制台应用程序,但无法找到字符串实习方法.

这是一个旧的文档:https://msdn.microsoft.com/en-us/library/system.string.intern(v= vs.110) .aspx

xan*_*tos 7

取自IronLanguagesgithub问题页面(具有相同的问题):

String.Intern将添加到.NET Standard 2.0中,它也将由.NET Core实现:

https://github.com/dotnet/standard/blob/master/netstandard/ref/mscorlib.cs#L3048

corefxgithub似乎支持这个:缺少一个功能System.String.Intern(System.String),问题标记为netstandard2.0.