Typo: 'ifs' instead of 'its' in `System.Array.IndexOf(Array, Object, Int32, Int32)` function description

未关闭 适合新手
#13,122 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@gewarren 已经在做这个了。

开始于 2026年10月1日。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
95/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
csharp
领域
documentation

调研方向

从 xml/System/Array.xml 开始,这是链接的 System.Array.IndexOf API 页面内容源。找到包含 Array、Object、Int32 和 Int32 的重载的描述,纠正拼写,并确认生成的文档使用了预期的措辞。

由索引模型根据 Issue 内容生成。

描述

untriaged
Type of issue

Typo

Description

The description of System.Array.IndexOf(Array, Object, Int32, Int32) has a minor typo. It states "...returns the index of ifs first occurrence", instead of "returns the index of its first occurrence" when following the correct spelling/grammar.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.array.indexof?view=netframework-4.7.1#system-array-indexof(system-array-system-object-system-int32-system-int32)

Content source URL

https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/System/Array.xml

Document Version Independent Id

39fe6dae-fd62-9ca7-4f48-849516524963

Platform Id

7f4e118d-b65e-c7d0-8f41-8a7c9e35a0a5

Article author

@dotnet-bot

主要语言
C#
星标
955
派生
1.7k
平均合并
13 小时 8 分钟
30 天内合并 PR
104

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/dotnet-api-docs 的其他 Issue

查看 dotnet/dotnet-api-docs 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。