From d943b078b156f7d78fd7a7a0cbe66a5e76486ed9 Mon Sep 17 00:00:00 2001 From: elachlan <2433737+elachlan@users.noreply.github.com> Date: Tue, 11 Jan 2022 08:21:00 +1000 Subject: [PATCH] Enable warning on CA1050 --- eng/Common.globalconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Common.globalconfig b/eng/Common.globalconfig index fd878420d57..b310b7f473c 100644 --- a/eng/Common.globalconfig +++ b/eng/Common.globalconfig @@ -113,7 +113,7 @@ dotnet_diagnostic.CA1046.severity = none dotnet_diagnostic.CA1047.severity = warning # Declare types in namespaces -dotnet_diagnostic.CA1050.severity = suggestion +dotnet_diagnostic.CA1050.severity = warning # Do not declare visible instance fields dotnet_diagnostic.CA1051.severity = none