2 条评论 (2 条评论)0 个反应 (0 个反应)0 位负责人 (0 位负责人)C#5,445 个派生 (5,445 个派生)batch import
area-Metahelp wanted
仓库指标
- 星标
- 17,886 个星标 (17,886 个星标)
- PR 合并指标
- 平均合并 12天 11小时 (平均合并 12天 11小时)30 天内合并 661 个 PR (30 天内合并 661 个 PR)
描述
See https://github.com/dotnet/runtime/issues/57349 for details.
There are currently usages of this API, these should be replaced with GetBestTypeByMetadataName and also BannedApiAnalyzers should be used to prevent any accidental future usages.
贡献者指南
- 研究方向
- 在 dotnet/runtime 仓库中查找所有 `GetTypeByMetadataName` 的用法。根据 issue #57349 中的指导,将每个用法替换为 `GetBestTypeByMetadataName`。然后添加一条 BannedApiAnalyzers 规则以防止将来使用 `GetTypeByMetadataName`。检查替换后可能产生差异的任何边缘情况。
- 技术栈
- csharp
- 领域
- developer experience
- 议题类型
- 重构
- 前置要求
- C#