Fix IDE0038

This commit is contained in:
RoosterDragon
2023-02-19 11:28:54 +00:00
committed by Gustas
parent 71ce515d6d
commit 5b70d344cc
15 changed files with 33 additions and 29 deletions

View File

@@ -153,7 +153,7 @@ dotnet_diagnostic.IDE0018.severity = warning
# Use pattern matching to avoid 'as' followed by a 'null' check.
dotnet_diagnostic.IDE0019.severity = warning
# Use pattern matching to avoid 'is' check followed by a cast.
# Use pattern matching to avoid 'is' check followed by a cast (with variable).
dotnet_diagnostic.IDE0020.severity = warning
# Collection initialization can be simplified.
@@ -177,6 +177,9 @@ dotnet_diagnostic.IDE0034.severity = warning
# Modifiers are not ordered.
dotnet_diagnostic.IDE0036.severity = warning
# Use pattern matching to avoid 'is' check followed by a cast (without variable).
dotnet_diagnostic.IDE0038.severity = warning
# Use local function instead of lambda.
dotnet_diagnostic.IDE0039.severity = warning