.net - .Net Core 的 System.String 的源代码在哪里?

标签 .net .net-core

String旧版本的类应该在 http://referencesource.microsoft.com/#mscorlib/system/string.cs .我在哪里可以找到 .Net Core 的类(class)。还有哪里可以找到StringNative.cpp这是一个基础?

最佳答案

所有 .NET Core 源代码都在 Github 上,分为 corefx对于超出 CLR 真正依赖的位的 BCL 和 coreclr用于 CLR 和 BCL 的核心部分(如字符串)。

stringnative.cpp 是 CoreCLR 字符串实现的 native 部分, String.cs 包含托管代码。

关于.net - .Net Core 的 System.String 的源代码在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37226885/

相关文章:

c# - 计时器流逝的资源全局化

c# - 如何生成一定范围内的随机 BigInteger?

sql-server - 如何在FromSqlInterpolated中使用SQL输出参数?或替代

c# - 如何在 Redis 缓存中添加/更新/删除值

c# - 我应该使用哪一个? decimal.Add() 或 "+"

c# - 无法在 C# 中使用 httpclient 获取 header "Content-Disposition"

msbuild - Visual Studio 2017 MSBuild 任务开发

c# - 带有字典的 asp.net core ioptions

c# - 为什么接口(interface)在 IL 级别作为 "abstract interface"发出?

ubuntu - Ubuntu 上的 .NET Core 3.1 MSBuild 缺少 libc.musl-x86_64.so.1