XAML Studio should make more extensive use of modern C# features

未关闭
#60 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

@John-Leitch 已经在做这个了。

开始于 2026年1月21日。

  • #61 来自 @John-Leitch —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp
领域
desktop

调研方向

未确定任何文件、测试或入口点。首先调查 C# 代码库,并定义一组范围明确的现代化目标;当所选目标使用所要求的现代 C# 功能且不改变行为时,即视为完成。

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

描述

bug
Describe the bug

To improve maintainability, the XAML Studio codebase should make greater use of modern C# features such as expression bodied members, implicit object creation, etc.

Steps to reproduce
N/A
Expected behavior

N/A

Screenshots

No response

Windows Build Number
  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 10 21H2 (Build 19044)
  • Windows 10 22H2 (Build 19045)
  • Windows 11 21H2 (Build 22000)
  • Windows 11 22H2 (Build 22621)
  • Windows 11 23H2 (Build 22631)
  • Windows 11 24H2 (Build 26100)
  • Windows 11 25H2 (Build 26200)
  • Windows 11 26H1 (Build 28000)
  • Other (specify)
Other Windows Build number

No response

Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item.

主要语言
C#
星标
456
派生
48
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

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

dotnet/XAMLStudio 的其他 Issue

查看 dotnet/XAMLStudio 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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