Mute BHI1005

"Default branch of switch expression should throw
InvalidOperationException/SwitchExpressionException or not throw"
This commit is contained in:
YoshiRulz 2025-02-22 11:57:02 +10:00
parent 03bf156a91
commit d4b3b22c9e
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ dotnet_diagnostic.BHI1003.severity = error
# Verbatim interpolated strings should begin $@, not @$
dotnet_diagnostic.BHI1004.severity = error
# Default branch of switch expression should throw InvalidOperationException/SwitchExpressionException or not throw
dotnet_diagnostic.BHI1005.severity = error
dotnet_diagnostic.BHI1005.severity = silent
# Do not discard local variables
dotnet_diagnostic.BHI1006.severity = error
# Don't use target-typed new for throw expressions