Enable IDE0077: LegacyFormatSuppressMessageAttribute (#14495)

https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0077
This commit is contained in:
xtqqczze 2021-01-07 09:48:49 +00:00 committed by GitHub
parent 65456893bd
commit 89c2ad3e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -959,7 +959,7 @@ dotnet_diagnostic.IDE0075.severity = warning
dotnet_diagnostic.IDE0076.severity = silent
# IDE0077: LegacyFormatSuppressMessageAttribute
dotnet_diagnostic.IDE0077.severity = silent
dotnet_diagnostic.IDE0077.severity = warning
# IDE0078: UsePatternCombinators
dotnet_diagnostic.IDE0078.severity = silent

View file

@ -7,7 +7,7 @@ using System.Globalization;
using System.Management.Automation;
using System.Text;
[module: SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Scope = "type", Target = "Microsoft.PowerShell.Commands.ByteCollection")]
[module: SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix", Scope = "type", Target = "~T:Microsoft.PowerShell.Commands.ByteCollection")]
namespace Microsoft.PowerShell.Commands
{