Skip to content

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

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

Fix IDE0049 in System.Management.Automation. Part 2#27378
daxian-dbw merged 1 commit into
PowerShell:masterfrom
xtqqczze:IDE0049-sma-p2

Conversation

@xtqqczze
Copy link
Copy Markdown
Contributor

@xtqqczze xtqqczze commented Apr 29, 2026

Contributes to: #25922.

Copilot AI review requested due to automatic review settings April 29, 2026 12:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 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 daxian-dbw merged commit 81fd592 into PowerShell:master May 6, 2026
39 of 42 checks passed
@xtqqczze xtqqczze deleted the IDE0049-sma-p2 branch May 6, 2026 21:11
JustinGrote pushed a commit to JustinGrote/PowerShell that referenced this pull request Jun 2, 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