Fix IDE0049 in System.Management.Automation [Part 3] (#27379)

This commit is contained in:
xtqqczze
2026-05-06 14:06:04 -07:00
committed by GitHub
parent 81fd5923a1
commit 850d5387f6
2 changed files with 5 additions and 5 deletions
@@ -745,7 +745,7 @@ namespace System.Management.Automation
{ typeof(Guid), new[] { "guid" } },
{ typeof(Hashtable), new[] { "hashtable" } },
{ typeof(int), new[] { "int", "int32" } },
{ typeof(Int16), new[] { "short", "int16" } },
{ typeof(short), new[] { "short", "int16" } },
{ typeof(long), new[] { "long", "int64" } },
{ typeof(CimInstance), new[] { "ciminstance" } },
{ typeof(CimClass), new[] { "cimclass" } },
@@ -778,9 +778,9 @@ namespace System.Management.Automation
{ typeof(BigInteger), new[] { "bigint" } },
{ typeof(SecureString), new[] { "securestring" } },
{ typeof(TimeSpan), new[] { "timespan" } },
{ typeof(UInt16), new[] { "ushort", "uint16" } },
{ typeof(UInt32), new[] { "uint", "uint32" } },
{ typeof(UInt64), new[] { "ulong", "uint64" } },
{ typeof(ushort), new[] { "ushort", "uint16" } },
{ typeof(uint), new[] { "uint", "uint32" } },
{ typeof(ulong), new[] { "ulong", "uint64" } },
{ typeof(Uri), new[] { "uri" } },
{ typeof(ValidateCountAttribute), new[] { "ValidateCount" } },
{ typeof(ValidateDriveAttribute), new[] { "ValidateDrive" } },
@@ -7939,7 +7939,7 @@ namespace System.Management.Automation.Language
/// <summary>
/// The static type produced after the cast is normally the type named by <see cref="Type"/>, but in some cases
/// it may not be, in which, <see cref="Object"/> is assumed.
/// it may not be, in which, <see cref="object"/> is assumed.
/// </summary>
public override Type StaticType
{