From 89b249033bac24af1d34a2f313363b1d26f18d35 Mon Sep 17 00:00:00 2001 From: xtqqczze Date: Thu, 5 Nov 2020 17:11:32 +0000 Subject: [PATCH] Enable IDE0019: InlineAsTypeCheck https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0019 --- .globalconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.globalconfig b/.globalconfig index b125f70e254..68fb0a66b2d 100644 --- a/.globalconfig +++ b/.globalconfig @@ -1222,7 +1222,7 @@ dotnet_diagnostic.IDE0018.severity = silent # IDE0019: InlineAsTypeCheck # https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0019 -dotnet_diagnostic.IDE0019.severity = silent +dotnet_diagnostic.IDE0019.severity = warning # IDE0020: InlineIsTypeCheck # https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0020