mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix IDE0049 in System.Management.Automation [Part 3] (#27379)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user