`Argument.Arity` modify internal state on first get access.
还没有人认领这个 Issue。
评估
调研方向
从 src/System.CommandLine/Argument.cs 的第 35–43 行开始,检查首次读取 Argument.Arity 时内部状态如何发生变化。确认调试器检查可以使用不会初始化 Arity 的视图,并在调试器中检查 Argument 后 Arity 的内部状态保持不变时,认为 issue 已完成。
由索引模型根据 Issue 内容生成。
描述
Argument.Arity modify internal state on first get access:
https://github.com/dotnet/command-line-api/blob/7a5ab9e32c4a8a66b925b9380408a6847e3fd098/src/System.CommandLine/Argument.cs#L35-L43
This behavior can be problematic with debugger. As debugger display value for property it would be fixed with possibly incorrect value. Argument should define debugger view that does not initialize Arity on first get access.
- 主要语言
- C#
- 星标
- 3.7k
- 派生
- 432
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/command-line-api 的其他 Issue
-
German localization is incomplete可能已有人在做 @b-v-d-e-v 于 6 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/command-line-api#2852 ·
-
Incomplete French (fr) translation: RequiredOptionWasNotProvided not translated可能已有人在做 @JPBlanc 于 103 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
dotnet/command-line-api#2822 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
dotnet/command-line-api#2792 · 2 条评论 · 15 个 reaction ·
-
GetCompletions should check exit code of invoked application可能已有人在做 @baradgur 于 1275 天前认领。 未关闭Area-Completions bug help wanted
难度 2/5 1-3 小时 新手友好度 72/100
dotnet/command-line-api#2137 · 1 条评论 · 3 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 76/100
dotnet/command-line-api#2850 ·
查看 dotnet/command-line-api 的全部 Issue
相似的 Issue
-
bug component/other
难度 2/5 1-3 小时 新手友好度 73/100
umbraco/Umbraco.AI#511 ·
维护者通常 1 天内回复
-
sev:L
难度 1/5 1 小时以内 新手友好度 72/100
Systemorph/MeshWeaver#6233 ·
维护者通常 1 天内回复
-
[Bug]:未关闭bug needs response
难度 2/5 1-3 小时 新手友好度 66/100
Adyen/adyen-dotnet-api-library#1874 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
CommunityToolkit/Aspire#2231 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 90/100
Flow-Launcher/Flow.Launcher#4697 ·
维护者通常 4 天内回复