Skip to content

Commit

Permalink
Fix IDE0110
Browse files Browse the repository at this point in the history
  • Loading branch information
RoosterDragon authored and penev92 committed Apr 8, 2023
1 parent 8a285f9 commit 1ce9acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ dotnet_diagnostic.IDE0100.severity = warning

# IDE0110 Remove unnecessary discard
# No options
dotnet_diagnostic.IDE0110.severity = silent # Requires C# 9 - TODO Consider enabling
dotnet_diagnostic.IDE0110.severity = warning

### Miscellaneous Rules
### https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/miscellaneous-rules
Expand Down
2 changes: 1 addition & 1 deletion OpenRA.Game/Network/LocalizedMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static FluentArgumentType GetFluentArgumentType(object value)
{
switch (value.ToFluentType())
{
case FluentNumber _:
case FluentNumber:
return FluentArgumentType.Number;
default:
return FluentArgumentType.String;
Expand Down

0 comments on commit 1ce9acd

Please sign in to comment.