◐ Shell
clean mode source ↗

Fix `IDE0049` in `System.Management.Automation`. Part 3 by xtqqczze · Pull Request #27379 · PowerShell/PowerShell

Pull request overview

This PR continues the IDE0049 cleanup in System.Management.Automation by switching framework type names to C# language keywords where appropriate, improving consistency with analyzer recommendations in the parser/type system area.

Changes:

  • Updated XML documentation in ast.cs to refer to object (keyword) instead of Object.
  • Updated CoreTypes accelerator mappings in TypeResolver.cs to use keyword types (short, ushort, uint, ulong) instead of Int16/UInt16/UInt32/UInt64.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/System.Management.Automation/engine/parser/ast.cs Aligns doc comment type reference with keyword usage (object).
src/System.Management.Automation/engine/parser/TypeResolver.cs Uses C# keyword aliases for integral types in the core type accelerator map.