Skip to content

Fix IDE0049 in System.Management.Automation. Part 2 - #27378

Merged
Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
xtqqczze:IDE0049-sma-p2
May 6, 2026
Merged

Dongbo Wang (daxian-dbw) merged 1 commit into
PowerShell:masterfrom
xtqqczze:IDE0049-sma-p2

Conversation

@xtqqczze

@xtqqczze xtqqczze commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

Contributes to: #25922.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates System.Management.Automation to comply with IDE0049 style guidance by using C# language keywords instead of framework type names.

Changes:

  • Replaced Int32.MaxValue with int.MaxValue in HelpCommentsParser.GetCommentBlock.

@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label May 6, 2026
@daxian-dbw
Dongbo Wang (daxian-dbw) merged commit 81fd592 into PowerShell:master May 6, 2026
38 of 41 checks passed
@xtqqczze
xtqqczze deleted the IDE0049-sma-p2 branch May 6, 2026 21:11
Justin Grote (JustinGrote) pushed a commit to JustinGrote/PowerShell that referenced this pull request Jun 2, 2026
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants