diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props new file mode 100644 index 0000000000000000000000000000000000000000..c5a58185fa27b33709ec3b3c6855d1556b36ba56 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.props @@ -0,0 +1,7 @@ + + + + $(MSBuildThisFileDirectory)..\tools\net472\Microsoft.Build.Tasks.Git.dll + $(MSBuildThisFileDirectory)..\tools\core\Microsoft.Build.Tasks.Git.dll + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets new file mode 100644 index 0000000000000000000000000000000000000000..520ae2948b99e4effcd96cad1fda07cc425d7382 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets @@ -0,0 +1,61 @@ + + + + + + + + local + + + + + + + + + + + + + + + git + + + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props new file mode 100644 index 0000000000000000000000000000000000000000..83490ca49ccc609d480d3ec771cb70f107d54072 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.props @@ -0,0 +1,4 @@ + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets new file mode 100644 index 0000000000000000000000000000000000000000..54933eae71b6d9f4ff28f994d1aa586b3342a9b0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/buildMultiTargeting/Microsoft.Build.Tasks.Git.targets @@ -0,0 +1,4 @@ + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/Microsoft.Build.Tasks.Git.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/Microsoft.Build.Tasks.Git.dll new file mode 100644 index 0000000000000000000000000000000000000000..f73095a56190a0dda577432f7893e406a44d55c7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/Microsoft.Build.Tasks.Git.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/cs/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/cs/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6c22486da6100bbde5ec3b8d05b4e2a099a81fb5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/cs/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/de/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/de/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..999263bd1c8517ee7e15f9d8ef24bb09a828e11b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/de/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/es/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/es/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..86ead0ac006d78c9153e9b86ac388ddb4f292a72 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/es/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/fr/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/fr/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..670a32e6e9e9cb82d8a0c7a7b159c6c9b3807699 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/fr/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/it/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/it/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4959bdce6c3dca1d96d51996d1bdb8c6cea689f9 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/it/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ja/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ja/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d72b78503ba9aeef581e86e089af5ad0c8455e71 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ja/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ko/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ko/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7b71e7d9172866ce0e36ef949de286fa05ce570a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ko/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/pl/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/pl/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..04faca2993a13b2110e8152a2683a4c67e62a788 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/pl/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/pt-BR/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/pt-BR/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d2d8d6f9e6dea5f1f8412138a939025a56bdca2e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/pt-BR/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ru/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ru/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6072c7f5bb32c8a58e5ef6b6b577c9560560d6b5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/ru/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/tr/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/tr/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..123e1ff1c49555f40a347ffdf098561a6c59ff20 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/core/tr/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/Microsoft.Build.Tasks.Git.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/Microsoft.Build.Tasks.Git.dll new file mode 100644 index 0000000000000000000000000000000000000000..22afe2f94fd010615895da838440c663e711645c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/Microsoft.Build.Tasks.Git.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/cs/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/cs/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9f4eadc238fdaf73f892e1069f234835b72b2a00 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/cs/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/de/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/de/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..87270ccecf17baf0c71fb87849674fdeb367ba4b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/de/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/es/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/es/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2de72a12705691de57fd1abe82fbc9a00de34840 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/es/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/fr/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/fr/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d60b517791012d91fee8ca06a0f984771bfa228a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/fr/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/it/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/it/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..732f753e98cc780ef9a51dd996ddb3d4b8ef3277 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/it/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ja/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ja/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c53e26b47767da7a7aee6802f87c044cdd434067 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ja/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ko/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ko/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..83fd3414b23342cfa342b47a75b4a682cd766b93 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ko/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/pl/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/pl/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..874a6da6c8ed9f5eadcfa1284cb50ec5cd0bf4e5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/pl/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/pt-BR/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/pt-BR/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..17814a5d6bb08695158f50c20945d38d87df5df5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/pt-BR/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ru/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ru/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c2ab8bad8a565494ba3676fa1b05585b0b7805ad Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/ru/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/tr/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/tr/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..70d4b2c9d7bdcfa7f97956aec73dbb851f173c2a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/tr/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/zh-Hans/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/zh-Hans/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4270a9a1725a44cc129ad4464a43020eeceac994 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/zh-Hans/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/zh-Hant/Microsoft.Build.Tasks.Git.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/zh-Hant/Microsoft.Build.Tasks.Git.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..905f18c9cd5d1b6532ea681dd3f6aa87d0770137 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.Build.Tasks.Git/tools/net472/zh-Hant/Microsoft.Build.Tasks.Git.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.props new file mode 100644 index 0000000000000000000000000000000000000000..96da47897b0060c96c8b7d41cd2799040d1ac0e2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.props @@ -0,0 +1,44 @@ + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + Debug + AnyCPU + bin\$(Configuration)\ + DockerCompose + true + false + false + None + + + + false + true + true + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.targets new file mode 100644 index 0000000000000000000000000000000000000000..62a4e80943c8b3c400f8dd791e8c09019ee0e93c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.Docker.Sdk/Sdk/Sdk.targets @@ -0,0 +1,31 @@ + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props new file mode 100644 index 0000000000000000000000000000000000000000..c165fd7e823d85aed2517a662dff044f02d58b1c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.props @@ -0,0 +1,25 @@ + + + + + + + + <_NETAnalyzersSDKAssemblyVersion>9.0.0 + + + + + CA1000;CA1001;CA1002;CA1003;CA1005;CA1008;CA1010;CA1012;CA1014;CA1016;CA1017;CA1018;CA1019;CA1021;CA1024;CA1027;CA1028;CA1030;CA1031;CA1032;CA1033;CA1034;CA1036;CA1040;CA1041;CA1043;CA1044;CA1045;CA1046;CA1047;CA1050;CA1051;CA1052;CA1054;CA1055;CA1056;CA1058;CA1060;CA1061;CA1062;CA1063;CA1064;CA1065;CA1066;CA1067;CA1068;CA1069;CA1070;CA1200;CA1303;CA1304;CA1305;CA1307;CA1308;CA1309;CA1310;CA1311;CA1401;CA1416;CA1417;CA1418;CA1419;CA1420;CA1421;CA1422;CA1501;CA1502;CA1505;CA1506;CA1507;CA1508;CA1509;CA1510;CA1511;CA1512;CA1513;CA1514;CA1515;CA1700;CA1707;CA1708;CA1710;CA1711;CA1712;CA1713;CA1715;CA1716;CA1720;CA1721;CA1724;CA1725;CA1727;CA1802;CA1805;CA1806;CA1810;CA1812;CA1813;CA1814;CA1815;CA1816;CA1819;CA1820;CA1821;CA1822;CA1823;CA1824;CA1825;CA1826;CA1827;CA1828;CA1829;CA1830;CA1831;CA1832;CA1833;CA1834;CA1835;CA1836;CA1837;CA1838;CA1839;CA1840;CA1841;CA1842;CA1843;CA1844;CA1845;CA1846;CA1847;CA1848;CA1849;CA1850;CA1851;CA1852;CA1853;CA1854;CA1855;CA1856;CA1857;CA1858;CA1859;CA1860;CA1861;CA1862;CA1863;CA1864;CA1865;CA1866;CA1867;CA1868;CA1869;CA1870;CA1871;CA1872;CA2000;CA2002;CA2007;CA2008;CA2009;CA2011;CA2012;CA2013;CA2014;CA2015;CA2016;CA2017;CA2018;CA2019;CA2020;CA2021;CA2022;CA2100;CA2101;CA2119;CA2153;CA2200;CA2201;CA2207;CA2208;CA2211;CA2213;CA2214;CA2215;CA2216;CA2217;CA2218;CA2219;CA2224;CA2225;CA2226;CA2227;CA2231;CA2234;CA2235;CA2237;CA2241;CA2242;CA2243;CA2244;CA2245;CA2246;CA2247;CA2248;CA2249;CA2250;CA2251;CA2252;CA2253;CA2254;CA2255;CA2256;CA2257;CA2258;CA2259;CA2260;CA2261;CA2262;CA2263;CA2264;CA2265;CA2300;CA2301;CA2302;CA2305;CA2310;CA2311;CA2312;CA2315;CA2321;CA2322;CA2326;CA2327;CA2328;CA2329;CA2330;CA2350;CA2351;CA2352;CA2353;CA2354;CA2355;CA2356;CA2361;CA2362;CA3001;CA3002;CA3003;CA3004;CA3005;CA3006;CA3007;CA3008;CA3009;CA3010;CA3011;CA3012;CA3061;CA3075;CA3076;CA3077;CA3147;CA5350;CA5351;CA5358;CA5359;CA5360;CA5361;CA5362;CA5363;CA5364;CA5365;CA5366;CA5367;CA5368;CA5369;CA5370;CA5371;CA5372;CA5373;CA5374;CA5375;CA5376;CA5377;CA5378;CA5379;CA5380;CA5381;CA5382;CA5383;CA5384;CA5385;CA5386;CA5387;CA5388;CA5389;CA5390;CA5391;CA5392;CA5393;CA5394;CA5395;CA5396;CA5397;CA5398;CA5399;CA5400;CA5401;CA5402;CA5403;CA5404;CA5405 + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + \ No newline at end of file diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.targets new file mode 100644 index 0000000000000000000000000000000000000000..0ca119e54f837a9a99ab0db6caa65eae48eec5c9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/Microsoft.CodeAnalysis.NetAnalyzers.targets @@ -0,0 +1,646 @@ + + + + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevel), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers>$(AnalysisLevelSuffix) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(AnalysisMode) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion)' != ''">AnalysisLevel_$(MicrosoftCodeAnalysisNetAnalyzersRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzers)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzers Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzers)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzers) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDesign), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDesign), '$(AnalysisLevelPrefixDesign)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixDesign) + $(AnalysisLevelDesign) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelDesign), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign>$(AnalysisLevelSuffixDesign) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">$(AnalysisModeDesign) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(MicrosoftCodeAnalysisNetAnalyzersDesignRulesVersion)' != ''">AnalysisLevelDesign_$(MicrosoftCodeAnalysisNetAnalyzersDesignRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDesign)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersDesign Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDesign)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDesign) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDocumentation), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelDocumentation), '$(AnalysisLevelPrefixDocumentation)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixDocumentation) + $(AnalysisLevelDocumentation) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelDocumentation), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation>$(AnalysisLevelSuffixDocumentation) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">$(AnalysisModeDocumentation) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(MicrosoftCodeAnalysisNetAnalyzersDocumentationRulesVersion)' != ''">AnalysisLevelDocumentation_$(MicrosoftCodeAnalysisNetAnalyzersDocumentationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersDocumentation)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersDocumentation Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersDocumentation)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersDocumentation) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelGlobalization), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelGlobalization), '$(AnalysisLevelPrefixGlobalization)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixGlobalization) + $(AnalysisLevelGlobalization) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelGlobalization), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization>$(AnalysisLevelSuffixGlobalization) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">$(AnalysisModeGlobalization) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(MicrosoftCodeAnalysisNetAnalyzersGlobalizationRulesVersion)' != ''">AnalysisLevelGlobalization_$(MicrosoftCodeAnalysisNetAnalyzersGlobalizationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersGlobalization)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersGlobalization Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersGlobalization)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersGlobalization) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelInteroperability), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelInteroperability), '$(AnalysisLevelPrefixInteroperability)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixInteroperability) + $(AnalysisLevelInteroperability) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelInteroperability), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability>$(AnalysisLevelSuffixInteroperability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">$(AnalysisModeInteroperability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersInteroperabilityRulesVersion)' != ''">AnalysisLevelInteroperability_$(MicrosoftCodeAnalysisNetAnalyzersInteroperabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersInteroperability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersInteroperability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersInteroperability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersInteroperability) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelMaintainability), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelMaintainability), '$(AnalysisLevelPrefixMaintainability)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixMaintainability) + $(AnalysisLevelMaintainability) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelMaintainability), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability>$(AnalysisLevelSuffixMaintainability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">$(AnalysisModeMaintainability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersMaintainabilityRulesVersion)' != ''">AnalysisLevelMaintainability_$(MicrosoftCodeAnalysisNetAnalyzersMaintainabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersMaintainability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersMaintainability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersMaintainability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersMaintainability) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelNaming), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelNaming), '$(AnalysisLevelPrefixNaming)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixNaming) + $(AnalysisLevelNaming) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelNaming), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming>$(AnalysisLevelSuffixNaming) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">$(AnalysisModeNaming) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(MicrosoftCodeAnalysisNetAnalyzersNamingRulesVersion)' != ''">AnalysisLevelNaming_$(MicrosoftCodeAnalysisNetAnalyzersNamingRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersNaming)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersNaming Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersNaming)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersNaming) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelPerformance), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelPerformance), '$(AnalysisLevelPrefixPerformance)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixPerformance) + $(AnalysisLevelPerformance) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelPerformance), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance>$(AnalysisLevelSuffixPerformance) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">$(AnalysisModePerformance) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(MicrosoftCodeAnalysisNetAnalyzersPerformanceRulesVersion)' != ''">AnalysisLevelPerformance_$(MicrosoftCodeAnalysisNetAnalyzersPerformanceRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersPerformance)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersPerformance Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersPerformance)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersPerformance) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelReliability), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelReliability), '$(AnalysisLevelPrefixReliability)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixReliability) + $(AnalysisLevelReliability) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelReliability), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability>$(AnalysisLevelSuffixReliability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">$(AnalysisModeReliability) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(MicrosoftCodeAnalysisNetAnalyzersReliabilityRulesVersion)' != ''">AnalysisLevelReliability_$(MicrosoftCodeAnalysisNetAnalyzersReliabilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersReliability)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersReliability Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersReliability)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersReliability) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelSecurity), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelSecurity), '$(AnalysisLevelPrefixSecurity)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixSecurity) + $(AnalysisLevelSecurity) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelSecurity), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity>$(AnalysisLevelSuffixSecurity) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">$(AnalysisModeSecurity) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(MicrosoftCodeAnalysisNetAnalyzersSecurityRulesVersion)' != ''">AnalysisLevelSecurity_$(MicrosoftCodeAnalysisNetAnalyzersSecurityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersSecurity)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersSecurity Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersSecurity)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersSecurity) + + + + + + + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelUsage), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelUsage), '$(AnalysisLevelPrefixUsage)-', '')) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixUsage) + $(AnalysisLevelUsage) + + + $([System.Text.RegularExpressions.Regex]::Replace($(EffectiveAnalysisLevelUsage), '(.0)*$', '')) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage>$(AnalysisLevelSuffixUsage) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">$(AnalysisModeUsage) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">Default + + + + $(CodeAnalysisTreatWarningsAsErrors) + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror + + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(MicrosoftCodeAnalysisNetAnalyzersUsageRulesVersion)' != ''">AnalysisLevelUsage_$(MicrosoftCodeAnalysisNetAnalyzersUsageRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisNetAnalyzersUsage)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage_WarnAsErrorSuffix).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisNetAnalyzersUsage Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisNetAnalyzersUsage)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisNetAnalyzersUsage) + + + + + + + + + + + + + + + + + + + + + <_SupportedPlatformList>@(SupportedPlatform, ',') + + + + + + + + + + + $(CodeAnalysisTreatWarningsAsErrors) + $(WarningsNotAsErrors);$(CodeAnalysisRuleIds) + + + + \ No newline at end of file diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a0166674d86551508abc8e9872573ff410ff1c91 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_all.globalconfig @@ -0,0 +1,837 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'All' analysis mode +# Description: Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = warning + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5aba8e460bf2a60f26c775716358c310839c8f38 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_all_warnaserror.globalconfig @@ -0,0 +1,906 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = error + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a3a8955cf977cf0d212dd4d1e5b722e2726d0147 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'Default' analysis mode +# Description: Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -100 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..aaf7eff9744af58e4533ca569699b4b47a4844fb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_default_warnaserror.globalconfig @@ -0,0 +1,84 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f6555ef788cb2acd0444cb314458e05b74597640 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_minimum.globalconfig @@ -0,0 +1,276 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'Minimum' analysis mode +# Description: Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bbae269eb80bc84b540837919cfac288eb01e008 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_minimum_warnaserror.globalconfig @@ -0,0 +1,345 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6dac5e9c544baa0ea941235849da0deb651c3ee9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_none.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'None' analysis mode +# Description: Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fc473c92fd65c3428e7d67e4b7cbcdaa29bc49ec --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_none_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5061da8839787cd490d050263decaf9ad7efc26a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_recommended.globalconfig @@ -0,0 +1,435 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'Recommended' analysis mode +# Description: Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..569e138fc8cc20a49c7c5121372d1a87c52e44f1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_10_recommended_warnaserror.globalconfig @@ -0,0 +1,504 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..cf9aa95c5831177e55e0aa0490e00714789526ea --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_all.globalconfig @@ -0,0 +1,870 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'All' analysis mode +# Description: Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0eb5121f520529eff52e2d8c62bf34099adeb26c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_all_warnaserror.globalconfig @@ -0,0 +1,894 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..db4488e769f2400bbe8b80502a0f5ec63cbc33d2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_default.globalconfig @@ -0,0 +1,204 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'Default' analysis mode +# Description: Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a03ce0c70c562ee3486070be98e47eb2f50fdcbe --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_default_warnaserror.globalconfig @@ -0,0 +1,228 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..de27cceb65888d2c0082d79239907f99aae6a06c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_minimum.globalconfig @@ -0,0 +1,345 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'Minimum' analysis mode +# Description: Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..551fabf8ee8c7bc1728550ae9f4f4a2331c76f3d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_minimum_warnaserror.globalconfig @@ -0,0 +1,369 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e7a5463000d6e80158f609c9e92a25c47ffcbeeb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_none.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'None' analysis mode +# Description: Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8e622b244838b6748b5dba53e6068e35040a4193 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_none_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ea91075461668e6f5a6fd79fb4fdacec50eb3470 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_recommended.globalconfig @@ -0,0 +1,486 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'Recommended' analysis mode +# Description: Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c4c8e349e15dfab512d9c5dd35e479b5d879b572 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_5_recommended_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a4cc6a6d9b3d1e15d691af7e4c2bd8decf4fa84e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_all.globalconfig @@ -0,0 +1,849 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'All' analysis mode +# Description: Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8039368206ff48f8cf6e4640f428f74f242673c4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_all_warnaserror.globalconfig @@ -0,0 +1,891 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a1f77fcb8c830c405eb90b6c9c3f7647f7ac7e2b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default.globalconfig @@ -0,0 +1,132 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'Default' analysis mode +# Description: Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..af298800e4667222af3ddbe49fe202550e28b18c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default_warnaserror.globalconfig @@ -0,0 +1,177 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ed3be619a3585ee0031bd2eb1fa985ff89dc2341 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_minimum.globalconfig @@ -0,0 +1,315 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'Minimum' analysis mode +# Description: Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3597b8c4706fb3041ba409f1742ac3a899b6661a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_minimum_warnaserror.globalconfig @@ -0,0 +1,357 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d4ccc4bcc40e30bca3e41690ef11daea94692b98 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_none.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'None' analysis mode +# Description: Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fb654493cc8bec9f68b4ee1fec35bdb6cbb5c5f3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_none_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0fe12ffd0cd2649bd6cc442baff082bca71b375e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_recommended.globalconfig @@ -0,0 +1,465 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'Recommended' analysis mode +# Description: Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ae5f9ae91431320a3e98c88df0465f0f6ba1f3ae --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_recommended_warnaserror.globalconfig @@ -0,0 +1,507 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1d32266f88f54deef2792e89790b48e5a4613633 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_all.globalconfig @@ -0,0 +1,849 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'All' analysis mode +# Description: Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c6b212789da25356167ce08b5424cde9b0ce2e13 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_all_warnaserror.globalconfig @@ -0,0 +1,903 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..23561bfb1fd61cf01185e2468471fded89ca9e72 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default.globalconfig @@ -0,0 +1,93 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'Default' analysis mode +# Description: Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..29cfdeacaad958a075e855639d989be704406d7f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_default_warnaserror.globalconfig @@ -0,0 +1,150 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a89e9f038313e2a7e03f4ef2580156124657b118 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_minimum.globalconfig @@ -0,0 +1,297 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'Minimum' analysis mode +# Description: Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e99ff318a1640bba35159301c1c5352958f61156 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_minimum_warnaserror.globalconfig @@ -0,0 +1,351 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4a254c42dba1a9401ec22e05d9ee07bc6ac45489 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_none.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'None' analysis mode +# Description: Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..af5874b945385b8a20d8fdf9334abab5e2d765d7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_none_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..95a9bfdc436df6efbc939769cf93cf05f342463b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_recommended.globalconfig @@ -0,0 +1,453 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'Recommended' analysis mode +# Description: Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..19c7eaa93b9667aa5e3d381d5ebf5eea92a43a31 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_7_recommended_warnaserror.globalconfig @@ -0,0 +1,507 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..488ae0358eabcdec4997c8c677035cc3f8c9096e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_all.globalconfig @@ -0,0 +1,843 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'All' analysis mode +# Description: Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..af06d5705ba4581d7d0470c377d7389dd7c9c48d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_all_warnaserror.globalconfig @@ -0,0 +1,903 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..811b9849ae19677aea370ce57c0ea20823394497 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_default.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'Default' analysis mode +# Description: Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8b3b46d0f2b8b7f45d242f27a305cfc96ffe899a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_default_warnaserror.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..08612ad966419c78e976bfdb77f53be7bff5dcc2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_minimum.globalconfig @@ -0,0 +1,285 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'Minimum' analysis mode +# Description: Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f5cf142131bf356966e4653f1ee9ee8d9f630540 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_minimum_warnaserror.globalconfig @@ -0,0 +1,345 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..12a03235165d8acc918311127ca08e6dadbe7a96 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_none.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'None' analysis mode +# Description: Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4f1b5b80f7466dab126d8fe514847ce5bc6c9583 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_none_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9d4bdbeec8e0d77af9258969f2ba508cf3884338 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_recommended.globalconfig @@ -0,0 +1,444 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'Recommended' analysis mode +# Description: Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bbc6eb236be36891ae1edbe1ed8f6c4e35f55bc9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_8_recommended_warnaserror.globalconfig @@ -0,0 +1,504 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..15fd24d8b51173f5e6c4e11fca90532d69fc4ed4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_all.globalconfig @@ -0,0 +1,837 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'All' analysis mode +# Description: Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = warning + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..107cdefca5b45e04315dce29ed07eb7829230483 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_all_warnaserror.globalconfig @@ -0,0 +1,906 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = error + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..21539e34747644658d84d784bc6355fc6b9feb49 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'Default' analysis mode +# Description: Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -100 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..25a5269d29ffb052a9294c9259dac3cf0be135a9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_default_warnaserror.globalconfig @@ -0,0 +1,84 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..eeb399183858d2f0f1ee9e583d2ab4e897a32ab3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_minimum.globalconfig @@ -0,0 +1,276 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'Minimum' analysis mode +# Description: Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..62ae8f833f1474e36db7cb8ab5af84d3293114c0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_minimum_warnaserror.globalconfig @@ -0,0 +1,345 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7c6c30ae6ad41968a7f1a14c4c8d9c242bcbd844 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_none.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'None' analysis mode +# Description: Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..96d081393405f9a9c7fdede27a3a7e067745d989 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_none_warnaserror.globalconfig @@ -0,0 +1,510 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ac10a5bd796ba38863b1ba895e01e14e11dfd390 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_recommended.globalconfig @@ -0,0 +1,435 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'Recommended' analysis mode +# Description: Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c6faf426a593f496e399cdcc06bf876a1c2e12aa --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_9_recommended_warnaserror.globalconfig @@ -0,0 +1,504 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -100 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c49ec72fb95af1b5486ec8ab1408f0538cfa7017 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_all.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'All' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..51bc8267c0258cb98207793ed753c43aeb4de467 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_all_warnaserror.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b4f9bc00829e2765b20195e0bc4a9a767ae1a010 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d935e866aae11e17ad390390e8efe16228385157 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1faa6545d720a84ce5ae49113d46241841ff5bee --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..63544410184097134b19b96c4e0c311ebc259f6b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_minimum_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..60acc97aa9f943dbace83618880c3dd9e642e9f8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_none.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'None' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..010271d0753369cbbb29424fa3fcf2405d7c4d86 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_none_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2f2bcfb16de59caf28be2971dd0492a2b6d7dd04 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_recommended.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ac458c4519c0503a307402c216dcc82ba4f816ec --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_10_recommended_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4f29555e2d3791c2c3ec361c24843b1001367143 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_all.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'All' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0a8c66078e47adf7178a810d677fa87379e47135 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_all_warnaserror.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..908c5f902c3f39bb5198d47ed19160886b7de6ae --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..96ded570dd010e59b617274414e5b78a1008be7b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..243313df55e7eb0aec6fb7dd098ab73aa6aee352 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..cafe9711e3a74aa41613da9c892cdc4ca5054ba9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_minimum_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8ab61911f69c4226544c7b4cec7d2d9a124c553d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_none.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'None' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c5d73788dab8184d014712927c80dbce54cfec2b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_none_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..55279260a38cc014189945cf2ff3c6f9dd1f47ee --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_recommended.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3370e10541a961aa38cf23e6f0632431e1105f7e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_5_recommended_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fc9ae1f1bbfaecde5316ce1ed87372dd7731a190 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_all.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'All' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ff99d93183cb2bb2600eef860fb992e196efbba8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_all_warnaserror.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..db001553469a6b4718b5dda4fa94fe14e84898ed --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0e36fc7ba16810880c2174eb0c6b9a53c8ed3cb7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1f90f704fbe7ac1cb4d7ee826670cccfe34ffae5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..74a1ce21520896833f344f5eefee15c4d26a72b5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_minimum_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e5e28dea57abf1ce929bda0ccbebc7ccafe4c1b0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_none.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'None' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..77e4cb3ed6fab8283e047d7fe6d7b1fdee70afad --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_none_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..267b670113789688a48e90e55be2332686676d7e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_recommended.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3513fde72e3c578211dc83bcf6d790a7fa2cc42e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_6_recommended_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c1c907882fe16cc10260d07989fa9504e68bf85b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_all.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'All' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..238cf9f5fea7f40570a33794c8a09f6af5f20ac6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_all_warnaserror.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a95784c9216462623f98366236a36822562ba294 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..23ff0c034ff23c015f7efe63869ed217965c8088 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8a3b82ed4f680cd5538412b0e5f4ddb803994021 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e8bb88a71788c07a7c4caf817a3acc39a8587c49 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_minimum_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1a7aac0cb36aa3d537cb23c8fb5eb81fb434d83b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_none.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'None' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2f5285b16a27ca83de925e8c7a60c36bcf6afc22 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_none_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ab4c7e8594ba3aeb99ce691971db2275b8c32bf3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_recommended.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0a5116159afc9c521ece5fe70aac0223b2c78a52 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_7_recommended_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d3c8bb8b738e634f740f29517e6cec3b2715d39d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_all.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'All' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3c17de6df60f4e889afe52cb913e52f1994172bc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_all_warnaserror.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b8672165d8f91bc48d9345670a28a4e3b8a3efc9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..30971aa6484cf84db06c1b4cffcae3430cec8c1a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b965a8811b2a129d511bf688a550506cf884467d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..715bed2b4aef90f28eb11f8fb617d7843258ee07 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_minimum_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ca7cf8eeeccd7ee99643a4d2f07928df0d9b01fd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_none.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'None' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a9e20e1cee75e928d54dbeff98e466b27c46dd8d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_none_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..081ba11a55d4ba2552cd7e3e6a34e041cfed78ee --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_recommended.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4d3a70ae26c1a793306b20d5e67342972171bfff --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_8_recommended_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0bf6764e8f8ebc62667b3a76aab8b4134d4abfab --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_all.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'All' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = warning + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = warning + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = warning + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = warning + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = warning + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = warning + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = warning + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = warning + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = warning + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = warning + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = warning + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = warning + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = warning + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = warning + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = warning + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = warning + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = warning + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = warning + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = warning + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = warning + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0354d4fff3841f08e27f1b1c9770b00edd009601 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_all_warnaserror.globalconfig @@ -0,0 +1,135 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1002: Do not expose generic lists +dotnet_diagnostic.CA1002.severity = error + +# CA1003: Use generic event handler instances +dotnet_diagnostic.CA1003.severity = error + +# CA1008: Enums should have zero value +dotnet_diagnostic.CA1008.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1012: Abstract types should not have public constructors +dotnet_diagnostic.CA1012.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1019: Define accessors for attribute arguments +dotnet_diagnostic.CA1019.severity = error + +# CA1024: Use properties where appropriate +dotnet_diagnostic.CA1024.severity = error + +# CA1027: Mark enums with FlagsAttribute +dotnet_diagnostic.CA1027.severity = error + +# CA1028: Enum Storage should be Int32 +dotnet_diagnostic.CA1028.severity = error + +# CA1030: Use events where appropriate +dotnet_diagnostic.CA1030.severity = error + +# CA1031: Do not catch general exception types +dotnet_diagnostic.CA1031.severity = error + +# CA1032: Implement standard exception constructors +dotnet_diagnostic.CA1032.severity = error + +# CA1033: Interface methods should be callable by child types +dotnet_diagnostic.CA1033.severity = error + +# CA1034: Nested types should not be visible +dotnet_diagnostic.CA1034.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1040: Avoid empty interfaces +dotnet_diagnostic.CA1040.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1043: Use Integral Or String Argument For Indexers +dotnet_diagnostic.CA1043.severity = error + +# CA1044: Properties should not be write only +dotnet_diagnostic.CA1044.severity = error + +# CA1046: Do not overload equality operator on reference types +dotnet_diagnostic.CA1046.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1052: Static holder types should be Static or NotInheritable +dotnet_diagnostic.CA1052.severity = error + +# CA1054: URI-like parameters should not be strings +dotnet_diagnostic.CA1054.severity = error + +# CA1055: URI-like return values should not be strings +dotnet_diagnostic.CA1055.severity = error + +# CA1056: URI-like properties should not be strings +dotnet_diagnostic.CA1056.severity = error + +# CA1058: Types should not extend certain base types +dotnet_diagnostic.CA1058.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1062: Validate arguments of public methods +dotnet_diagnostic.CA1062.severity = error + +# CA1063: Implement IDisposable Correctly +dotnet_diagnostic.CA1063.severity = error + +# CA1064: Exceptions should be public +dotnet_diagnostic.CA1064.severity = error + +# CA1065: Do not raise exceptions in unexpected locations +dotnet_diagnostic.CA1065.severity = error + +# CA1066: Implement IEquatable when overriding Object.Equals +dotnet_diagnostic.CA1066.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1c8de8a9b42f2daf7fb817f2df44415df6f3a1ff --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..586adbec58c633ea309215bab5d3f4cf2d51bc40 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3e88d6fd9856b34a61ef335645bad30a0dc7b2c8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9ed6841d4297bb95399b6e62ecb83303111702dc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_minimum_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fac18f98aceab0e47b164be167e6d7b89a713bc1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_none.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'None' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2b2c2cf44a6c962e849bddfb981a7659a82785ab --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_none_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = none + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = none + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = none + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = none + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = none + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = none + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = none + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = none + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = none + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = none + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = none + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = none + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = none + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = none + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f4958e7305b64749dfa85b384006a45688c6985d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_recommended.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = warning + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = warning + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = warning + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = warning + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = warning + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = warning + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = warning + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = warning + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = warning + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = warning + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = warning + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = warning + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = warning + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = warning + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..11910efe57308a71dc06f02e13a8953c8d0d2dea --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldesign_9_recommended_warnaserror.globalconfig @@ -0,0 +1,54 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Design' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Design' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1000: Do not declare static members on generic types +dotnet_diagnostic.CA1000.severity = error + +# CA1001: Types that own disposable fields should be disposable +dotnet_diagnostic.CA1001.severity = error + +# CA1010: Generic interface should also be implemented +dotnet_diagnostic.CA1010.severity = error + +# CA1016: Mark assemblies with assembly version +dotnet_diagnostic.CA1016.severity = error + +# CA1018: Mark attributes with AttributeUsageAttribute +dotnet_diagnostic.CA1018.severity = error + +# CA1036: Override methods on comparable types +dotnet_diagnostic.CA1036.severity = error + +# CA1041: Provide ObsoleteAttribute message +dotnet_diagnostic.CA1041.severity = error + +# CA1047: Do not declare protected member in sealed type +dotnet_diagnostic.CA1047.severity = error + +# CA1050: Declare types in namespaces +dotnet_diagnostic.CA1050.severity = error + +# CA1051: Do not declare visible instance fields +dotnet_diagnostic.CA1051.severity = error + +# CA1061: Do not hide base class methods +dotnet_diagnostic.CA1061.severity = error + +# CA1067: Override Object.Equals(object) when implementing IEquatable +dotnet_diagnostic.CA1067.severity = error + +# CA1068: CancellationToken parameters must come last +dotnet_diagnostic.CA1068.severity = error + +# CA1069: Enums values should not be duplicated +dotnet_diagnostic.CA1069.severity = error + +# CA1070: Do not declare event fields as virtual +dotnet_diagnostic.CA1070.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..60a802cdcebb9b8058982fcbc62f69591070b8f1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_all.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'All' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8890bf9e486bc049df72037824bd6a917036f4b4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_all_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3b6eb1a95d83bab6219f1b696b82d766162362f9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9dda209a82335336c2ed2a5feb1b658316ec424f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6278eb06a16dc77cbfaef78f78d57999a94e68ab --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d9e4f6d0d3e8d8d1cd97290071d423dd1008fb46 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..01b6d1c73f1a03b0723ba09ccaca543487b983d2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_none.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'None' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0a8837659df75fdca8fa7a7810274ca205dd3502 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_none_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c825a89ad24403845734f7c80f8dba1aed2268ae --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_recommended.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..713593be0f5dea343105b0787d14abb002c88590 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_10_recommended_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1f205c8d23e09925a3d24db88aa1cd4ed62dcf78 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_all.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'All' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ddfebbd51d15e19c9b3d90933734bdfe6a97e03e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_all_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0a612e87785c07343856f006b8dececee311c484 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..01f98cbbde552e54e74d7d9f66790945c1af3995 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ea1fce68fa45c8aea6db31e87ddaec57c67365df --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..50e81fa6de863d0a63f5fed034aeaa36ad0fdbbb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6ebc191932a2a18071daee8c8453be7cf3d4efd8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_none.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'None' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a61eb5bf461aca12392171690e6d4a6e7bf4fa69 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_none_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8fc766c53b34cdc0c21ba58d0afd3a0042f0216c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_recommended.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e1f14558fe2bb200ef15e989a567dc7da9ef737b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_5_recommended_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..06db6e8206e0d12a2bb0e7c5a67c3118ef77205e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_all.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'All' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..82f1092181174957578d4507f144eb96f06fd448 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_all_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28c8e0c12afb8bcfe0d01a43ea72a69e61bff11e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..91607d0a2e6a7664627770f2d1295c17054657df --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3877347f073e15aa85097b317205523ab678d266 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ff85f9e363fdeeda5475d3e9b421cabcd25107eb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28a39670953d10dbc101fb22d12bd6bf382c6550 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_none.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'None' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7eb6faa68237efc13d6e688a41af69bd2d6b9a64 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_none_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bab411c5eac448188699ce29b9f480dd1f447d78 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_recommended.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9585cba3c84f152f0ee4d7b80b3549d73f954eab --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_6_recommended_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e080d7de9236af3dda2538536fc0d05afa0e671d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_all.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'All' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f31d50c6213bc7646d4fbe77cb6d3882d91fb8bd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_all_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3b9f4a93fc8059434a811cb720571b4a4d649b53 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a050ef6f1d33cbefdda75d487d4d2489fdd98daf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f540d18b17d2905fcf3a76692cf8ff9d103d12ef --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..477a227883dd7a3ea44744265803b195e05d47df --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..363dd1efb006b54a84e200e1b198fc24bff61545 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_none.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'None' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..26bcf051b0a281fe5f5bb6794c5db0d74e1fd1b2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_none_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..297b76635486afad97ef98cb86a80dff8cb89d3f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_recommended.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4582ffed954d4e260957c9a325fafd270d5a3cd3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_7_recommended_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0958cbf84f4adfa6c827290989a820115f382c96 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_all.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'All' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7a15ec9723994ff3c98a7f2a2578bf29a028789e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_all_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4351dd7a6de24c5c9fa353386ddd20f8b8b4d6b7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2ad7fcfbba232e6252bf28bad31dd9e367fcf802 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a7f39a32c7112d58913372f32553bd76a0f5fcc3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0515092554478371c4988714211da643eaaa388c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..aeae66e1e860dab1b287d7d94ed5b1c55c8adfc7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_none.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'None' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..700a7c92dc4375f852dd1476e2b1a1be2d848839 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_none_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e72b00a9b47efe574c64d9a4e2066fbb3f5f5db8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_recommended.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4300147f187f837b74cb93d38b346e09b90b9865 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_8_recommended_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8654354e870ab34d18f00541058eed02bb6122dd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_all.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'All' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..58e5b534a029ff9113cba3fdde3984b860f87217 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_all_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..333aba5ccc6f688d19f3096bee67bbedd04bb232 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3129b77af49e4b6d059f3c6276283679f8be38a7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..69c8333423eb6c9338dec7daebad469caabadc59 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..218ddaa669d69ff4de6c172422e9b6c7916249d8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..407f8e1281288857826c184d7633ac4b1b9d8051 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_none.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'None' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..01972d491d65a342a931944cae3f1215ea08ef2a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_none_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..78c4d62d16a6a529006d3586bc7c6d0fd609bf35 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_recommended.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bbc19b346a52f2388c41c9d189899dbab551cd1e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysisleveldocumentation_9_recommended_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Documentation' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Documentation' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1200: Avoid using cref tags with a prefix +dotnet_diagnostic.CA1200.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1e1fd7c08590e2f3a8e8818cf937a79423c99328 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_all.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'All' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1c341a08725c26e997f51d892f1776500f4a5f87 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_all_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..be8776795a7ffd28fa584c5a855624495289f82b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6f869598df2666e2cba060095054d635fe843bee --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..45f85068d10d2a909d069a5c7f498695c06c46df --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_minimum.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2f49378c5ebc5a09f1d7b8b5e00f91bff9c6e3c3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_minimum_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..410c4d44a9f0599e8e32c97808d3649ebe81277f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'None' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1562dc12ebc5b1f24146b6cdf107b883d3fb1b6f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b4132d7300e347bd0c2d14ebb17283e20d6a0d91 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c9bee9b0222ec1f4090f4d08adaff6ec44dfda9a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_10_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2103ab075cdf68541316c4444531d77f159ebd11 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_all.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'All' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3287bff426efe09d2ef7c3d400b05e958c0c3e27 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_all_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..65dcfecbf87bc810d6c6c925e9e399a4c3ad7ffe --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_default.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..93e7bd152bcf7b79fe9d089fda49aec6eb347c99 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_default_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1665529df1180725b003c08cf1f012fb922e1bf1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_minimum.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..29466af3079c9efee546b5e5efb0308cb1829c98 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_minimum_warnaserror.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ededec74fc80b02ec0e721a7a79c2f64225c4596 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'None' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..91760ae5aed15d8d4e06acc4a9f9b12cff02c60d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..74fa5728b7685104f4dc187a1395fe3a100f0e8d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1fb0e5bb419b22a1c49aeafd91085c6fb8ca47fd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_5_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..502ba27439370261a0c7b6d341b9a2bf8cb95d7f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_all.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'All' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..23171347334160fd117c69def53f460c11ab895c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_all_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1df6de70052c5a8d56c5c6489e5eefb6980d65bd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_default.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5d54e5be906295ce9351c5e03af49db1b183c8ba --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_default_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0cf43e8cfbe9785e79bd22e822c3e37792266e15 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_minimum.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5357ffc4802903f9a0d12a2793cb38a50ae1f036 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_minimum_warnaserror.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..886576aee6d9c7b5c47032f36a33b5095eb4e6b3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'None' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a478bef13cfabd5633fdbd9ba546612a70314e81 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..581bdb4533daee3a3d47f487bcc4a802935f800c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e35f3a7ddbd190fe369dff906b11aa0751b2a476 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_6_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d63e1d1108b42b5659fd6baf5aa98a940f69fa46 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_all.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'All' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9e818b7e87f41c856a6de32903760632028807ea --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_all_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9d6e318874fc0f3f5a640087e92114910454524f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..df76dea6b5727ceae693cc66a43e143ccc4b00dc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3e42026d406477c1acbba69f458c67fd138e5311 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_minimum.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3f4f4183117df4a57d7a77e53a2dccf493d85d60 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_minimum_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f9a17a39ec3062e4d96208a0c848fcd22b91e131 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'None' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..72d829a14c3b4852922bf08db0ce3841f8f9b5a7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..74a53b72128f7492970179b2a7e62a51956a7c33 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..18677033bb3223e4347c4e6e10ae62389b257a35 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_7_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9a58ba2f1e7e1c202677a88e813dd833613b3106 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_all.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'All' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..224e62cd5732c00889243495ceb83230e4ef6d62 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_all_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..25a50dd34af5bcf8f267fa63f3144f3813515a21 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..066370f6f414fc04ace62fef834dba511e4753fe --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f47eb066e72154dd1b157ab519aa4da2f0d55cf9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_minimum.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1349dfcb1c1305de42e095f0626a318412bfa2fd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_minimum_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..96774cb9c70ee42483367139fcba4e78624d8052 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'None' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..88925f0db2dc1a06f21a2c10beaa6747379b45fc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dfa025f4c883ef2be1a42596091565d95ef3215a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a2f08728dcd18dde26abea57aee81fb95071dcc3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_8_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..cf58beb5565b7aaa794c262db3c7d823f7af0098 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_all.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'All' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = warning + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = warning + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c49647718ea33252e26a77bd236ffa7f63e19b76 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_all_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1303: Do not pass literals as localized parameters +dotnet_diagnostic.CA1303.severity = error + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1307: Specify StringComparison for clarity +dotnet_diagnostic.CA1307.severity = error + +# CA1308: Normalize strings to uppercase +dotnet_diagnostic.CA1308.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ed8ce10efe090708b9ac901d61dc6fcb03763e13 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..407744922a69332c9a96364fc1074a7e374d7147 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4467815c83288bbae0c479078a620b1f7298e5b8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_minimum.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ac74802b1e669ba3594a4cd1a13484118a5f4e58 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_minimum_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..66a765adbbaf02684eb18bb93f99cc9847150ea5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'None' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6669341f91638f812e3a81314494429d7546b8ad --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = none + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = none + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = none + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = none + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = none + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2d89e572253972f4c3d4b68f50323fccf3917a8c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = warning + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = warning + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = warning + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = warning + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = warning + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..98441acbdff8cfde8810d211b2f2f11ca3105076 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelglobalization_9_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Globalization' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Globalization' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1304: Specify CultureInfo +dotnet_diagnostic.CA1304.severity = error + +# CA1305: Specify IFormatProvider +dotnet_diagnostic.CA1305.severity = error + +# CA1309: Use ordinal string comparison +dotnet_diagnostic.CA1309.severity = error + +# CA1310: Specify StringComparison for correctness +dotnet_diagnostic.CA1310.severity = error + +# CA1311: Specify a culture or use an invariant version +dotnet_diagnostic.CA1311.severity = error + +# CA2101: Specify marshaling for P/Invoke string arguments +dotnet_diagnostic.CA2101.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4ae504fc7f268b446782656b6a1fd2ee3bf943f0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_all.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'All' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..54df40eec4b6fe13fbe8854486f95630f686c86e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3812c3e240b085d01a2fdc082adf773221dff742 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b8b86c1971cae704f96f0a6f5018f8b69738c5b9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e4bf7d21ef24b235d8f41a032639029690c854aa --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_minimum.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c7c05a4471675246e245182da620319c4b3925e0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_minimum_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6890f5ee78ce3cf93c666476cb1151989dd06add --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_none.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'None' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3d956bf9e6e5428e942eaa45e1b201e5d841107d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_none_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b8981906497ad3da324fc319405598094b593924 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_recommended.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..73456dedc6afb10dd340adc63102d1f3c5c90682 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_10_recommended_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..92e3d786aa1a4b76268f66d9b359e1f76dc7cf05 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_all.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'All' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..08542f98a2032c66600fadfc502ab3a8a5ad2ff6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28216fcfe2ed23193145f6a97a5ae13906caccae --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_default.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c2b4d0b98763dd26b136c98cfc80ddd8f2ddd6a5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_default_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..760e0d6cadbd685ecb1b3b215ce3f65dc0e54f3a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ba6f9cee4c6f134edc3375dd17acea0b3b599e0c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_minimum_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7c3d68e2b9903906741c7afa4a1eca2f2c80e4e7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_none.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'None' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5c1421824089d3cb170d8bbaf9d9956266c8cb2d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_none_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7c751444b7e38b13c846c716c8093054f42a4288 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b806a9f96d8a5ab83614163f2c2df66f24247b8c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_5_recommended_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c6df1bf715f94809b56cdc7d668dd70034ad1d76 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_all.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'All' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4f541332ab4001e247c7e6ad9942e02c9adcce21 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fda1dd8f9076a25f36fee64975563398182a5783 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_default.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2a1748fad963ef7cd6536ced7fdcb3d8e610f0d8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_default_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..751dc2cd27ddefdebbb21bf4a5bcec68107fcc57 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_minimum.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..97af3163e796866e644131ba08dba7dc8d83d94c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_minimum_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..64fce1da14aa48508c90398c20d102a9c26fb6e1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_none.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'None' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..17660b435255627b2fb895d87579c6c71b5ee067 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_none_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..53f07340b31adfaba5d3735cc37af64a6480a433 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_recommended.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..856e548da0ceb4469293406b1cf8f63333727c40 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_6_recommended_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fe38e35976ff6bfa50d5d4c65b4f36ea116e3c3e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_all.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'All' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..536560f7bf1ddbbacd821fd5052ac2cbe1716161 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..837d7490068ced282ffb1fea790a52e8b623d918 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3d492713eb8f800c364ebc75e886115b0a8e15e0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..02307b6a5e29173ac6371b0ed33073feb1c3534d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_minimum.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..033afa78f19f763b07ab9d6b57325cbeb75a767d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_minimum_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..db3aeb6b27d68b6d69e564e212fbf9ee8f86e856 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_none.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'None' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9e8c409d2749c725763ca7ccc68aaf762b17ae7a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_none_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..02d33386a7351bac76d58dc4721cb1cc74a74b6b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_recommended.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..06c5118f87a745c6fb8cd3c719bf54c2184d2578 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_7_recommended_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..528ba185e3358d38238a33bd5d2a14796611a876 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_all.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'All' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9a9a4694ac36acb9d5d027c6e4b99ce11a9598fd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dc18b1dd90e4ef403cd818c60a05b36864434f05 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..63d854a80ec8b6844e497dedc173917134bf1701 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..29aa250fb1adaa2d453938c5c11e5491654f7025 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_minimum.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..23daa77c1e22d391ff7d82acf84c89ff7a8cff2c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_minimum_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6769bada52bffc7d71117da5da061f7cf1866d7d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_none.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'None' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dff8ac61aed65f8b5b3a135f333f0961ae686eba --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_none_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9f2e73b9fe3a31912ad9736f5545a7cf878f880b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_recommended.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3609849dfd435ddd93c9c179fc2ddb0401c03472 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_8_recommended_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b9090ab6b8bef00ee8670db61c7a7fdbb4119e6f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_all.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'All' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..984bcca233dfd082366e6c92cd7d37d46ce4d8d2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..679d23b2987945d6f817b36768ed68ea254c38f0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..906b08fd3da6532ec6ad40af9246cc92e3c3937e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..af271d5f7f9cbb88fc7d5f888fd59f707ba51145 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_minimum.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..959a7a6a27e20d80af3a9e7ec91ea8d86826a176 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_minimum_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f904d7e24d85cff5bae30055f854f2b596d94f18 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_none.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'None' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6e4f48b323290fd7758dd2cfa89531c10def2d11 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_none_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = none + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = none + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = none + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = none + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = none + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = none + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = none + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fdeb869000e1d8d7d1fe7e4ed0c5d8574c6dbaaa --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_recommended.globalconfig @@ -0,0 +1,18 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = warning + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = warning + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..561a45bea688b89cf884a13a430d8500a905b3a9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelinteroperability_9_recommended_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Interoperability' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Interoperability' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1401: P/Invokes should not be visible +dotnet_diagnostic.CA1401.severity = error + +# CA1416: Validate platform compatibility +dotnet_diagnostic.CA1416.severity = error + +# CA1417: Do not use 'OutAttribute' on string parameters for P/Invokes +dotnet_diagnostic.CA1417.severity = error + +# CA1418: Use valid platform string +dotnet_diagnostic.CA1418.severity = error + +# CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' +dotnet_diagnostic.CA1419.severity = error + +# CA1420: Property, type, or attribute requires runtime marshalling +dotnet_diagnostic.CA1420.severity = error + +# CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied +dotnet_diagnostic.CA1421.severity = error + +# CA1422: Validate platform compatibility +dotnet_diagnostic.CA1422.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..debc23537d18956dcaa318c548a9d49bcfa235a6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_all.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'All' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dcbbb37b53244cdffd7ba083ed5abace26edde56 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dc5066466720ab949c81bd96214bdec8d9d7979b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c71099aeecc81f89fbd2464f8d3e025c30060486 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f09d1d14a601859e45cfa37ccdb777eceae2a2d3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..49171d5e2a936d18e7b4629238ed534a7445d89b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_minimum_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..183bbb0504356e825dd7173348f60c3f01f29181 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'None' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5dc9ba9605e48ed535046ed14ef36ee941992fbb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a37a330579249c6c5c280132b966f2d251325cca --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..73311cae35791e0af69d59b78dea8fca69921604 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_10_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..01fdcfd0ad6e21f2ab4ca1651f1b7c1ed33a09a8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_all.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'All' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..691595d6644ccd6e6209159a82c383f1d3ce7c28 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_all_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f5fa43a9c52730196d4f298318a3e5a4f3940961 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_default.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4f143162e113930a5f936a02ac150a503a784eaf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..706d8d07fdb25f8c4eafa02ba0ad50b212953199 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5d2f7ef01fcc2d427d54c1087a79579f34a7fab7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_minimum_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2db03824ffdbfcc2dbbe05e77b02c324a3214a31 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'None' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..cfad41301a15fc71a03de4bd1099f2c41a156d0e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e341b1708de9cfc71844d8587e13d604d60d2979 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f5439ecd659cd4e0a81a036b84ef5bbd7210374e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_5_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..76389fbeb8c7782a63b0480f9b00893a3c68cc90 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_all.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'All' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..23f4cdbfa09c52f2fbe77bd772e50f210f5f1453 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_all_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3350d0f5d967e0ec0569f3d4a496097947bbe5b7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_default.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0592d9f64bc2d470090c2dec7a0bc962d6115881 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..066b0a0e328daa446a8731970d9a1fb26d4e2ec2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..eb425b9154146b04eb4a2f568ac4cbb63a09e59b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_minimum_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5482dea30405978e7cb111334aafe8b29e94e404 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'None' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5fbf52df5ce50937a2a7522806c38b67effe28a5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ca74aa1e3c3fc53d8be37ffeb2d37b0857d63661 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ad5969c9ad9130fefad3285a7a38c563ce05bc0e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_6_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..30abeaa31c513208e73106889502f4deb8ef6748 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_all.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'All' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4ec54446fe063c27659bc7ab634a91d873de2f48 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_all_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..51db69a5baf09ad72c819911f5dff107c02cc9dc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_default.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..eeec71bb4334d282a90de840dabe9fea0ba4c737 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_default_warnaserror.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..41d20c95625e8a20c0a9c1a6d586d573ae7600f6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ccfc90221308e4d02ca61bd45c868116804ffb85 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_minimum_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..13e73a8886833e974e2e9061656596e6075285f4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'None' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d602bfd1cc3532fc05adab33f6c3adbe766c87ee --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f1bd44254949a6eca8c82c70c859175a5bf19e3e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..11f9b40f0006d17fbf5d62a63434b74d9acba996 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_7_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a4618c1b6e4c386c2d4013e061f25577c6435711 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_all.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'All' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8dca4ad00662f6058910b41ec97e762630aab602 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_all_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a746f459afcd2f27b47db1dcf1755d34f33d1e5f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_default.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b245668ad3a96e7e203b24cc21a73aec3c1f1348 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_default_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0635d46041ca704afc3f23a290d6a059f30fbfd9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4d4b47305f08e3e0bbf577186820d9b2efdf1b01 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_minimum_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28934a0cc31e1401705fde83af66bcc521987d31 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'None' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f16036b60e537c9963183ffd53ac693c034c046e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8354ddc8f1831cde7d850e2271002656ec8f37b9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1250fe8225641910ed761ac7b34a04538f71fba4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_8_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..74580c2414b446bb2bd8dcf89c1ddcec02329233 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_all.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'All' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c6679b8c087afcfd798a3461335c81bfe7cec2f8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_all_warnaserror.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1508: Avoid dead conditional code +dotnet_diagnostic.CA1508.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error + +# CA1515: Consider making public types internal +dotnet_diagnostic.CA1515.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28b818a52adea9a144d4a90171ba053442166dbe --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7b2696c708b79e42c9a73568437aad3333636c57 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ac94bae0f7dfb441630ae0dec1f8627a25b85e76 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4924f1162d989e22b44f89269ed779a65f67b382 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_minimum_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b068f07ed1dda064297c811dd0d11a4a46b45661 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_none.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'None' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f9149d8b33aac751decf38537a72d6aff28b8a2b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_none_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = none + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = none + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = none + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = none + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = none + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..46738ae0c7752d41fca2d3101bf9372d975683d1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = warning + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = warning + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = warning + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = warning + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = warning + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ff4f059cb6874c84c9d6668f02b5c052e791a43d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelmaintainability_9_recommended_warnaserror.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Maintainability' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Maintainability' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1507: Use nameof to express symbol names +dotnet_diagnostic.CA1507.severity = error + +# CA1510: Use ArgumentNullException throw helper +dotnet_diagnostic.CA1510.severity = error + +# CA1511: Use ArgumentException throw helper +dotnet_diagnostic.CA1511.severity = error + +# CA1512: Use ArgumentOutOfRangeException throw helper +dotnet_diagnostic.CA1512.severity = error + +# CA1513: Use ObjectDisposedException throw helper +dotnet_diagnostic.CA1513.severity = error + +# CA1514: Avoid redundant length argument +dotnet_diagnostic.CA1514.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9968face5f69ccd318147dbebc6520b58e195a6b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'All' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..00d60c6ac8edd7f34a4df3a4fe77be2f3cabc196 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_all_warnaserror.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3db4fd7d108d7978a9dadeee7fa78eb26631f379 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d1297d7eaf147bb5b269a8ace314a74a744b916e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7f7a763357b4dbe95280976942f23e626677ff8f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9da1076aa81d79899371c366587138f001686e7f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ffed54f035ffc5d2649854982c92ab1c52d7af17 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_none.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'None' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8c4ca099da15d4d3123c457c5b478ab5660aacbb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_none_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d9358d0f1691e52e2962a57cff864be6d172cb6c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..827f109daf05d39740e5fe5c8ccffd6182d43e21 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_10_recommended_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8fde0bfdea254ff07b86906ee72e6cab3046396c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'All' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..89d017442ae0dfc181a235a988db9743e3564ed3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_all_warnaserror.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..758add682c75af00e4bfd88cce4ed33927fb804a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_default.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ff99dd0765a9a0ffc3831a9e484edc5c96e586c6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_default_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5ec8c96abba50830cacac557d327617e80637dc6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_minimum.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..78cac60c1b9c668aca2352263929c6c87e8f86fd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_minimum_warnaserror.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..65ed741cdcb797cea93a9cffa4298a1679688dba --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_none.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'None' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f0b89011300b1a9e2c31f027d22a51b148d7d7a1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_none_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0b5cd39c50b9bccd2f2dac86847be42f1a21a424 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e912d05448a8b1bc0d067bcb8259be72b42ad8ee --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_5_recommended_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bea6fe32926e6b7d7aec084ab348bf52707de990 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'All' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a9c5d4eef96e325096e39b98ac5b1c46cf80f590 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_all_warnaserror.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28640d99e0b24872d0030f5d9edce8b0619f9421 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..14d1a617f25a9166ece7d27772b68afae0c6215e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5da3d1d5f8b831054a4a14fc2ba24550e9113f62 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8778ad9dd2aafc6c0f05cc582b637d20068093f6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ccb7f2e9cd0706c4c4296556d6855584a7ed3c6b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_none.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'None' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7ebcdcf3a9620cf83d89c754cc0befd9ccb9657f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_none_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7c7f73f0e2190a8daa299d7a50401b15d1b9c858 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8c0cc50e0ee642d250255f57000a922732fce219 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_6_recommended_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28ab08e0c28daee13a04b250be2324e29aaece22 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'All' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2316d9e6b01aeacf0f760eb7bd58cefed67f84b3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_all_warnaserror.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9ae7a85c428e3ec01b57c28c8d9042cabb33c20e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dd50e24d19017dfef85db9f6d7985007eb17e855 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..27d37e1eb07c979738f74c0fa0d35ff4fe58f4ba --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3b24365db7d7486f2ae2295cf15824e46aef8021 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d390530ca91b97dd7ad34c0b2e1c73f77d149b64 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_none.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'None' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ff266c5e20275f0c7f23074f7b26490329993629 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_none_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9d9a5531f60784ff5368e1699c19d5dd79c4da5f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1d853c466afc3cda00dfc74ad269e556aa503738 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_7_recommended_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d7a0573e0e40ebaba033295051726bec01404dff --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'All' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c82fa6e2592873df4dd4a73573c34987ee0057b9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_all_warnaserror.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c161cef87037cf71f819c6b2dd5340091553bdcb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6df66606088d74b2c5fccaa90a161d79d82fa5c8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..52805b800baa8797101349a91b9c51a4a6f68ec6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..89d7ebab4be0895984e16df681379425ec92447e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..46bd083368af5bf8f1b0c5fb1cef80cadb94b01d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_none.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'None' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c9c1c8c7e5ef83bd1f314952bb39a332dc89aea8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_none_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..62b9ae357778e97e77cefbc7aaff3bfb53b377fc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..889fa19960e60e8796e3365b38a02ee34ceba48f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_8_recommended_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3c9ec9bb41086be73382d0c16c82aa8b2c21ab3f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'All' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = warning + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = warning + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bd6c5a9d2ed1ade817ed464e2c9aeb7216979601 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_all_warnaserror.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1700: Do not name enum values 'Reserved' +dotnet_diagnostic.CA1700.severity = error + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1713: Events should not have 'Before' or 'After' prefix +dotnet_diagnostic.CA1713.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1721: Property names should not match get methods +dotnet_diagnostic.CA1721.severity = error + +# CA1724: Type names should not match namespaces +dotnet_diagnostic.CA1724.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..95f31d5e714eea4439705fb7892a19ed7392cd7c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9608e757d7d23d1c9bcb37e865474568140b8d95 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7f63264fdd332c6b60ceefc5560ffec59e9dd74d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c20b5dcf2d259039eca70da03f02fa5a32618014 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b355dfa333de5dc7561e32d27e283a6e61d9d1d2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_none.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'None' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..78ae4b1a484edd119aff2e891f66fb065d6698a1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_none_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = none + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = none + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = none + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = none + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = none + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = none + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = none + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = none + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = none + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fe4a3bcd2524a8b6310b2594dd3f3213a7939cf2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = warning + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = warning + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = warning + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = warning + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = warning + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = warning + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = warning + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = warning + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = warning + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0796c2f6132b96ffd8875adaa5d9804695f01abf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelnaming_9_recommended_warnaserror.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Naming' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Naming' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1707: Identifiers should not contain underscores +dotnet_diagnostic.CA1707.severity = error + +# CA1708: Identifiers should differ by more than case +dotnet_diagnostic.CA1708.severity = error + +# CA1710: Identifiers should have correct suffix +dotnet_diagnostic.CA1710.severity = error + +# CA1711: Identifiers should not have incorrect suffix +dotnet_diagnostic.CA1711.severity = error + +# CA1712: Do not prefix enum values with type name +dotnet_diagnostic.CA1712.severity = error + +# CA1715: Identifiers should have correct prefix +dotnet_diagnostic.CA1715.severity = error + +# CA1716: Identifiers should not match keywords +dotnet_diagnostic.CA1716.severity = error + +# CA1720: Identifier contains type name +dotnet_diagnostic.CA1720.severity = error + +# CA1725: Parameter names should match base declaration +dotnet_diagnostic.CA1725.severity = error + +# CA1727: Use PascalCase for named placeholders +dotnet_diagnostic.CA1727.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..03e694cf2c37322db1d75e825fc1a6783d0f2399 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_all.globalconfig @@ -0,0 +1,189 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'All' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b6d44c43ec11749d2fb8355ae34b6e5f9d334c09 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_all_warnaserror.globalconfig @@ -0,0 +1,192 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3224ea40cc53652067181cb4ea6e104166777277 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f5000766093e8ba3a93f30fa241e1c211c73b155 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_default_warnaserror.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..93b714906b904483c1858d734d1a5f61c4c35cbc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_minimum.globalconfig @@ -0,0 +1,138 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..50cb9fdb8b080904c7744ad03e72d3fe127d90f0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_minimum_warnaserror.globalconfig @@ -0,0 +1,141 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..be12105dea252f8ec5d6230e3b7706c8967af5d8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_none.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'None' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6602138ced76a9af96d02bc27fe33ea7dd0a687d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_none_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fcdc230905d500e0834460031e3f5b0385423fe2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_recommended.globalconfig @@ -0,0 +1,153 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4fce3a858a666dfb21e6dc72bf5c9c03cbd0f97a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_10_recommended_warnaserror.globalconfig @@ -0,0 +1,156 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..860983f48218a4214d11db7a2ce901f899cf12fc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_all.globalconfig @@ -0,0 +1,183 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'All' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..adce47a56a8bad4dbc627cd6b0cf9509626b1b72 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_all_warnaserror.globalconfig @@ -0,0 +1,186 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..456c52496ecc38cb2e6ae528f0e08b63171caaaf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_default.globalconfig @@ -0,0 +1,102 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..17577d984bba9b3943c20c49de7bb74431e8b772 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_default_warnaserror.globalconfig @@ -0,0 +1,105 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..112500a6acc3ce2fe5dd3f4bcbf1c5d7d43a556c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_minimum.globalconfig @@ -0,0 +1,150 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..28630901d83e7778a5f96fbb5a667e1f81ba67d6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_minimum_warnaserror.globalconfig @@ -0,0 +1,153 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..23be4084d89e8da9f4a3a04ca4e1b73c59ab056a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_none.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'None' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f0f4e0219190fe09efc9187ccb6494007346371e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_none_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b470c3aa4866328eec371772b834d2e168126a26 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_recommended.globalconfig @@ -0,0 +1,156 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ea87f51fa949aaca3b71a929552581e6aa829019 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_5_recommended_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d222246bd8b692d8e18108480f2b9e8ff7dbcf30 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_all.globalconfig @@ -0,0 +1,183 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'All' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1a20ad9095f5647b8b393f99248c0b84e19bd038 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_all_warnaserror.globalconfig @@ -0,0 +1,186 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d534fadb389070448df619fc4ded7448a9d56d9b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_default.globalconfig @@ -0,0 +1,72 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..30943931aa41c0f0b8f63dfefd6c595a8aab31d1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_default_warnaserror.globalconfig @@ -0,0 +1,75 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5e534f5cc8d7a441ae0e7477e59060ca296bc135 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_minimum.globalconfig @@ -0,0 +1,147 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8693b4742dd4ad536b26eefb4254bdd96180e42f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_minimum_warnaserror.globalconfig @@ -0,0 +1,150 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1790c28ce9a62eadfbfc969062544265d8dd450d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_none.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'None' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..21bdc0d8ed5d751ded553180edec40343c12c51d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_none_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..964e7202ecb7e2074b78d64caeac7baf1132f5bd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_recommended.globalconfig @@ -0,0 +1,156 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..20b275165a8f54efadc05c18c64af0f45db2a76c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_6_recommended_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ed66b558e8e59287eadd49092d32e0d59bdea4a8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_all.globalconfig @@ -0,0 +1,189 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'All' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..424bc9683f5ce44573bc8ebfef9261f683b8edef --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_all_warnaserror.globalconfig @@ -0,0 +1,192 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..401a6afa68d6fb2d02e3c44445104c01756d7c41 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_default.globalconfig @@ -0,0 +1,57 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..509cff935bd3a3968b9f564e8d8deca722777a20 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_default_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..785a7846be2e451fc9b949eff846d765a2cc382e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_minimum.globalconfig @@ -0,0 +1,144 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..04644cb2c5a98768a1f91d7ed085982c367669e1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_minimum_warnaserror.globalconfig @@ -0,0 +1,147 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6e81d8a464d3e03b75d7deafd7b030c8042bc942 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_none.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'None' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..16b027153689f649c6ec1a107126407bf6f52f5b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_none_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f4cf75de97a7ae055df22140415d42530fbe8e39 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_recommended.globalconfig @@ -0,0 +1,156 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6468ce916873d5e1e298b5338d6ed4e804711791 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_7_recommended_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fa1df0a5036c9baf24ffea0b10a53c68f49f99e9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_all.globalconfig @@ -0,0 +1,189 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'All' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..54e73ac2433a674d6f3f6e29c4aae165bec7ceb2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_all_warnaserror.globalconfig @@ -0,0 +1,192 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bf53f141f3ac84f5fc7ea0e11e24c1473b2fc4b2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_default.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0dcb0576892eb2a26e4393254d9a58d927babeb2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_default_warnaserror.globalconfig @@ -0,0 +1,21 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5aa6635631415b9da371947bdc6b1e30e300f465 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_minimum.globalconfig @@ -0,0 +1,138 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f255b2e578e5ae9ceea99e12ba2b8b5fea21e095 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_minimum_warnaserror.globalconfig @@ -0,0 +1,141 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..33ab211c42d43ef1d34e6a6aacac6621511c2099 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_none.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'None' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d732e3232c2783adfd49a749fda4b24eaa4b6b3d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_none_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a7eff0015608499049c4c3247bff1e480932e3d7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_recommended.globalconfig @@ -0,0 +1,153 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e598f93cbfb407285898f8646a120cf722163729 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_8_recommended_warnaserror.globalconfig @@ -0,0 +1,156 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e050ba91b6beaf2cd7e894da228b61a4116e6a7a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_all.globalconfig @@ -0,0 +1,189 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'All' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = warning + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = warning + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = warning + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = warning + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = warning + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = warning + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = warning + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1ac37ff2478b5653ebd6bd8d754b8fedc60a6b34 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_all_warnaserror.globalconfig @@ -0,0 +1,192 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1802: Use literals where appropriate +dotnet_diagnostic.CA1802.severity = error + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1810: Initialize reference type static fields inline +dotnet_diagnostic.CA1810.severity = error + +# CA1812: Avoid uninstantiated internal classes +dotnet_diagnostic.CA1812.severity = error + +# CA1813: Avoid unsealed attributes +dotnet_diagnostic.CA1813.severity = error + +# CA1814: Prefer jagged arrays over multidimensional +dotnet_diagnostic.CA1814.severity = error + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = error + +# CA1819: Properties should not return arrays +dotnet_diagnostic.CA1819.severity = error + +# CA1820: Test for empty strings using string length +dotnet_diagnostic.CA1820.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1823: Avoid unused private fields +dotnet_diagnostic.CA1823.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1849: Call async methods when in an async method +dotnet_diagnostic.CA1849.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1851: Possible multiple enumerations of 'IEnumerable' collection +dotnet_diagnostic.CA1851.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1867: Use char overload +dotnet_diagnostic.CA1867.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0ceda50271e9c72d0ac09083e5512b133879c552 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a5f1e007c5a0779e5be26450b8806200063aa0e7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_default_warnaserror.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0f16cd29f3fb270c86aeb382e4e25ad1e7f7ea60 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_minimum.globalconfig @@ -0,0 +1,138 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..61e61d405b4386f26df84895d230ac85a6898fe5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_minimum_warnaserror.globalconfig @@ -0,0 +1,141 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ee24018ac48f7578b2a6e24bea486f73eed822f8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_none.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'None' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a5ca77e6b113d27e57a7d6730f0105f9ae798cba --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_none_warnaserror.globalconfig @@ -0,0 +1,159 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = none + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = none + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = none + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = none + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = none + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = none + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = none + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = none + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = none + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = none + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = none + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = none + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = none + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = none + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = none + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = none + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = none + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = none + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = none + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = none + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = none + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = none + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = none + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = none + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = none + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = none + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = none + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = none + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = none + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = none + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = none + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = none + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = none + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = none + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = none + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = none + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = none + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = none + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = none + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = none + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = none + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = none + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = none + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = none + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = none + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = none + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = none + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = none + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = none + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8342c63b1a5d0e5700e12682bdd4aa2dfc2e2c81 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_recommended.globalconfig @@ -0,0 +1,153 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = warning + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = warning + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = warning + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = warning + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = warning + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = warning + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = warning + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = warning + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = warning + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = warning + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = warning + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = warning + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = warning + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = warning + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = warning + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = warning + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = warning + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = warning + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = warning + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = warning + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = warning + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = warning + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = warning + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = warning + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = warning + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = warning + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = warning + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = warning + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = warning + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = warning + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = warning + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = warning + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = warning + +# CA1856: Incorrect usage of ConstantExpected attribute +dotnet_diagnostic.CA1856.severity = warning + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = warning + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = warning + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = warning + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = warning + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = warning + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = warning + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = warning + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = warning + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = warning + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = warning + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = warning + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = warning + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = warning + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1b4ca4303e8f2c153cdb7e96810ca3f6b5f6649a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelperformance_9_recommended_warnaserror.globalconfig @@ -0,0 +1,156 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Performance' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Performance' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1805: Do not initialize unnecessarily +dotnet_diagnostic.CA1805.severity = error + +# CA1806: Do not ignore method results +dotnet_diagnostic.CA1806.severity = error + +# CA1821: Remove empty Finalizers +dotnet_diagnostic.CA1821.severity = error + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = error + +# CA1824: Mark assemblies with NeutralResourcesLanguageAttribute +dotnet_diagnostic.CA1824.severity = error + +# CA1825: Avoid zero-length array allocations +dotnet_diagnostic.CA1825.severity = error + +# CA1826: Do not use Enumerable methods on indexable collections +dotnet_diagnostic.CA1826.severity = error + +# CA1827: Do not use Count() or LongCount() when Any() can be used +dotnet_diagnostic.CA1827.severity = error + +# CA1828: Do not use CountAsync() or LongCountAsync() when AnyAsync() can be used +dotnet_diagnostic.CA1828.severity = error + +# CA1829: Use Length/Count property instead of Count() when available +dotnet_diagnostic.CA1829.severity = error + +# CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder +dotnet_diagnostic.CA1830.severity = error + +# CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1831.severity = error + +# CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1832.severity = error + +# CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate +dotnet_diagnostic.CA1833.severity = error + +# CA1834: Consider using 'StringBuilder.Append(char)' when applicable +dotnet_diagnostic.CA1834.severity = error + +# CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' +dotnet_diagnostic.CA1835.severity = error + +# CA1836: Prefer IsEmpty over Count +dotnet_diagnostic.CA1836.severity = error + +# CA1837: Use 'Environment.ProcessId' +dotnet_diagnostic.CA1837.severity = error + +# CA1838: Avoid 'StringBuilder' parameters for P/Invokes +dotnet_diagnostic.CA1838.severity = error + +# CA1839: Use 'Environment.ProcessPath' +dotnet_diagnostic.CA1839.severity = error + +# CA1840: Use 'Environment.CurrentManagedThreadId' +dotnet_diagnostic.CA1840.severity = error + +# CA1841: Prefer Dictionary.Contains methods +dotnet_diagnostic.CA1841.severity = error + +# CA1842: Do not use 'WhenAll' with a single task +dotnet_diagnostic.CA1842.severity = error + +# CA1843: Do not use 'WaitAll' with a single task +dotnet_diagnostic.CA1843.severity = error + +# CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' +dotnet_diagnostic.CA1844.severity = error + +# CA1845: Use span-based 'string.Concat' +dotnet_diagnostic.CA1845.severity = error + +# CA1846: Prefer 'AsSpan' over 'Substring' +dotnet_diagnostic.CA1846.severity = error + +# CA1847: Use char literal for a single character lookup +dotnet_diagnostic.CA1847.severity = error + +# CA1848: Use the LoggerMessage delegates +dotnet_diagnostic.CA1848.severity = error + +# CA1850: Prefer static 'HashData' method over 'ComputeHash' +dotnet_diagnostic.CA1850.severity = error + +# CA1852: Seal internal types +dotnet_diagnostic.CA1852.severity = error + +# CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' +dotnet_diagnostic.CA1853.severity = error + +# CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method +dotnet_diagnostic.CA1854.severity = error + +# CA1855: Prefer 'Clear' over 'Fill' +dotnet_diagnostic.CA1855.severity = error + +# CA1857: A constant is expected for the parameter +dotnet_diagnostic.CA1857.severity = error + +# CA1858: Use 'StartsWith' instead of 'IndexOf' +dotnet_diagnostic.CA1858.severity = error + +# CA1859: Use concrete types when possible for improved performance +dotnet_diagnostic.CA1859.severity = error + +# CA1860: Avoid using 'Enumerable.Any()' extension method +dotnet_diagnostic.CA1860.severity = error + +# CA1861: Avoid constant arrays as arguments +dotnet_diagnostic.CA1861.severity = error + +# CA1862: Use the 'StringComparison' method overloads to perform case-insensitive string comparisons +dotnet_diagnostic.CA1862.severity = error + +# CA1863: Use 'CompositeFormat' +dotnet_diagnostic.CA1863.severity = error + +# CA1864: Prefer the 'IDictionary.TryAdd(TKey, TValue)' method +dotnet_diagnostic.CA1864.severity = error + +# CA1865: Use char overload +dotnet_diagnostic.CA1865.severity = error + +# CA1866: Use char overload +dotnet_diagnostic.CA1866.severity = error + +# CA1868: Unnecessary call to 'Contains(item)' +dotnet_diagnostic.CA1868.severity = error + +# CA1869: Cache and reuse 'JsonSerializerOptions' instances +dotnet_diagnostic.CA1869.severity = error + +# CA1870: Use a cached 'SearchValues' instance +dotnet_diagnostic.CA1870.severity = error + +# CA1871: Do not pass a nullable struct to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA1871.severity = error + +# CA1872: Prefer 'Convert.ToHexString' and 'Convert.ToHexStringLower' over call chains based on 'BitConverter.ToString' +dotnet_diagnostic.CA1872.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bb16b2386cc2c3e64f87bccf6a01e071df1f3fed --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_all.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'All' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c692821c8e12b71102a467e4895986ec0a14e11d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_all_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a78be638c278a578b3fa365119b95f5e0c1bf382 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..987b60066a94c742702b87b3cc9cb57477f4000b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_default_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d90c2d4e04d049c9a031a53d6895d93795082880 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..80a8352e8b9b38690b337afcb30d50d61e6efef0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_minimum_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..346998d82eae1e2b7c75332280caf9534865babf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_none.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'None' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2253d3e997ab4380002623a49b6808762613986e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_none_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..63891abd32171bc259ae15f2f910a36311739640 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dfd0e8d43a69df9221df488636eb58c4c4238f86 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_10_recommended_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d535ec35719398b3e81fe8a299c8ca85e9ecc654 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_all.globalconfig @@ -0,0 +1,51 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'All' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..68d5536fe96aa00b87f47a31c649f49fb0ba6d8d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_all_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0036e1d9772687729393c9df3aee2cfa0fdbf2da --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_default.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..188099a1e3e74a5db20cd2e511f3e61980e8c882 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_default_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..92afcb431a455e06457da9b941a10fb1bcbac248 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_minimum.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1a19b7a674f68090ab2712f9c1b7ad1f7f0766f9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_minimum_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..023cd52d3a97b3d07c25e954e83fde8c4cee4e82 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_none.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'None' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e8fcc3c8b147d1ec9d23d5677ad11d4363cb3e90 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_none_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b18912cd7ff734c1ff79c8b87fdfdd6b7619ef01 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_recommended.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c30b0118ecf4445007d1fbd4f7e7b0f0bad23813 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_5_recommended_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a3dd116eb9e604095ea8ddab2fbca52087187692 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_all.globalconfig @@ -0,0 +1,45 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'All' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0fb6f7985deecdf6a0ea6a5b85d7f904974c864d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_all_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6bf900022c3cd89ec6a4188ec12312e74018a635 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_default.globalconfig @@ -0,0 +1,21 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c75cfc6a0bb1487f0a5fa980a71edc18a2a0fe53 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_default_warnaserror.globalconfig @@ -0,0 +1,36 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a4511b154e206e2ac064278667371ec0dd530353 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_minimum.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..001ad9870be14f7ff5725302748f5166ffb4a4ff --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_minimum_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e41ba686ac18cf78abeb0b5f5ae16fcc61d5b831 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_none.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'None' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c36a6c2e58c7a34c176a1dda973e0aae42f30eb3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_none_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..89a1836535341b5f200b103dda29d632cbae1a96 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_recommended.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..06b6251b68011b1fe27992997371f36c811fd722 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_6_recommended_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..cb6617f3d681d130c69b7b1e0a0708714aacdebf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_all.globalconfig @@ -0,0 +1,45 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'All' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e4074081ab156ce1eb738df36dfe2a1fddc2698f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_all_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8e7e08cd61bed1ff1f36ba1d33f9c17149a9f850 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_default.globalconfig @@ -0,0 +1,15 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a5c76dbdecd1bc1ff097098fff33ea86bdc354c3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_default_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4d0b2d47fa53c8db9d8d4223c2d77f7efe5a1c5b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_minimum.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4acd38bb37db14bf5d117eecb0e5e98ce76e8e71 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_minimum_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..efbccb3ad04496b8d78ec95e7278921b79a686ec --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_none.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'None' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0788d86690cb42184e2b63d65bc7e794a1fa6f56 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_none_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9eb8f02152364a94fe12d8ac06f6b2c8c844d367 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_recommended.globalconfig @@ -0,0 +1,33 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6f27704834d1aefd744de11b276fc67b3047e42c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_7_recommended_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f9d890ef3a850c7b34f0e3dde4d8d040bdca7429 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_all.globalconfig @@ -0,0 +1,42 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'All' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3157b23eda0427c20ee44a5f6f748c889b915f3f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_all_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d9a4a3bb9dc231ca55cd5a1dc7efab61553a3f64 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_default.globalconfig @@ -0,0 +1,12 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4d6b708534109262d7a065fbabd3919d49cf950c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_default_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8aa41109560868db56ea84020a79e08736fba54b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_minimum.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a5844195b1109818bcc6510b8fc8ecc8b019347d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_minimum_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d74ebd9f29a4dbdaf8ef1f68fabf0a577bcce9db --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_none.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'None' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..495b17cab2c2cdd6a5e4b2a14174675bc2d619f2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_none_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..20a875b50e7a07dae373a0b2d6807480c5a97feb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_recommended.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2b376bc1ff794b5990fd281a4645a761d6c48f15 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_8_recommended_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ec2b72706abb3abe11c5dec5b34a7dea9d680b8f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_all.globalconfig @@ -0,0 +1,39 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'All' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = warning + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = warning + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = warning + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = warning + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8dad4ef30634a86d1b0cdc94e0883517acb154bd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_all_warnaserror.globalconfig @@ -0,0 +1,60 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2000: Dispose objects before losing scope +dotnet_diagnostic.CA2000.severity = error + +# CA2002: Do not lock on objects with weak identity +dotnet_diagnostic.CA2002.severity = error + +# CA2007: Consider calling ConfigureAwait on the awaited task +dotnet_diagnostic.CA2007.severity = error + +# CA2008: Do not create tasks without passing a TaskScheduler +dotnet_diagnostic.CA2008.severity = error + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f7b9fcea77cd22473a0c57759bd817abce06367c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..03d8a602a710cd9a5b7d0990cafe106975ce16d1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_default_warnaserror.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c49b04df5f27fd9812086e6de1025bb8c3d0612a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_minimum.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fff71bacca6b5af938c8ae7287204ac43fe73b7b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_minimum_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..18bd8c89e1b390004cb9bc12bcc823535d546d67 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_none.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'None' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f9be09b040f55d3c469e2c2ebc59029d74ac35e4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_none_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = none + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = none + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = none + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = none + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = none + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = none + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = none + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = none + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = none + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = none + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = none + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = none + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..34decd3af4545773f265cc72fbe3eda723f2e0c8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_recommended.globalconfig @@ -0,0 +1,27 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = warning + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = warning + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = warning + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = warning + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = warning + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d34c69f0949517e6864d51c8707edeb1f36f82ef --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelreliability_9_recommended_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Reliability' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Reliability' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2009: Do not call ToImmutableCollection on an ImmutableCollection value +dotnet_diagnostic.CA2009.severity = error + +# CA2011: Avoid infinite recursion +dotnet_diagnostic.CA2011.severity = error + +# CA2012: Use ValueTasks correctly +dotnet_diagnostic.CA2012.severity = error + +# CA2013: Do not use ReferenceEquals with value types +dotnet_diagnostic.CA2013.severity = error + +# CA2014: Do not use stackalloc in loops +dotnet_diagnostic.CA2014.severity = error + +# CA2015: Do not define finalizers for types derived from MemoryManager +dotnet_diagnostic.CA2015.severity = error + +# CA2016: Forward the 'CancellationToken' parameter to methods +dotnet_diagnostic.CA2016.severity = error + +# CA2017: Parameter count mismatch +dotnet_diagnostic.CA2017.severity = error + +# CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument +dotnet_diagnostic.CA2018.severity = error + +# CA2019: Improper 'ThreadStatic' field initialization +dotnet_diagnostic.CA2019.severity = error + +# CA2020: Prevent behavioral change +dotnet_diagnostic.CA2020.severity = error + +# CA2021: Do not call Enumerable.Cast or Enumerable.OfType with incompatible types +dotnet_diagnostic.CA2021.severity = error + +# CA2022: Avoid inexact read with 'Stream.Read' +dotnet_diagnostic.CA2022.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d4f5c2cc7a3936afaaaff17f7afa0a03eb4b36b0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_all.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'All' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1d9211fc6efa7dba830296317ef2b61da25729ff --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_all_warnaserror.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0126faa4f8ec3b483142fac4012f3cc91ff33388 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..47b20e9833f253c5f66fa02d9fc903d7a3ddc7ed --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..09e55a01cea20a22e7c86b0c14c204af3e092ff9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..65389e20783fc01078bdd1cb5e9237260adcba09 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9cb154a6f4e19c3ca45ba47172f3b433aaf5089b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_none.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'None' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..77d9c8bc35746e177552de1a162dc1a277ab9c8f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_none_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..df61b283b96fc9b6538c8e5916056e7e1a372263 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_recommended.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fea459c559c05d5c0ec1c58dbfde5062e1cd58dd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_10_recommended_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b10f3fca614d09c1bb96b5d95593e60a5b56bf75 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_all.globalconfig @@ -0,0 +1,285 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'All' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..024b99fdcff4cc35b8b117bdb5d60ed36e71cd03 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_all_warnaserror.globalconfig @@ -0,0 +1,285 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..32f5026272f949a34063628ef91d93fefd159fd4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..58cafd9d225c188d499b177c51d27dcd9d8bcba5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..03a6bdf3b06bc16a15bbf6bc3a692949f801c14e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9e96e9cc5096766c994778e5d6ac30ea2757af4f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f3e4007543571a49dd7e29d553ed6fd6d2922247 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_none.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'None' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c275639a15d36863072d823ccf731f4a26ab1396 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_none_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5252763413cee4a3e011fc824a2606c2ddfc8f85 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_recommended.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..859ebb7600a126b72bdd0504d7f684de237b494a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_5_recommended_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d37cb56ff6c08c51a520fcf76c13830bf6951d68 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_all.globalconfig @@ -0,0 +1,285 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'All' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6b81f067cc00780e8fe366e9b4c1592e9adbab06 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_all_warnaserror.globalconfig @@ -0,0 +1,285 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7781e8d9d830470e25afbd9b43cac1fbb55e14a2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..188bbbc99c315925bd8a8c4b77c22a8d9410132b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ce649e01e52d94f946ae884e7e76bd099414e0a2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..06f149af96307f49fb840b63d4674c273e46c5a7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ea44096a12411a2ae1bd5552b51341c35ac920c8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_none.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'None' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bc518d560d9d2353292c9e7331601c3f159320b1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_none_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..60c607f1fc16b028a52f10ec8b5268bcb5a4734c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_recommended.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..522fe344a23a0419faab1ead062dc80832185480 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_6_recommended_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3285b1a45b9a16015446120b44fb6a026f712685 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_all.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'All' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..76be27da8c4e6b9602f68a503f9a8990dddf94df --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_all_warnaserror.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..000ce55b6d087a2a5712b42f3fefbf943c8aaf35 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..06c2609dd55893e20d362235ae4bc138af364567 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3cc75a43437217d7e8b764008e12c18140b0f01e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e45eeaf516db53a7a43219e723e4b121237b0bcb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c5eba0cdf6714969a979be957c4dd5950f4e49b4 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_none.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'None' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3d3a649ca130a18b162f13dc2e8b01ee85a7fb6f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_none_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4d6ee34e06b6e59b4090759a138f94af53e1dffc --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_recommended.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f5446dfe286c8f655dedac4caeb42ef25f58a81d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_7_recommended_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c565e2dfdf069911a8a22fa1665174e26c45f302 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_all.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'All' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a3324a144c408ea453820ca419973f675d305650 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_all_warnaserror.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8b35aa6ea74eb674a9c409680510af719918b201 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8753b240f424970a5bdd00a30c3e496b44e66657 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a31355a7b5e913795ab452ef89836b9dd7696a63 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d6ebcd31d78543de344799f122f262044d59d9df --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d20c26bd36343231744a2c06b7f698da31506782 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_none.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'None' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ca7f2315d96d64a2bfba404dc4f01e9e57d90892 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_none_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b1ebb3fec1015804848170654cf13cea1b12955d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_recommended.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..83671065e3e3f07b3b9233b4888d7580f00bd25c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_8_recommended_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d0d4041c9b75296f10a72ba959310133d59c0d09 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_all.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'All' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = warning + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = warning + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = warning + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = warning + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = warning + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = warning + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = warning + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = warning + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = warning + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = warning + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = warning + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = warning + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = warning + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = warning + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = warning + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = warning + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = warning + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = warning + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = warning + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = warning + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = warning + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = warning + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = warning + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = warning + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = warning + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = warning + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = warning + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = warning + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = warning + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = warning + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = warning + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = warning + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = warning + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = warning + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = warning + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = warning + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = warning + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = warning + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = warning + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = warning + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = warning + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = warning + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = warning + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = warning + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = warning + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = warning + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = warning + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = warning + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = warning + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = warning + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = warning + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = warning + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = warning + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = warning + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = warning + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = warning + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = warning + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = warning + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = warning + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = warning + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = warning + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = warning + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = warning + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5e1d798845388e174810fdfbeb31b1d89f68504f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_all_warnaserror.globalconfig @@ -0,0 +1,291 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2100: Review SQL queries for security vulnerabilities +dotnet_diagnostic.CA2100.severity = error + +# CA2119: Seal methods that satisfy private interfaces +dotnet_diagnostic.CA2119.severity = error + +# CA2153: Do Not Catch Corrupted State Exceptions +dotnet_diagnostic.CA2153.severity = error + +# CA2300: Do not use insecure deserializer BinaryFormatter +dotnet_diagnostic.CA2300.severity = error + +# CA2301: Do not call BinaryFormatter.Deserialize without first setting BinaryFormatter.Binder +dotnet_diagnostic.CA2301.severity = error + +# CA2302: Ensure BinaryFormatter.Binder is set before calling BinaryFormatter.Deserialize +dotnet_diagnostic.CA2302.severity = error + +# CA2305: Do not use insecure deserializer LosFormatter +dotnet_diagnostic.CA2305.severity = error + +# CA2310: Do not use insecure deserializer NetDataContractSerializer +dotnet_diagnostic.CA2310.severity = error + +# CA2311: Do not deserialize without first setting NetDataContractSerializer.Binder +dotnet_diagnostic.CA2311.severity = error + +# CA2312: Ensure NetDataContractSerializer.Binder is set before deserializing +dotnet_diagnostic.CA2312.severity = error + +# CA2315: Do not use insecure deserializer ObjectStateFormatter +dotnet_diagnostic.CA2315.severity = error + +# CA2321: Do not deserialize with JavaScriptSerializer using a SimpleTypeResolver +dotnet_diagnostic.CA2321.severity = error + +# CA2322: Ensure JavaScriptSerializer is not initialized with SimpleTypeResolver before deserializing +dotnet_diagnostic.CA2322.severity = error + +# CA2326: Do not use TypeNameHandling values other than None +dotnet_diagnostic.CA2326.severity = error + +# CA2327: Do not use insecure JsonSerializerSettings +dotnet_diagnostic.CA2327.severity = error + +# CA2328: Ensure that JsonSerializerSettings are secure +dotnet_diagnostic.CA2328.severity = error + +# CA2329: Do not deserialize with JsonSerializer using an insecure configuration +dotnet_diagnostic.CA2329.severity = error + +# CA2330: Ensure that JsonSerializer has a secure configuration when deserializing +dotnet_diagnostic.CA2330.severity = error + +# CA2350: Do not use DataTable.ReadXml() with untrusted data +dotnet_diagnostic.CA2350.severity = error + +# CA2351: Do not use DataSet.ReadXml() with untrusted data +dotnet_diagnostic.CA2351.severity = error + +# CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2352.severity = error + +# CA2353: Unsafe DataSet or DataTable in serializable type +dotnet_diagnostic.CA2353.severity = error + +# CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2354.severity = error + +# CA2355: Unsafe DataSet or DataTable type found in deserializable object graph +dotnet_diagnostic.CA2355.severity = error + +# CA2356: Unsafe DataSet or DataTable type in web deserializable object graph +dotnet_diagnostic.CA2356.severity = error + +# CA2361: Ensure auto-generated class containing DataSet.ReadXml() is not used with untrusted data +dotnet_diagnostic.CA2361.severity = error + +# CA2362: Unsafe DataSet or DataTable in auto-generated serializable type can be vulnerable to remote code execution attacks +dotnet_diagnostic.CA2362.severity = error + +# CA3001: Review code for SQL injection vulnerabilities +dotnet_diagnostic.CA3001.severity = error + +# CA3002: Review code for XSS vulnerabilities +dotnet_diagnostic.CA3002.severity = error + +# CA3003: Review code for file path injection vulnerabilities +dotnet_diagnostic.CA3003.severity = error + +# CA3004: Review code for information disclosure vulnerabilities +dotnet_diagnostic.CA3004.severity = error + +# CA3005: Review code for LDAP injection vulnerabilities +dotnet_diagnostic.CA3005.severity = error + +# CA3006: Review code for process command injection vulnerabilities +dotnet_diagnostic.CA3006.severity = error + +# CA3007: Review code for open redirect vulnerabilities +dotnet_diagnostic.CA3007.severity = error + +# CA3008: Review code for XPath injection vulnerabilities +dotnet_diagnostic.CA3008.severity = error + +# CA3009: Review code for XML injection vulnerabilities +dotnet_diagnostic.CA3009.severity = error + +# CA3010: Review code for XAML injection vulnerabilities +dotnet_diagnostic.CA3010.severity = error + +# CA3011: Review code for DLL injection vulnerabilities +dotnet_diagnostic.CA3011.severity = error + +# CA3012: Review code for regex injection vulnerabilities +dotnet_diagnostic.CA3012.severity = error + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5358: Review cipher mode usage with cryptography experts +dotnet_diagnostic.CA5358.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5361: Do Not Disable SChannel Use of Strong Crypto +dotnet_diagnostic.CA5361.severity = error + +# CA5362: Potential reference cycle in deserialized object graph +dotnet_diagnostic.CA5362.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5367: Do Not Serialize Types With Pointer Fields +dotnet_diagnostic.CA5367.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5375: Do Not Use Account Shared Access Signature +dotnet_diagnostic.CA5375.severity = error + +# CA5376: Use SharedAccessProtocol HttpsOnly +dotnet_diagnostic.CA5376.severity = error + +# CA5377: Use Container Level Access Policy +dotnet_diagnostic.CA5377.severity = error + +# CA5378: Do not disable ServicePointManagerSecurityProtocols +dotnet_diagnostic.CA5378.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5380: Do Not Add Certificates To Root Store +dotnet_diagnostic.CA5380.severity = error + +# CA5381: Ensure Certificates Are Not Added To Root Store +dotnet_diagnostic.CA5381.severity = error + +# CA5382: Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5382.severity = error + +# CA5383: Ensure Use Secure Cookies In ASP.NET Core +dotnet_diagnostic.CA5383.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5386: Avoid hardcoding SecurityProtocolType value +dotnet_diagnostic.CA5386.severity = error + +# CA5387: Do Not Use Weak Key Derivation Function With Insufficient Iteration Count +dotnet_diagnostic.CA5387.severity = error + +# CA5388: Ensure Sufficient Iteration Count When Using Weak Key Derivation Function +dotnet_diagnostic.CA5388.severity = error + +# CA5389: Do Not Add Archive Item's Path To The Target File System Path +dotnet_diagnostic.CA5389.severity = error + +# CA5390: Do not hard-code encryption key +dotnet_diagnostic.CA5390.severity = error + +# CA5391: Use antiforgery tokens in ASP.NET Core MVC controllers +dotnet_diagnostic.CA5391.severity = error + +# CA5392: Use DefaultDllImportSearchPaths attribute for P/Invokes +dotnet_diagnostic.CA5392.severity = error + +# CA5393: Do not use unsafe DllImportSearchPath value +dotnet_diagnostic.CA5393.severity = error + +# CA5394: Do not use insecure randomness +dotnet_diagnostic.CA5394.severity = error + +# CA5395: Miss HttpVerb attribute for action methods +dotnet_diagnostic.CA5395.severity = error + +# CA5396: Set HttpOnly to true for HttpCookie +dotnet_diagnostic.CA5396.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error + +# CA5398: Avoid hardcoded SslProtocols values +dotnet_diagnostic.CA5398.severity = error + +# CA5399: HttpClients should enable certificate revocation list checks +dotnet_diagnostic.CA5399.severity = error + +# CA5400: Ensure HttpClient certificate revocation list check is not disabled +dotnet_diagnostic.CA5400.severity = error + +# CA5401: Do not use CreateEncryptor with non-default IV +dotnet_diagnostic.CA5401.severity = error + +# CA5402: Use CreateEncryptor with the default IV +dotnet_diagnostic.CA5402.severity = error + +# CA5403: Do not hard-code certificate +dotnet_diagnostic.CA5403.severity = error + +# CA5404: Do not disable token validation checks +dotnet_diagnostic.CA5404.severity = error + +# CA5405: Do not always skip token validation in delegates +dotnet_diagnostic.CA5405.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bc38e2555950611d8aede8094f400275edeac5a6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2591e03615abc7ad7db22289740d01d23a20e4f2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_default_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0930e7cbba4ce99b1e152bcae517aa0fda3622a9 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_minimum.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7de444abbbea6a85b933b40b4762f6236363c3de --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_minimum_warnaserror.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3497c1e72e45a5900cf52ca63c40f5fb8cc22b9b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_none.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'None' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b15539d579f072d8c069db8b5c8095af87b5740c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_none_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = none + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = none + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = none + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = none + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = none + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = none + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = none + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = none + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = none + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = none + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = none + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = none + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = none + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = none + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = none + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = none + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = none + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = none + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = none + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = none + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = none + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = none + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = none + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..36fdc3ade8f48340d9509a7c86912b00e893f4d7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_recommended.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = warning + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = warning + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = warning + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = warning + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = warning + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = warning + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = warning + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = warning + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = warning + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = warning + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = warning + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = warning + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = warning + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = warning + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = warning + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = warning + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = warning + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = warning + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = warning + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = warning + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = warning + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = warning + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = warning + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..037318a2b4c1472d4f5bd1bb3ac114a157272eca --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelsecurity_9_recommended_warnaserror.globalconfig @@ -0,0 +1,81 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Security' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Security' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA3061: Do Not Add Schema By URL +dotnet_diagnostic.CA3061.severity = error + +# CA3075: Insecure DTD processing in XML +dotnet_diagnostic.CA3075.severity = error + +# CA3076: Insecure XSLT script processing +dotnet_diagnostic.CA3076.severity = error + +# CA3077: Insecure Processing in API Design, XmlDocument and XmlTextReader +dotnet_diagnostic.CA3077.severity = error + +# CA3147: Mark Verb Handlers With Validate Antiforgery Token +dotnet_diagnostic.CA3147.severity = error + +# CA5350: Do Not Use Weak Cryptographic Algorithms +dotnet_diagnostic.CA5350.severity = error + +# CA5351: Do Not Use Broken Cryptographic Algorithms +dotnet_diagnostic.CA5351.severity = error + +# CA5359: Do Not Disable Certificate Validation +dotnet_diagnostic.CA5359.severity = error + +# CA5360: Do Not Call Dangerous Methods In Deserialization +dotnet_diagnostic.CA5360.severity = error + +# CA5363: Do Not Disable Request Validation +dotnet_diagnostic.CA5363.severity = error + +# CA5364: Do Not Use Deprecated Security Protocols +dotnet_diagnostic.CA5364.severity = error + +# CA5365: Do Not Disable HTTP Header Checking +dotnet_diagnostic.CA5365.severity = error + +# CA5366: Use XmlReader for 'DataSet.ReadXml()' +dotnet_diagnostic.CA5366.severity = error + +# CA5368: Set ViewStateUserKey For Classes Derived From Page +dotnet_diagnostic.CA5368.severity = error + +# CA5369: Use XmlReader for 'XmlSerializer.Deserialize()' +dotnet_diagnostic.CA5369.severity = error + +# CA5370: Use XmlReader for XmlValidatingReader constructor +dotnet_diagnostic.CA5370.severity = error + +# CA5371: Use XmlReader for 'XmlSchema.Read()' +dotnet_diagnostic.CA5371.severity = error + +# CA5372: Use XmlReader for XPathDocument constructor +dotnet_diagnostic.CA5372.severity = error + +# CA5373: Do not use obsolete key derivation function +dotnet_diagnostic.CA5373.severity = error + +# CA5374: Do Not Use XslTransform +dotnet_diagnostic.CA5374.severity = error + +# CA5379: Ensure Key Derivation Function algorithm is sufficiently strong +dotnet_diagnostic.CA5379.severity = error + +# CA5384: Do Not Use Digital Signature Algorithm (DSA) +dotnet_diagnostic.CA5384.severity = error + +# CA5385: Use Rivest-Shamir-Adleman (RSA) Algorithm With Sufficient Key Size +dotnet_diagnostic.CA5385.severity = error + +# CA5397: Do not use deprecated SslProtocols values +dotnet_diagnostic.CA5397.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ff9107e04fbdbb4ef71bbe69ab5fc9d5b6f6ffd6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_all.globalconfig @@ -0,0 +1,114 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'All' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..de322a0ecb23ebce2bfb3dce0d1727f9f4c013e7 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_all_warnaserror.globalconfig @@ -0,0 +1,144 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'All' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..027894bd448bd87617f07b4fde929cf25dc3c13a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'Default' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bf37228f876276e40dfc472c3cb43278089f742e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_default_warnaserror.globalconfig @@ -0,0 +1,42 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'Default' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f65f0e0bdb96fe59d8c53fa7a42ffd6a2284389a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_minimum.globalconfig @@ -0,0 +1,69 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'Minimum' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e167e9a3a1547d76c43db941f4a144d378c3b1e3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_minimum_warnaserror.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..db23db7c9d4f2b55d1737be5f8f17a47b6cda529 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_none.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'None' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..80e7ac7188ae43555391541df3420b1b4aad7171 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_none_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'None' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..ee7381d21b6c49ca2b3c2d3da15fcd3b4e4e3e02 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_recommended.globalconfig @@ -0,0 +1,78 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'Recommended' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4b6723e65ea20ea297380c924321bbdfc0398d60 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_10_recommended_warnaserror.globalconfig @@ -0,0 +1,108 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '10.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '10.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '10.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..fb4d1ca112a5a7bc9dcdca99ceddd3db61288da2 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_all.globalconfig @@ -0,0 +1,141 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'All' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..bf1cbcaf60459cf9c9376a571a3b9414d08d5ac0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_all_warnaserror.globalconfig @@ -0,0 +1,147 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'All' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..14f1c0fc259655941f68b3fa637fee64ee577e87 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_default.globalconfig @@ -0,0 +1,57 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'Default' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7909fa910474b3f62f73e783eecd59862c5b9f4a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_default_warnaserror.globalconfig @@ -0,0 +1,63 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'Default' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e12bd5817d28a0eb94a4962c5beed281c74e751f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_minimum.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'Minimum' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..92a882cef9181e7cc1d1dff55b8469b8d2bcc829 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_minimum_warnaserror.globalconfig @@ -0,0 +1,105 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..38bde1dda3031ca833435a01270fa7c8bfbf102c --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_none.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'None' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5dfbb09b1b5a95f58263d00764e87a0c1b267784 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_none_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'None' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..df0fa54c57ef496748bb8184f0b34328cc0f94fe --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_recommended.globalconfig @@ -0,0 +1,105 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'Recommended' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..8c23dd8ce900782cf369d3f44f84259c0a5e97ce --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_5_recommended_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '5.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '5.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '5.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..78a9e3719b75c6bb76be06117b41dccf132d6f09 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_all.globalconfig @@ -0,0 +1,129 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'All' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c18cd42ba75acfae02d39e1ed43b78f2cd566a31 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_all_warnaserror.globalconfig @@ -0,0 +1,144 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'All' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4fa670966c3aae1f768f2c7695a0bb739fd63e55 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_default.globalconfig @@ -0,0 +1,30 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'Default' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a1eeb600f167cd07558b433ab295efc9619dfb6f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_default_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'Default' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9590ee6ff128997c4fbdc2a79da98f17163532bf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_minimum.globalconfig @@ -0,0 +1,84 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'Minimum' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6499e64c56e0ec898b02f16bbe2cc7df60a1e56b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_minimum_warnaserror.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..6e598a70bbe0ada03f206e043c8e58e8d61b616f --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_none.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'None' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d66823325e580667abd93f7898cbf5b28b665d57 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_none_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'None' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..dcb1fd29f9d685fa6aae78a32f90c0a565267eaf --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_recommended.globalconfig @@ -0,0 +1,93 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'Recommended' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f1e741cd58ad3f6727fee96e3386f1794c6adedb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_6_recommended_warnaserror.globalconfig @@ -0,0 +1,108 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '6.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '6.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '6.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2b780da9e8cfef4374cc2d8cbda562686dc1d0c0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_all.globalconfig @@ -0,0 +1,123 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'All' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..94acc5460a75228036d19e658054dad4a414278b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_all_warnaserror.globalconfig @@ -0,0 +1,144 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'All' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..899cf85d66c51fd52c64db072f19d70d2e297db3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_default.globalconfig @@ -0,0 +1,24 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'Default' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f0b603b4bc1e89498d6c7b05ecfe9179cc89f44e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_default_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'Default' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..3cac4fbe84519a5c561ea14bd03395c803da1924 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_minimum.globalconfig @@ -0,0 +1,78 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'Minimum' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..5eeb3fc6156c4782e4da31699e4aee8889972a36 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_minimum_warnaserror.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..81c268a67dfedb0e75a0e4d9cec2d48bb57c3740 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_none.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'None' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..1707851c6c5e11fb854d9c575f2cf78f665e05aa --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_none_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'None' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0f9eba188f726f3c5557a885e8816bf79fc5b4d8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_recommended.globalconfig @@ -0,0 +1,87 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'Recommended' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..157c1133eedd0d8e17a3e72574a603d06aa28648 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_7_recommended_warnaserror.globalconfig @@ -0,0 +1,108 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '7.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '7.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '7.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..89184d3291191236d85e305fa7d0ac976bd2f511 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_all.globalconfig @@ -0,0 +1,120 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'All' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..a8003616d2495b29a6993f16346aeff56dbef5b1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_all_warnaserror.globalconfig @@ -0,0 +1,144 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'All' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..9c0066559e6770f5046c1edc0c328f290df5f593 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_default.globalconfig @@ -0,0 +1,21 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'Default' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0d8ae3d2761259e9f7353e93bb1ff5c9c5b3a66b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_default_warnaserror.globalconfig @@ -0,0 +1,48 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'Default' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..26ae83f1377e28249bad6f94a13c13b32c7c189a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_minimum.globalconfig @@ -0,0 +1,75 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'Minimum' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2b3f2ef30af546108ba4e676d6816b1c3cf03849 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_minimum_warnaserror.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0a357eaa5b90eceedcb55ec489b337c55e04ac39 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_none.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'None' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4dffb664e0778e17e0aa5ae3e229cb2b7041ef74 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_none_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'None' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..f255272272c4392cc8744e3fbc85521867ef48f3 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_recommended.globalconfig @@ -0,0 +1,84 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'Recommended' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e3ddc5f1aa6fe591d2a41238f253b26a1008ce3e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_8_recommended_warnaserror.globalconfig @@ -0,0 +1,108 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '8.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '8.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '8.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b78d92f66e4de5547fb0faf72fdc084e58405f43 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_all.globalconfig @@ -0,0 +1,114 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'All' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = warning + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = warning + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = warning + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = warning + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = warning + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = warning + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_all_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_all_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..18c5df930b2044fc7ca142b258e625a22854e139 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_all_warnaserror.globalconfig @@ -0,0 +1,144 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'All' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'All' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2207: Initialize value type static fields inline +dotnet_diagnostic.CA2207.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2213: Disposable fields should be disposed +dotnet_diagnostic.CA2213.severity = error + +# CA2214: Do not call overridable methods in constructors +dotnet_diagnostic.CA2214.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2216: Disposable types should declare finalizer +dotnet_diagnostic.CA2216.severity = error + +# CA2217: Do not mark enums with FlagsAttribute +dotnet_diagnostic.CA2217.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2225: Operator overloads have named alternates +dotnet_diagnostic.CA2225.severity = error + +# CA2226: Operators should have symmetrical overloads +dotnet_diagnostic.CA2226.severity = error + +# CA2227: Collection properties should be read only +dotnet_diagnostic.CA2227.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2234: Pass system uri objects instead of strings +dotnet_diagnostic.CA2234.severity = error + +# CA2235: Mark all non-serializable fields +dotnet_diagnostic.CA2235.severity = error + +# CA2237: Mark ISerializable types with serializable +dotnet_diagnostic.CA2237.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2243: Attribute string literals should parse correctly +dotnet_diagnostic.CA2243.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0abd40cf234acc23346a173ee8d4810d437f0263 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_default.globalconfig @@ -0,0 +1,9 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'Default' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_default_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_default_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..439070b52fe6c114f26898866de61701947ced1b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_default_warnaserror.globalconfig @@ -0,0 +1,42 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'Default' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'Default' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..639a7af55550f5c5e7a2e782e6e2059bc42c4977 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_minimum.globalconfig @@ -0,0 +1,69 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'Minimum' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_minimum_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_minimum_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..0fbf08d7ee036efabd00e0b9a8bea4c86095acce --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_minimum_warnaserror.globalconfig @@ -0,0 +1,99 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'Minimum' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..deca0849a8c8b050137875771a61ece831e366c0 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_none.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'None' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_none_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_none_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..12ddf2fb50c1404165356d06ebae37ac700ae09e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_none_warnaserror.globalconfig @@ -0,0 +1,111 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'None' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'None' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = none + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = none + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = none + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = none + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = none + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = none + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = none + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = none + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = none + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = none + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = none + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = none + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = none + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = none + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = none + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = none + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = none + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = none + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = none + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = none + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = none + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = none + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = none + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = none + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = none + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = none + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = none + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = none + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = none + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = none + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = none + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = none + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = none + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..283988f4ab9713e5f85f46ea9af8bfd840ed5e6d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_recommended.globalconfig @@ -0,0 +1,78 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'Recommended' analysis mode +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = warning + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = warning + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = warning + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = warning + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = warning + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = warning + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = warning + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = warning + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = warning + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = warning + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = warning + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = warning + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = warning + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = warning + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = warning + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = warning + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = warning + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = warning + +# CA2252: This API requires opting into preview features +dotnet_diagnostic.CA2252.severity = warning + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = warning + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = warning + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = warning + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_recommended_warnaserror.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_recommended_warnaserror.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..aa0cb94be551d7a7a0c875f7dd86a1af660efd6d --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevelusage_9_recommended_warnaserror.globalconfig @@ -0,0 +1,108 @@ +# NOTE: Requires **VS2019 16.7** or later + +# 'Usage' Rules from '9.0' release with 'Recommended' analysis mode escalated to 'error' severity +# Description: 'Usage' Rules with enabled-by-default state from '9.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '9.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property. + +is_global = true + +global_level = -99 + + +# CA1816: Dispose methods should call SuppressFinalize +dotnet_diagnostic.CA1816.severity = error + +# CA2200: Rethrow to preserve stack details +dotnet_diagnostic.CA2200.severity = error + +# CA2201: Do not raise reserved exception types +dotnet_diagnostic.CA2201.severity = error + +# CA2208: Instantiate argument exceptions correctly +dotnet_diagnostic.CA2208.severity = error + +# CA2211: Non-constant fields should not be visible +dotnet_diagnostic.CA2211.severity = error + +# CA2215: Dispose methods should call base class dispose +dotnet_diagnostic.CA2215.severity = error + +# CA2218: Override GetHashCode on overriding Equals +dotnet_diagnostic.CA2218.severity = error + +# CA2219: Do not raise exceptions in finally clauses +dotnet_diagnostic.CA2219.severity = error + +# CA2224: Override Equals on overloading operator equals +dotnet_diagnostic.CA2224.severity = error + +# CA2231: Overload operator equals on overriding value type Equals +dotnet_diagnostic.CA2231.severity = error + +# CA2241: Provide correct arguments to formatting methods +dotnet_diagnostic.CA2241.severity = error + +# CA2242: Test for NaN correctly +dotnet_diagnostic.CA2242.severity = error + +# CA2244: Do not duplicate indexed element initializations +dotnet_diagnostic.CA2244.severity = error + +# CA2245: Do not assign a property to itself +dotnet_diagnostic.CA2245.severity = error + +# CA2246: Assigning symbol and its member in the same statement +dotnet_diagnostic.CA2246.severity = error + +# CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum +dotnet_diagnostic.CA2247.severity = error + +# CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' +dotnet_diagnostic.CA2248.severity = error + +# CA2249: Consider using 'string.Contains' instead of 'string.IndexOf' +dotnet_diagnostic.CA2249.severity = error + +# CA2250: Use 'ThrowIfCancellationRequested' +dotnet_diagnostic.CA2250.severity = error + +# CA2251: Use 'string.Equals' +dotnet_diagnostic.CA2251.severity = error + +# CA2253: Named placeholders should not be numeric values +dotnet_diagnostic.CA2253.severity = error + +# CA2254: Template should be a static expression +dotnet_diagnostic.CA2254.severity = error + +# CA2255: The 'ModuleInitializer' attribute should not be used in libraries +dotnet_diagnostic.CA2255.severity = error + +# CA2256: All members declared in parent interfaces must have an implementation in a DynamicInterfaceCastableImplementation-attributed interface +dotnet_diagnostic.CA2256.severity = error + +# CA2257: Members defined on an interface with the 'DynamicInterfaceCastableImplementationAttribute' should be 'static' +dotnet_diagnostic.CA2257.severity = error + +# CA2258: Providing a 'DynamicInterfaceCastableImplementation' interface in Visual Basic is unsupported +dotnet_diagnostic.CA2258.severity = error + +# CA2259: 'ThreadStatic' only affects static fields +dotnet_diagnostic.CA2259.severity = error + +# CA2260: Use correct type parameter +dotnet_diagnostic.CA2260.severity = error + +# CA2261: Do not use ConfigureAwaitOptions.SuppressThrowing with Task +dotnet_diagnostic.CA2261.severity = error + +# CA2262: Set 'MaxResponseHeadersLength' properly +dotnet_diagnostic.CA2262.severity = error + +# CA2263: Prefer generic overload when type is known +dotnet_diagnostic.CA2263.severity = error + +# CA2264: Do not pass a non-nullable value to 'ArgumentNullException.ThrowIfNull' +dotnet_diagnostic.CA2264.severity = error + +# CA2265: Do not compare Span to 'null' or 'default' +dotnet_diagnostic.CA2265.severity = error diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/Microsoft.CodeAnalysis.CSharp.CodeStyle.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/Microsoft.CodeAnalysis.CSharp.CodeStyle.targets new file mode 100644 index 0000000000000000000000000000000000000000..f61a8a4e5468ff60f4684fd962c39978773a1f34 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/Microsoft.CodeAnalysis.CSharp.CodeStyle.targets @@ -0,0 +1,63 @@ + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '$(AnalysisLevelPrefixStyle)-', '')) + + + $(AnalysisLevelSuffix) + + $(AnalysisMode) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixStyle) + $(AnalysisLevelStyle) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle>$(AnalysisModeStyle) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">$(AnalysisLevelSuffixStyle) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">Default + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle>AnalysisLevelStyle_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisCSharpCodeStyle).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisCSharpCodeStyle Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisCSharpCodeStyle)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisCSharpCodeStyle) + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..c702973bc293c8695b14bd86a07d08ef86b6f845 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_all.globalconfig @@ -0,0 +1,335 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'All' analysis mode + +is_global = true + +global_level = -99 + + +# IDE0004: Remove Unnecessary Cast +dotnet_diagnostic.IDE0004.severity = warning + +# IDE0005: Using directive is unnecessary. +dotnet_diagnostic.IDE0005.severity = warning + +# IDE0007: Use implicit type +dotnet_diagnostic.IDE0007.severity = warning + +# IDE0008: Use explicit type +dotnet_diagnostic.IDE0008.severity = warning + +# IDE0010: Add missing cases +dotnet_diagnostic.IDE0010.severity = warning + +# IDE0011: Add braces +dotnet_diagnostic.IDE0011.severity = warning + +# IDE0016: Use 'throw' expression +dotnet_diagnostic.IDE0016.severity = warning + +# IDE0017: Simplify object initialization +dotnet_diagnostic.IDE0017.severity = warning + +# IDE0018: Inline variable declaration +dotnet_diagnostic.IDE0018.severity = warning + +# IDE0019: Use pattern matching +dotnet_diagnostic.IDE0019.severity = warning + +# IDE0020: Use pattern matching +dotnet_diagnostic.IDE0020.severity = warning + +# IDE0021: Use expression body for constructor +dotnet_diagnostic.IDE0021.severity = warning + +# IDE0022: Use expression body for method +dotnet_diagnostic.IDE0022.severity = warning + +# IDE0023: Use expression body for conversion operator +dotnet_diagnostic.IDE0023.severity = warning + +# IDE0024: Use expression body for operator +dotnet_diagnostic.IDE0024.severity = warning + +# IDE0025: Use expression body for property +dotnet_diagnostic.IDE0025.severity = warning + +# IDE0026: Use expression body for indexer +dotnet_diagnostic.IDE0026.severity = warning + +# IDE0027: Use expression body for accessor +dotnet_diagnostic.IDE0027.severity = warning + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = warning + +# IDE0029: Use coalesce expression +dotnet_diagnostic.IDE0029.severity = warning + +# IDE0030: Use coalesce expression +dotnet_diagnostic.IDE0030.severity = warning + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = warning + +# IDE0032: Use auto property +dotnet_diagnostic.IDE0032.severity = warning + +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = warning + +# IDE0034: Simplify 'default' expression +dotnet_diagnostic.IDE0034.severity = warning + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning + +# IDE0037: Use inferred member name +dotnet_diagnostic.IDE0037.severity = warning + +# IDE0039: Use local function +dotnet_diagnostic.IDE0039.severity = warning + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning + +# IDE0041: Use 'is null' check +dotnet_diagnostic.IDE0041.severity = warning + +# IDE0042: Deconstruct variable declaration +dotnet_diagnostic.IDE0042.severity = warning + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = warning + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning + +# IDE0045: Convert to conditional expression +dotnet_diagnostic.IDE0045.severity = warning + +# IDE0046: Convert to conditional expression +dotnet_diagnostic.IDE0046.severity = warning + +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = warning + +# IDE0048: Add parentheses for clarity +dotnet_diagnostic.IDE0048.severity = warning + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = warning + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = warning + +# IDE0053: Use block body for lambda expression +dotnet_diagnostic.IDE0053.severity = warning + +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = warning + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = warning + +# IDE0056: Use index operator +dotnet_diagnostic.IDE0056.severity = warning + +# IDE0057: Use range operator +dotnet_diagnostic.IDE0057.severity = warning + +# IDE0058: Expression value is never used +dotnet_diagnostic.IDE0058.severity = warning + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = warning + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning + +# IDE0061: Use expression body for local function +dotnet_diagnostic.IDE0061.severity = warning + +# IDE0062: Make local function 'static' +dotnet_diagnostic.IDE0062.severity = warning + +# IDE0063: Use simple 'using' statement +dotnet_diagnostic.IDE0063.severity = warning + +# IDE0064: Make readonly fields writable +dotnet_diagnostic.IDE0064.severity = warning + +# IDE0065: Misplaced using directive +dotnet_diagnostic.IDE0065.severity = warning + +# IDE0066: Convert switch statement to expression +dotnet_diagnostic.IDE0066.severity = warning + +# IDE0070: Use 'System.HashCode' +dotnet_diagnostic.IDE0070.severity = warning + +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = warning + +# IDE0072: Add missing cases +dotnet_diagnostic.IDE0072.severity = warning + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = warning + +# IDE0074: Use compound assignment +dotnet_diagnostic.IDE0074.severity = warning + +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = warning + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = warning + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = warning + +# IDE0078: Use pattern matching +dotnet_diagnostic.IDE0078.severity = warning + +# IDE0080: Remove unnecessary suppression operator +dotnet_diagnostic.IDE0080.severity = warning + +# IDE0082: 'typeof' can be converted to 'nameof' +dotnet_diagnostic.IDE0082.severity = warning + +# IDE0083: Use pattern matching +dotnet_diagnostic.IDE0083.severity = warning + +# IDE0090: Use 'new(...)' +dotnet_diagnostic.IDE0090.severity = warning + +# IDE0100: Remove redundant equality +dotnet_diagnostic.IDE0100.severity = warning + +# IDE0110: Remove unnecessary discard +dotnet_diagnostic.IDE0110.severity = warning + +# IDE0120: Simplify LINQ expression +dotnet_diagnostic.IDE0120.severity = warning + +# IDE0121: Simplify LINQ expression +dotnet_diagnostic.IDE0121.severity = warning + +# IDE0130: Namespace does not match folder structure +dotnet_diagnostic.IDE0130.severity = warning + +# IDE0150: Prefer 'null' check over type check +dotnet_diagnostic.IDE0150.severity = warning + +# IDE0160: Convert to block scoped namespace +dotnet_diagnostic.IDE0160.severity = warning + +# IDE0161: Convert to file-scoped namespace +dotnet_diagnostic.IDE0161.severity = warning + +# IDE0170: Property pattern can be simplified +dotnet_diagnostic.IDE0170.severity = warning + +# IDE0180: Use tuple to swap values +dotnet_diagnostic.IDE0180.severity = warning + +# IDE0200: Remove unnecessary lambda expression +dotnet_diagnostic.IDE0200.severity = warning + +# IDE0210: Convert to top-level statements +dotnet_diagnostic.IDE0210.severity = warning + +# IDE0211: Convert to 'Program.Main' style program +dotnet_diagnostic.IDE0211.severity = warning + +# IDE0220: Add explicit cast +dotnet_diagnostic.IDE0220.severity = warning + +# IDE0230: Use UTF-8 string literal +dotnet_diagnostic.IDE0230.severity = warning + +# IDE0240: Remove redundant nullable directive +dotnet_diagnostic.IDE0240.severity = warning + +# IDE0241: Remove unnecessary nullable directive +dotnet_diagnostic.IDE0241.severity = warning + +# IDE0250: Make struct 'readonly' +dotnet_diagnostic.IDE0250.severity = warning + +# IDE0251: Make member 'readonly' +dotnet_diagnostic.IDE0251.severity = warning + +# IDE0260: Use pattern matching +dotnet_diagnostic.IDE0260.severity = warning + +# IDE0270: Use coalesce expression +dotnet_diagnostic.IDE0270.severity = warning + +# IDE0280: Use 'nameof' +dotnet_diagnostic.IDE0280.severity = warning + +# IDE0290: Use primary constructor +dotnet_diagnostic.IDE0290.severity = warning + +# IDE0300: Simplify collection initialization +dotnet_diagnostic.IDE0300.severity = warning + +# IDE0301: Simplify collection initialization +dotnet_diagnostic.IDE0301.severity = warning + +# IDE0302: Simplify collection initialization +dotnet_diagnostic.IDE0302.severity = warning + +# IDE0303: Simplify collection initialization +dotnet_diagnostic.IDE0303.severity = warning + +# IDE0304: Simplify collection initialization +dotnet_diagnostic.IDE0304.severity = warning + +# IDE0305: Simplify collection initialization +dotnet_diagnostic.IDE0305.severity = warning + +# IDE0306: Simplify collection initialization +dotnet_diagnostic.IDE0306.severity = warning + +# IDE0320: Make anonymous function static +dotnet_diagnostic.IDE0320.severity = warning + +# IDE0330: Use 'System.Threading.Lock' +dotnet_diagnostic.IDE0330.severity = warning + +# IDE0340: Use unbound generic type +dotnet_diagnostic.IDE0340.severity = warning + +# IDE0350: Use implicitly typed lambda +dotnet_diagnostic.IDE0350.severity = warning + +# IDE1005: Delegate invocation can be simplified. +dotnet_diagnostic.IDE1005.severity = warning + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = warning + +# IDE2000: Avoid multiple blank lines +dotnet_diagnostic.IDE2000.severity = warning + +# IDE2001: Embedded statements must be on their own line +dotnet_diagnostic.IDE2001.severity = warning + +# IDE2002: Consecutive braces must not have blank line between them +dotnet_diagnostic.IDE2002.severity = warning + +# IDE2003: Blank line required between block and subsequent statement +dotnet_diagnostic.IDE2003.severity = warning + +# IDE2004: Blank line not allowed after constructor initializer colon +dotnet_diagnostic.IDE2004.severity = warning + +# IDE2005: Blank line not allowed after conditional expression token +dotnet_diagnostic.IDE2005.severity = warning + +# IDE2006: Blank line not allowed after arrow expression clause token +dotnet_diagnostic.IDE2006.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4120762751005c5b2a944efb0b8cede80a964b4b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_default.globalconfig @@ -0,0 +1,8 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'Default' analysis mode + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..d76aa5bd3b38fb19fc2b9786ad6b60f266d825d1 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_minimum.globalconfig @@ -0,0 +1,68 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'Minimum' analysis mode + +is_global = true + +global_level = -99 + + +# IDE0005: Using directive is unnecessary. +dotnet_diagnostic.IDE0005.severity = warning + +# IDE0007: Use implicit type +dotnet_diagnostic.IDE0007.severity = warning + +# IDE0008: Use explicit type +dotnet_diagnostic.IDE0008.severity = warning + +# IDE0011: Add braces +dotnet_diagnostic.IDE0011.severity = warning + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = warning + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = warning + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = warning + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = warning + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = warning + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = warning + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = warning + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = warning + +# IDE0080: Remove unnecessary suppression operator +dotnet_diagnostic.IDE0080.severity = warning + +# IDE0160: Convert to block scoped namespace +dotnet_diagnostic.IDE0160.severity = warning + +# IDE0161: Convert to file-scoped namespace +dotnet_diagnostic.IDE0161.severity = warning + +# IDE0180: Use tuple to swap values +dotnet_diagnostic.IDE0180.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..7900e843dda0b405090096224df77ad705dd8f8e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_none.globalconfig @@ -0,0 +1,350 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'None' analysis mode + +is_global = true + +global_level = -99 + + +# EnableGenerateDocumentationFile: Set MSBuild property 'GenerateDocumentationFile' to 'true' +dotnet_diagnostic.EnableGenerateDocumentationFile.severity = none + +# IDE0004: Remove Unnecessary Cast +dotnet_diagnostic.IDE0004.severity = none + +# IDE0005: Using directive is unnecessary. +dotnet_diagnostic.IDE0005.severity = none + +# IDE0005_gen: Using directive is unnecessary. +dotnet_diagnostic.IDE0005_gen.severity = none + +# IDE0007: Use implicit type +dotnet_diagnostic.IDE0007.severity = none + +# IDE0008: Use explicit type +dotnet_diagnostic.IDE0008.severity = none + +# IDE0009: Member access should be qualified. +dotnet_diagnostic.IDE0009.severity = none + +# IDE0010: Add missing cases +dotnet_diagnostic.IDE0010.severity = none + +# IDE0011: Add braces +dotnet_diagnostic.IDE0011.severity = none + +# IDE0016: Use 'throw' expression +dotnet_diagnostic.IDE0016.severity = none + +# IDE0017: Simplify object initialization +dotnet_diagnostic.IDE0017.severity = none + +# IDE0018: Inline variable declaration +dotnet_diagnostic.IDE0018.severity = none + +# IDE0019: Use pattern matching +dotnet_diagnostic.IDE0019.severity = none + +# IDE0020: Use pattern matching +dotnet_diagnostic.IDE0020.severity = none + +# IDE0021: Use expression body for constructor +dotnet_diagnostic.IDE0021.severity = none + +# IDE0022: Use expression body for method +dotnet_diagnostic.IDE0022.severity = none + +# IDE0023: Use expression body for conversion operator +dotnet_diagnostic.IDE0023.severity = none + +# IDE0024: Use expression body for operator +dotnet_diagnostic.IDE0024.severity = none + +# IDE0025: Use expression body for property +dotnet_diagnostic.IDE0025.severity = none + +# IDE0026: Use expression body for indexer +dotnet_diagnostic.IDE0026.severity = none + +# IDE0027: Use expression body for accessor +dotnet_diagnostic.IDE0027.severity = none + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = none + +# IDE0029: Use coalesce expression +dotnet_diagnostic.IDE0029.severity = none + +# IDE0030: Use coalesce expression +dotnet_diagnostic.IDE0030.severity = none + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = none + +# IDE0032: Use auto property +dotnet_diagnostic.IDE0032.severity = none + +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = none + +# IDE0034: Simplify 'default' expression +dotnet_diagnostic.IDE0034.severity = none + +# IDE0035: Unreachable code detected +dotnet_diagnostic.IDE0035.severity = none + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = none + +# IDE0037: Use inferred member name +dotnet_diagnostic.IDE0037.severity = none + +# IDE0039: Use local function +dotnet_diagnostic.IDE0039.severity = none + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = none + +# IDE0041: Use 'is null' check +dotnet_diagnostic.IDE0041.severity = none + +# IDE0042: Deconstruct variable declaration +dotnet_diagnostic.IDE0042.severity = none + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = none + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = none + +# IDE0045: Convert to conditional expression +dotnet_diagnostic.IDE0045.severity = none + +# IDE0046: Convert to conditional expression +dotnet_diagnostic.IDE0046.severity = none + +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = none + +# IDE0048: Add parentheses for clarity +dotnet_diagnostic.IDE0048.severity = none + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = none + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = none + +# IDE0053: Use block body for lambda expression +dotnet_diagnostic.IDE0053.severity = none + +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = none + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = none + +# IDE0056: Use index operator +dotnet_diagnostic.IDE0056.severity = none + +# IDE0057: Use range operator +dotnet_diagnostic.IDE0057.severity = none + +# IDE0058: Expression value is never used +dotnet_diagnostic.IDE0058.severity = none + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = none + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = none + +# IDE0061: Use expression body for local function +dotnet_diagnostic.IDE0061.severity = none + +# IDE0062: Make local function 'static' +dotnet_diagnostic.IDE0062.severity = none + +# IDE0063: Use simple 'using' statement +dotnet_diagnostic.IDE0063.severity = none + +# IDE0064: Make readonly fields writable +dotnet_diagnostic.IDE0064.severity = none + +# IDE0065: Misplaced using directive +dotnet_diagnostic.IDE0065.severity = none + +# IDE0066: Convert switch statement to expression +dotnet_diagnostic.IDE0066.severity = none + +# IDE0070: Use 'System.HashCode' +dotnet_diagnostic.IDE0070.severity = none + +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = none + +# IDE0072: Add missing cases +dotnet_diagnostic.IDE0072.severity = none + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = none + +# IDE0074: Use compound assignment +dotnet_diagnostic.IDE0074.severity = none + +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = none + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = none + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = none + +# IDE0078: Use pattern matching +dotnet_diagnostic.IDE0078.severity = none + +# IDE0080: Remove unnecessary suppression operator +dotnet_diagnostic.IDE0080.severity = none + +# IDE0082: 'typeof' can be converted to 'nameof' +dotnet_diagnostic.IDE0082.severity = none + +# IDE0083: Use pattern matching +dotnet_diagnostic.IDE0083.severity = none + +# IDE0090: Use 'new(...)' +dotnet_diagnostic.IDE0090.severity = none + +# IDE0100: Remove redundant equality +dotnet_diagnostic.IDE0100.severity = none + +# IDE0110: Remove unnecessary discard +dotnet_diagnostic.IDE0110.severity = none + +# IDE0120: Simplify LINQ expression +dotnet_diagnostic.IDE0120.severity = none + +# IDE0121: Simplify LINQ expression +dotnet_diagnostic.IDE0121.severity = none + +# IDE0130: Namespace does not match folder structure +dotnet_diagnostic.IDE0130.severity = none + +# IDE0150: Prefer 'null' check over type check +dotnet_diagnostic.IDE0150.severity = none + +# IDE0160: Convert to block scoped namespace +dotnet_diagnostic.IDE0160.severity = none + +# IDE0161: Convert to file-scoped namespace +dotnet_diagnostic.IDE0161.severity = none + +# IDE0170: Property pattern can be simplified +dotnet_diagnostic.IDE0170.severity = none + +# IDE0180: Use tuple to swap values +dotnet_diagnostic.IDE0180.severity = none + +# IDE0200: Remove unnecessary lambda expression +dotnet_diagnostic.IDE0200.severity = none + +# IDE0210: Convert to top-level statements +dotnet_diagnostic.IDE0210.severity = none + +# IDE0211: Convert to 'Program.Main' style program +dotnet_diagnostic.IDE0211.severity = none + +# IDE0220: Add explicit cast +dotnet_diagnostic.IDE0220.severity = none + +# IDE0230: Use UTF-8 string literal +dotnet_diagnostic.IDE0230.severity = none + +# IDE0240: Remove redundant nullable directive +dotnet_diagnostic.IDE0240.severity = none + +# IDE0241: Remove unnecessary nullable directive +dotnet_diagnostic.IDE0241.severity = none + +# IDE0250: Make struct 'readonly' +dotnet_diagnostic.IDE0250.severity = none + +# IDE0251: Make member 'readonly' +dotnet_diagnostic.IDE0251.severity = none + +# IDE0260: Use pattern matching +dotnet_diagnostic.IDE0260.severity = none + +# IDE0270: Use coalesce expression +dotnet_diagnostic.IDE0270.severity = none + +# IDE0280: Use 'nameof' +dotnet_diagnostic.IDE0280.severity = none + +# IDE0290: Use primary constructor +dotnet_diagnostic.IDE0290.severity = none + +# IDE0300: Simplify collection initialization +dotnet_diagnostic.IDE0300.severity = none + +# IDE0301: Simplify collection initialization +dotnet_diagnostic.IDE0301.severity = none + +# IDE0302: Simplify collection initialization +dotnet_diagnostic.IDE0302.severity = none + +# IDE0303: Simplify collection initialization +dotnet_diagnostic.IDE0303.severity = none + +# IDE0304: Simplify collection initialization +dotnet_diagnostic.IDE0304.severity = none + +# IDE0305: Simplify collection initialization +dotnet_diagnostic.IDE0305.severity = none + +# IDE0306: Simplify collection initialization +dotnet_diagnostic.IDE0306.severity = none + +# IDE0320: Make anonymous function static +dotnet_diagnostic.IDE0320.severity = none + +# IDE0330: Use 'System.Threading.Lock' +dotnet_diagnostic.IDE0330.severity = none + +# IDE0340: Use unbound generic type +dotnet_diagnostic.IDE0340.severity = none + +# IDE0350: Use implicitly typed lambda +dotnet_diagnostic.IDE0350.severity = none + +# IDE1005: Delegate invocation can be simplified. +dotnet_diagnostic.IDE1005.severity = none + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = none + +# IDE2000: Avoid multiple blank lines +dotnet_diagnostic.IDE2000.severity = none + +# IDE2001: Embedded statements must be on their own line +dotnet_diagnostic.IDE2001.severity = none + +# IDE2002: Consecutive braces must not have blank line between them +dotnet_diagnostic.IDE2002.severity = none + +# IDE2003: Blank line required between block and subsequent statement +dotnet_diagnostic.IDE2003.severity = none + +# IDE2004: Blank line not allowed after constructor initializer colon +dotnet_diagnostic.IDE2004.severity = none + +# IDE2005: Blank line not allowed after conditional expression token +dotnet_diagnostic.IDE2005.severity = none + +# IDE2006: Blank line not allowed after arrow expression clause token +dotnet_diagnostic.IDE2006.severity = none + +# RemoveUnnecessaryImportsFixable: +dotnet_diagnostic.RemoveUnnecessaryImportsFixable.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..b9d74dce1f182cbceb7437df23e752c9607bb217 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/build/config/analysislevelstyle_recommended.globalconfig @@ -0,0 +1,266 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'Recommended' analysis mode + +is_global = true + +global_level = -99 + + +# IDE0005: Using directive is unnecessary. +dotnet_diagnostic.IDE0005.severity = warning + +# IDE0007: Use implicit type +dotnet_diagnostic.IDE0007.severity = warning + +# IDE0008: Use explicit type +dotnet_diagnostic.IDE0008.severity = warning + +# IDE0011: Add braces +dotnet_diagnostic.IDE0011.severity = warning + +# IDE0016: Use 'throw' expression +dotnet_diagnostic.IDE0016.severity = warning + +# IDE0017: Simplify object initialization +dotnet_diagnostic.IDE0017.severity = warning + +# IDE0018: Inline variable declaration +dotnet_diagnostic.IDE0018.severity = warning + +# IDE0019: Use pattern matching +dotnet_diagnostic.IDE0019.severity = warning + +# IDE0020: Use pattern matching +dotnet_diagnostic.IDE0020.severity = warning + +# IDE0021: Use expression body for constructor +dotnet_diagnostic.IDE0021.severity = warning + +# IDE0022: Use expression body for method +dotnet_diagnostic.IDE0022.severity = warning + +# IDE0023: Use expression body for conversion operator +dotnet_diagnostic.IDE0023.severity = warning + +# IDE0024: Use expression body for operator +dotnet_diagnostic.IDE0024.severity = warning + +# IDE0025: Use expression body for property +dotnet_diagnostic.IDE0025.severity = warning + +# IDE0026: Use expression body for indexer +dotnet_diagnostic.IDE0026.severity = warning + +# IDE0027: Use expression body for accessor +dotnet_diagnostic.IDE0027.severity = warning + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = warning + +# IDE0029: Use coalesce expression +dotnet_diagnostic.IDE0029.severity = warning + +# IDE0030: Use coalesce expression +dotnet_diagnostic.IDE0030.severity = warning + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = warning + +# IDE0032: Use auto property +dotnet_diagnostic.IDE0032.severity = warning + +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = warning + +# IDE0034: Simplify 'default' expression +dotnet_diagnostic.IDE0034.severity = warning + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning + +# IDE0039: Use local function +dotnet_diagnostic.IDE0039.severity = warning + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning + +# IDE0042: Deconstruct variable declaration +dotnet_diagnostic.IDE0042.severity = warning + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = warning + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning + +# IDE0045: Convert to conditional expression +dotnet_diagnostic.IDE0045.severity = warning + +# IDE0046: Convert to conditional expression +dotnet_diagnostic.IDE0046.severity = warning + +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = warning + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = warning + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = warning + +# IDE0053: Use block body for lambda expression +dotnet_diagnostic.IDE0053.severity = warning + +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = warning + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = warning + +# IDE0056: Use index operator +dotnet_diagnostic.IDE0056.severity = warning + +# IDE0057: Use range operator +dotnet_diagnostic.IDE0057.severity = warning + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = warning + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning + +# IDE0061: Use expression body for local function +dotnet_diagnostic.IDE0061.severity = warning + +# IDE0062: Make local function 'static' +dotnet_diagnostic.IDE0062.severity = warning + +# IDE0063: Use simple 'using' statement +dotnet_diagnostic.IDE0063.severity = warning + +# IDE0065: Misplaced using directive +dotnet_diagnostic.IDE0065.severity = warning + +# IDE0070: Use 'System.HashCode' +dotnet_diagnostic.IDE0070.severity = warning + +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = warning + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = warning + +# IDE0074: Use compound assignment +dotnet_diagnostic.IDE0074.severity = warning + +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = warning + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = warning + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = warning + +# IDE0078: Use pattern matching +dotnet_diagnostic.IDE0078.severity = warning + +# IDE0080: Remove unnecessary suppression operator +dotnet_diagnostic.IDE0080.severity = warning + +# IDE0082: 'typeof' can be converted to 'nameof' +dotnet_diagnostic.IDE0082.severity = warning + +# IDE0083: Use pattern matching +dotnet_diagnostic.IDE0083.severity = warning + +# IDE0090: Use 'new(...)' +dotnet_diagnostic.IDE0090.severity = warning + +# IDE0100: Remove redundant equality +dotnet_diagnostic.IDE0100.severity = warning + +# IDE0110: Remove unnecessary discard +dotnet_diagnostic.IDE0110.severity = warning + +# IDE0130: Namespace does not match folder structure +dotnet_diagnostic.IDE0130.severity = warning + +# IDE0160: Convert to block scoped namespace +dotnet_diagnostic.IDE0160.severity = warning + +# IDE0161: Convert to file-scoped namespace +dotnet_diagnostic.IDE0161.severity = warning + +# IDE0170: Property pattern can be simplified +dotnet_diagnostic.IDE0170.severity = warning + +# IDE0180: Use tuple to swap values +dotnet_diagnostic.IDE0180.severity = warning + +# IDE0200: Remove unnecessary lambda expression +dotnet_diagnostic.IDE0200.severity = warning + +# IDE0240: Remove redundant nullable directive +dotnet_diagnostic.IDE0240.severity = warning + +# IDE0241: Remove unnecessary nullable directive +dotnet_diagnostic.IDE0241.severity = warning + +# IDE0250: Make struct 'readonly' +dotnet_diagnostic.IDE0250.severity = warning + +# IDE0251: Make member 'readonly' +dotnet_diagnostic.IDE0251.severity = warning + +# IDE0260: Use pattern matching +dotnet_diagnostic.IDE0260.severity = warning + +# IDE0270: Use coalesce expression +dotnet_diagnostic.IDE0270.severity = warning + +# IDE0280: Use 'nameof' +dotnet_diagnostic.IDE0280.severity = warning + +# IDE0290: Use primary constructor +dotnet_diagnostic.IDE0290.severity = warning + +# IDE0300: Simplify collection initialization +dotnet_diagnostic.IDE0300.severity = warning + +# IDE0301: Simplify collection initialization +dotnet_diagnostic.IDE0301.severity = warning + +# IDE0302: Simplify collection initialization +dotnet_diagnostic.IDE0302.severity = warning + +# IDE0303: Simplify collection initialization +dotnet_diagnostic.IDE0303.severity = warning + +# IDE0304: Simplify collection initialization +dotnet_diagnostic.IDE0304.severity = warning + +# IDE0305: Simplify collection initialization +dotnet_diagnostic.IDE0305.severity = warning + +# IDE0306: Simplify collection initialization +dotnet_diagnostic.IDE0306.severity = warning + +# IDE0320: Make anonymous function static +dotnet_diagnostic.IDE0320.severity = warning + +# IDE0330: Use 'System.Threading.Lock' +dotnet_diagnostic.IDE0330.severity = warning + +# IDE0340: Use unbound generic type +dotnet_diagnostic.IDE0340.severity = warning + +# IDE0350: Use implicitly typed lambda +dotnet_diagnostic.IDE0350.severity = warning + +# IDE1005: Delegate invocation can be simplified. +dotnet_diagnostic.IDE1005.severity = warning + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..fcbe58e144969b2cd52d702b762776d69e43425d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3ca1b2b43463357432baa3bca8cb06f051847fd3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7a863da3786da19885e58bb24455a10db5090b50 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..31d67b33e3a43d50cd81e7744bfe0931363c7a5d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/cs/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..86fa64c4c6ff81a06275de5123cb6fce70023968 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7396506122d50087156500917ff680da0fb0ba63 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9204c83519281a027f6ad1b873fdb72021b70eb7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ccce594b2d587543010fb4fae4ee986696cd8d28 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/de/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..abbd16248cbf29292b34380f00c15c01cf4818eb Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..52428d2da0db54e5485c2c9892b2f6c15adf8d39 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..39693102c3a8a5ab660bd54edabf6009350f8504 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..36818d77fb79a3784a6d40249df611f08302e997 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/es/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..1e1af4f2efdf263a36ae425367fca105fbcb9d1b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..81c2d8c6c89462d60fe8b6f9d16a8dc99f7a361e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cb537bd7ae59e0579cee57d24b4f174f08e242b7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2dca36ab74e39f3094592560a5a2b3113f26c9e1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/fr/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..84a0682fac5a59eb1d8684ef04ae9f75e4afc626 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d652ecbd5e2292f162fa68af400237941a54fd6a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c6161591902134706a11811b901dd4d14186ba0f Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..94979139455d88429bfd06dcf9135f4db3ddb22a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/it/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3e81cdbe108111d40bce8b77850a48327d65d731 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e63057e22102ec9bc408efb5d9352b01a7bfeb9a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..954797f1bf370025da7204c43c41852dd8c1f132 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9e57e691ffd0f06076d618416fe99aee33cfd62b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ja/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..abd1f027a086c0defe76d01eb07a225ec1c53197 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..46200b925fc7b3a6f204676d8b7dd274443dbcde Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8da7f65538b5e9ca79b1471e85d2f32972e1899d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..5d305165b0a564d1a00ae87593a74fb545f5ab20 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ko/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cc26124b31c4050b9d7c6ba43cf5be0f62db72a6 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e92d9705e136041f7e77d2a241752c1ff52ad602 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0a3a243b864f279a5541f7551b788442b851d5ab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..267962792f3a47580857e71c6b15c42d153298d3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pl/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..52dbaae1cd45eaa32a8eaab921d7446a6b488ce0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..30d8264ed8408eed0f4be7269122e3fd8091b4ab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3eeb78937e475a5f15d70b88cccc61ceee4c0526 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0720b8e6f1c7a4332429f6868a8052f2c1d09dbd Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/pt-BR/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..92c191d390fb7d226e70b8f602cf8608a2167058 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e1b0bd36b085466df2634cf6959ca18a8f21ff1b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b7cfe6244dd5b22449dcf03e4f321784b25afc8b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9980579ef6644709d0b02f614eaf3a4e8cbfee21 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/ru/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e40f69fa2a88ad16e6af36e623c656dcd81ab2ab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b7f082efff701b0d7688bb0be555d1dc9df94046 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..48bfbb37c202d31840dab49a21e4270d203540a5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6f1b78a97ff5b162af60ced83d6b8c4da26ca58e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/tr/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7e3bbc34811c9edb26dc33063844674af21440e3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e5a5b8dda983cfb5408e747b04a0a5a62bad7881 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8127f5571b00f076e66c9d7c13490d965bf735a0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..61d8ebf78f401d6895f0e4fda58e50e6094debc1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..08433998198a0a057a4f61f07260646dd731b7ef Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e2091cbd6c83d952a5b6f2243764927d8356ed67 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CSharp.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..53becbdbd630b6fa2a706b3b1765cd38f033f91c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b9b956a89655ecb99bc808f34470c2bfe5a13393 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/cs/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.targets new file mode 100644 index 0000000000000000000000000000000000000000..bf6e502f3cddd9db1d014728bbcbf3d507d68c1e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.targets @@ -0,0 +1,63 @@ + + + + + + $(AnalysisLevel) + + + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '-(.)*', '')) + $([System.Text.RegularExpressions.Regex]::Replace($(AnalysisLevelStyle), '$(AnalysisLevelPrefixStyle)-', '')) + + + $(AnalysisLevelSuffix) + + $(AnalysisMode) + + + $(_NoneAnalysisLevel) + $(_LatestAnalysisLevel) + $(_PreviewAnalysisLevel) + + + $(AnalysisLevelPrefixStyle) + $(AnalysisLevelStyle) + + + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle>$(AnalysisModeStyle) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle)' == ''">$(AnalysisLevelSuffixStyle) + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle)' == 'AllEnabledByDefault'">All + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle)' == 'AllDisabledByDefault'">None + <_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle)' == ''">Default + + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisVisualBasicCodeStyle>AnalysisLevelStyle_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisVisualBasicCodeStyle).globalconfig + <_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisVisualBasicCodeStyle>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisVisualBasicCodeStyle.ToLowerInvariant()) + + <_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisVisualBasicCodeStyle Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisVisualBasicCodeStyle)' == ''">$(MSBuildThisFileDirectory)config + <_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisVisualBasicCodeStyle Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisVisualBasicCodeStyle)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisVisualBasicCodeStyle)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisVisualBasicCodeStyle) + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_all.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_all.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..94f57822630c1a5b56ff6a19a99c1fa551261bcd --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_all.globalconfig @@ -0,0 +1,137 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'All' analysis mode + +is_global = true + +global_level = -99 + + +# IDE0004: Remove Unnecessary Cast +dotnet_diagnostic.IDE0004.severity = warning + +# IDE0005: Imports statement is unnecessary. +dotnet_diagnostic.IDE0005.severity = warning + +# IDE0010: Add missing cases +dotnet_diagnostic.IDE0010.severity = warning + +# IDE0017: Simplify object initialization +dotnet_diagnostic.IDE0017.severity = warning + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = warning + +# IDE0029: Use coalesce expression +dotnet_diagnostic.IDE0029.severity = warning + +# IDE0030: Use coalesce expression +dotnet_diagnostic.IDE0030.severity = warning + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = warning + +# IDE0032: Use auto property +dotnet_diagnostic.IDE0032.severity = warning + +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = warning + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning + +# IDE0037: Use inferred member name +dotnet_diagnostic.IDE0037.severity = warning + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning + +# IDE0041: Use 'Is Nothing' check +dotnet_diagnostic.IDE0041.severity = warning + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = warning + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning + +# IDE0045: Convert to conditional expression +dotnet_diagnostic.IDE0045.severity = warning + +# IDE0046: Convert to conditional expression +dotnet_diagnostic.IDE0046.severity = warning + +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = warning + +# IDE0048: Add parentheses for clarity +dotnet_diagnostic.IDE0048.severity = warning + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = warning + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = warning + +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = warning + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = warning + +# IDE0058: Expression value is never used +dotnet_diagnostic.IDE0058.severity = warning + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = warning + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning + +# IDE0070: Use 'System.HashCode' +dotnet_diagnostic.IDE0070.severity = warning + +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = warning + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = warning + +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = warning + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = warning + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = warning + +# IDE0081: 'ByVal' keyword is unnecessary and can be removed. +dotnet_diagnostic.IDE0081.severity = warning + +# IDE0082: 'GetType' can be converted to 'NameOf' +dotnet_diagnostic.IDE0082.severity = warning + +# IDE0084: Use 'IsNot' expression +dotnet_diagnostic.IDE0084.severity = warning + +# IDE0100: Remove redundant equality +dotnet_diagnostic.IDE0100.severity = warning + +# IDE0120: Simplify LINQ expression +dotnet_diagnostic.IDE0120.severity = warning + +# IDE0140: Object creation can be simplified +dotnet_diagnostic.IDE0140.severity = warning + +# IDE0270: Use coalesce expression +dotnet_diagnostic.IDE0270.severity = warning + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = warning + +# IDE2000: Avoid multiple blank lines +dotnet_diagnostic.IDE2000.severity = warning + +# IDE2003: Blank line required between block and subsequent statement +dotnet_diagnostic.IDE2003.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_default.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_default.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..4120762751005c5b2a944efb0b8cede80a964b4b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_default.globalconfig @@ -0,0 +1,8 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'Default' analysis mode + +is_global = true + +global_level = -99 + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_minimum.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_minimum.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..e957f6b3ffdd1e16511e6c3e360bce8e8d0ef998 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_minimum.globalconfig @@ -0,0 +1,47 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'Minimum' analysis mode + +is_global = true + +global_level = -99 + + +# IDE0005: Imports statement is unnecessary. +dotnet_diagnostic.IDE0005.severity = warning + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = warning + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = warning + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = warning + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = warning + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = warning + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = warning + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = warning + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_none.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_none.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..2b104814cd53f39e8ee7acedc10f85dd2c1e4f4b --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_none.globalconfig @@ -0,0 +1,149 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'None' analysis mode + +is_global = true + +global_level = -99 + + +# EnableGenerateDocumentationFile: Set MSBuild property 'GenerateDocumentationFile' to 'true' +dotnet_diagnostic.EnableGenerateDocumentationFile.severity = none + +# IDE0004: Remove Unnecessary Cast +dotnet_diagnostic.IDE0004.severity = none + +# IDE0005: Imports statement is unnecessary. +dotnet_diagnostic.IDE0005.severity = none + +# IDE0005_gen: Imports statement is unnecessary. +dotnet_diagnostic.IDE0005_gen.severity = none + +# IDE0009: Member access should be qualified. +dotnet_diagnostic.IDE0009.severity = none + +# IDE0010: Add missing cases +dotnet_diagnostic.IDE0010.severity = none + +# IDE0017: Simplify object initialization +dotnet_diagnostic.IDE0017.severity = none + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = none + +# IDE0029: Use coalesce expression +dotnet_diagnostic.IDE0029.severity = none + +# IDE0030: Use coalesce expression +dotnet_diagnostic.IDE0030.severity = none + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = none + +# IDE0032: Use auto property +dotnet_diagnostic.IDE0032.severity = none + +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = none + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = none + +# IDE0037: Use inferred member name +dotnet_diagnostic.IDE0037.severity = none + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = none + +# IDE0041: Use 'Is Nothing' check +dotnet_diagnostic.IDE0041.severity = none + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = none + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = none + +# IDE0045: Convert to conditional expression +dotnet_diagnostic.IDE0045.severity = none + +# IDE0046: Convert to conditional expression +dotnet_diagnostic.IDE0046.severity = none + +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = none + +# IDE0048: Add parentheses for clarity +dotnet_diagnostic.IDE0048.severity = none + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = none + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = none + +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = none + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = none + +# IDE0058: Expression value is never used +dotnet_diagnostic.IDE0058.severity = none + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = none + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = none + +# IDE0070: Use 'System.HashCode' +dotnet_diagnostic.IDE0070.severity = none + +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = none + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = none + +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = none + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = none + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = none + +# IDE0081: 'ByVal' keyword is unnecessary and can be removed. +dotnet_diagnostic.IDE0081.severity = none + +# IDE0082: 'GetType' can be converted to 'NameOf' +dotnet_diagnostic.IDE0082.severity = none + +# IDE0084: Use 'IsNot' expression +dotnet_diagnostic.IDE0084.severity = none + +# IDE0100: Remove redundant equality +dotnet_diagnostic.IDE0100.severity = none + +# IDE0120: Simplify LINQ expression +dotnet_diagnostic.IDE0120.severity = none + +# IDE0140: Object creation can be simplified +dotnet_diagnostic.IDE0140.severity = none + +# IDE0270: Use coalesce expression +dotnet_diagnostic.IDE0270.severity = none + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = none + +# IDE2000: Avoid multiple blank lines +dotnet_diagnostic.IDE2000.severity = none + +# IDE2003: Blank line required between block and subsequent statement +dotnet_diagnostic.IDE2003.severity = none + +# RemoveUnnecessaryImportsFixable: +dotnet_diagnostic.RemoveUnnecessaryImportsFixable.severity = none diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_recommended.globalconfig b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_recommended.globalconfig new file mode 100644 index 0000000000000000000000000000000000000000..27cd41bbc985e97abbfba7a19b381d0a46a1b86e --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/build/config/analysislevelstyle_recommended.globalconfig @@ -0,0 +1,110 @@ +# NOTE: Requires **VS2019 16.7** or later + +# Style rules with 'Recommended' analysis mode + +is_global = true + +global_level = -99 + + +# IDE0005: Imports statement is unnecessary. +dotnet_diagnostic.IDE0005.severity = warning + +# IDE0017: Simplify object initialization +dotnet_diagnostic.IDE0017.severity = warning + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = warning + +# IDE0029: Use coalesce expression +dotnet_diagnostic.IDE0029.severity = warning + +# IDE0030: Use coalesce expression +dotnet_diagnostic.IDE0030.severity = warning + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = warning + +# IDE0032: Use auto property +dotnet_diagnostic.IDE0032.severity = warning + +# IDE0033: Use explicitly provided tuple name +dotnet_diagnostic.IDE0033.severity = warning + +# IDE0036: Order modifiers +dotnet_diagnostic.IDE0036.severity = warning + +# IDE0040: Add accessibility modifiers +dotnet_diagnostic.IDE0040.severity = warning + +# IDE0043: Invalid format string +dotnet_diagnostic.IDE0043.severity = warning + +# IDE0044: Add readonly modifier +dotnet_diagnostic.IDE0044.severity = warning + +# IDE0045: Convert to conditional expression +dotnet_diagnostic.IDE0045.severity = warning + +# IDE0046: Convert to conditional expression +dotnet_diagnostic.IDE0046.severity = warning + +# IDE0047: Remove unnecessary parentheses +dotnet_diagnostic.IDE0047.severity = warning + +# IDE0051: Remove unused private members +dotnet_diagnostic.IDE0051.severity = warning + +# IDE0052: Remove unread private members +dotnet_diagnostic.IDE0052.severity = warning + +# IDE0054: Use compound assignment +dotnet_diagnostic.IDE0054.severity = warning + +# IDE0055: Fix formatting +dotnet_diagnostic.IDE0055.severity = warning + +# IDE0059: Unnecessary assignment of a value +dotnet_diagnostic.IDE0059.severity = warning + +# IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0060.severity = warning + +# IDE0070: Use 'System.HashCode' +dotnet_diagnostic.IDE0070.severity = warning + +# IDE0071: Simplify interpolation +dotnet_diagnostic.IDE0071.severity = warning + +# IDE0073: The file header is missing or not located at the top of the file +dotnet_diagnostic.IDE0073.severity = warning + +# IDE0075: Simplify conditional expression +dotnet_diagnostic.IDE0075.severity = warning + +# IDE0076: Invalid global 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0076.severity = warning + +# IDE0077: Avoid legacy format target in 'SuppressMessageAttribute' +dotnet_diagnostic.IDE0077.severity = warning + +# IDE0081: 'ByVal' keyword is unnecessary and can be removed. +dotnet_diagnostic.IDE0081.severity = warning + +# IDE0082: 'GetType' can be converted to 'NameOf' +dotnet_diagnostic.IDE0082.severity = warning + +# IDE0084: Use 'IsNot' expression +dotnet_diagnostic.IDE0084.severity = warning + +# IDE0100: Remove redundant equality +dotnet_diagnostic.IDE0100.severity = warning + +# IDE0140: Object creation can be simplified +dotnet_diagnostic.IDE0140.severity = warning + +# IDE0270: Use coalesce expression +dotnet_diagnostic.IDE0270.severity = warning + +# IDE1006: Naming Styles +dotnet_diagnostic.IDE1006.severity = warning diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7a863da3786da19885e58bb24455a10db5090b50 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..31d67b33e3a43d50cd81e7744bfe0931363c7a5d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3f7d6914fc340ab5da2cca6c6f1b10ac98d1e415 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c6134e75484e40e48193a73ed3e8292750949816 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/cs/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9204c83519281a027f6ad1b873fdb72021b70eb7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ccce594b2d587543010fb4fae4ee986696cd8d28 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..821314cbd312312bac5b7ea4b1ff8b2852581ceb Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..459fcc71635894cd1f56083b410ee376c9484584 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/de/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..39693102c3a8a5ab660bd54edabf6009350f8504 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..36818d77fb79a3784a6d40249df611f08302e997 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..156634640f1a0ab30fe9bad9e3c7de8c56ad5c21 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6d827ef0f30066ea1f70e3c50d04493a3da003f7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/es/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cb537bd7ae59e0579cee57d24b4f174f08e242b7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2dca36ab74e39f3094592560a5a2b3113f26c9e1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..afe630c4cc8ef6537c5ffc97d2d50a5ca8a96e06 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..326bc9168025d50f2cf627a0f5a9ba2c1d383d33 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/fr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c6161591902134706a11811b901dd4d14186ba0f Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..94979139455d88429bfd06dcf9135f4db3ddb22a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7dbe2fd798e25ad135fbe17a7a41f0cbb54ef546 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0eafafee1b60838bad1f7458fdbcf1fa72bf9e39 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/it/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..954797f1bf370025da7204c43c41852dd8c1f132 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9e57e691ffd0f06076d618416fe99aee33cfd62b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ed52583b2e70f5b15eb1d6d59c63f07af774c184 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cde6d0c15e91f9822834bf0bd036083b5395bc51 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ja/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8da7f65538b5e9ca79b1471e85d2f32972e1899d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..5d305165b0a564d1a00ae87593a74fb545f5ab20 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9fb7a18517ad476ef9df41ea01ebdae5d01bc760 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..efdaca4859d80da44cc7db83f81af534ce595073 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ko/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0a3a243b864f279a5541f7551b788442b851d5ab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..267962792f3a47580857e71c6b15c42d153298d3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..012f9b23ec680daf560bbbb9cf5e09a82060a2da Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3ec0b48914dbcbb256c52aafc4596d2a3ef95b6d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pl/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3eeb78937e475a5f15d70b88cccc61ceee4c0526 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0720b8e6f1c7a4332429f6868a8052f2c1d09dbd Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..f27eb3c7ce2a411cf60f292b5e4ff18264b66594 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e414a471d2fc54866691e5cada98ca0eceded95b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/pt-BR/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b7cfe6244dd5b22449dcf03e4f321784b25afc8b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9980579ef6644709d0b02f614eaf3a4e8cbfee21 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e73d23e6d44842f7e6d11cc6733b4eb076619643 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..aa32e059867c100d27e1f1741f9a4aee59ad593a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/ru/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..48bfbb37c202d31840dab49a21e4270d203540a5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6f1b78a97ff5b162af60ced83d6b8c4da26ca58e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..53a97326e1804804f8b69d6326b3782086800349 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..45fc1bf86685cb291b0997cd20e1a1430c9499e2 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/tr/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8127f5571b00f076e66c9d7c13490d965bf735a0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..61d8ebf78f401d6895f0e4fda58e50e6094debc1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9d950ff080318505db7c3c06c29162395dc6a921 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c2256b394e9703342fb2340d4c63ac60b6619075 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hans/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..53becbdbd630b6fa2a706b3b1765cd38f033f91c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b9b956a89655ecb99bc808f34470c2bfe5a13393 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..62b6241b4c8caf0fb9f0629cab5297476ffbb1d4 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..91b6ba224f422c8abc2df3c67c0c96dd401498ad Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/codestyle/vb/zh-Hant/Microsoft.CodeAnalysis.VisualBasic.CodeStyle.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/GenerateDeps/GenerateDeps.proj b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/GenerateDeps/GenerateDeps.proj new file mode 100644 index 0000000000000000000000000000000000000000..1deee2a9d15ff3d591c91abaa105ddb30b9b2122 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/GenerateDeps/GenerateDeps.proj @@ -0,0 +1,63 @@ + + + + + + + false + false + + + + + + + + $([System.IO.Path]::GetDirectoryName($(ProjectAssetsFile))) + $(ToolFolder)\$(ToolName).deps.json + Exe + false + + + true + true + + + false + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets new file mode 100644 index 0000000000000000000000000000000000000000..320acfa3cc39b85a044289742b9286dc72b0d7ec --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.SourceLink.targets @@ -0,0 +1,34 @@ + + + + + + + + + + <_SourceLinkSdkSubDir>build + <_SourceLinkSdkSubDir Condition="'$(IsCrossTargetingBuild)' == 'true'">buildMultiTargeting + + + true + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.VisualBasic.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.VisualBasic.props new file mode 100644 index 0000000000000000000000000000000000000000..c7e6dc0129ccf16290af00ef86c42492a2aadadb --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.VisualBasic.props @@ -0,0 +1,34 @@ + + + + + 1 + 41999,42016,42017,42018,42019,42020,42021,42022,42032,42036 + On + Binary + Off + On + + + $(WarningsAsErrors);NU1605 + + + + true + true + + + true + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.VisualBasic.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.VisualBasic.targets new file mode 100644 index 0000000000000000000000000000000000000000..8fb4b359931cd514785b51ab308cdeed0779be56 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.VisualBasic.targets @@ -0,0 +1,148 @@ + + + + $(DisableImplicitFrameworkReferences) + + + + + + + + + + + + + + + + + + + + + + + + + + + $(Configuration.ToUpperInvariant()) + + + + $(ImplicitConfigurationDefine.Replace('-', '_')) + $(ImplicitConfigurationDefine.Replace('.', '_')) + $(ImplicitConfigurationDefine.Replace(' ', '_')) + + + + + $(FinalDefineConstants),$(VersionlessImplicitFrameworkDefine)=-1 + $(FinalDefineConstants),$(ImplicitFrameworkDefine)=-1 + $(FinalDefineConstants),$(BackwardsCompatFrameworkDefine)=-1 + $(FinalDefineConstants),$(ImplicitConfigurationDefine)=-1 + + + + + + true + + + + Embed + + + + + true + + + $(FinalDefineConstants),_MyType="Empty" + + + + + + + + + + $(WarningsAsErrors);SYSLIB0011 + + + + + + %(ReferencePath.Identity) + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Workloads.CrossTargeting.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Workloads.CrossTargeting.targets new file mode 100644 index 0000000000000000000000000000000000000000..aab74e99f23b599b1fe79df10fbae69d13790c06 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.Workloads.CrossTargeting.targets @@ -0,0 +1,33 @@ + + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets new file mode 100644 index 0000000000000000000000000000000000000000..c3131b2d5942595cf7b23b8b565389b653fc56f6 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets @@ -0,0 +1,1482 @@ + + + + + + + true + + + + + + + + + + + + + + + + + + $(_IsNETCoreOrNETStandard) + + + + true + false + true + $(MSBuildProjectDirectory)/runtimeconfig.template.json + true + true + <_GenerateRuntimeConfigurationPropertyInputsCache Condition="'$(_GenerateRuntimeConfigurationPropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genruntimeconfig.cache + <_GenerateRuntimeConfigurationPropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateRuntimeConfigurationPropertyInputsCache))) + <_GeneratePublishDependencyFilePropertyInputsCache Condition="'$(_GeneratePublishDependencyFilePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genpublishdeps.cache + <_GeneratePublishDependencyFilePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GeneratePublishDependencyFilePropertyInputsCache))) + <_GenerateSingleFileBundlePropertyInputsCache Condition="'$(_GenerateSingleFileBundlePropertyInputsCache)' == ''">$(IntermediateOutputPath)$(MSBuildProjectName).genbundle.cache + <_GenerateSingleFileBundlePropertyInputsCache>$([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(_GenerateSingleFileBundlePropertyInputsCache))) + + + + + <_UseRidGraphWasSpecified Condition="'$(UseRidGraph)' != ''">true + + + false + true + + + + $(BundledRuntimeIdentifierGraphFile) + + + $([System.IO.Path]::GetDirectoryName($(BundledRuntimeIdentifierGraphFile)))/PortableRuntimeIdentifierGraph.json + + + + + + + + + + + + + + true + + + false + + + + $(AssemblyName).deps.json + $(TargetDir)$(ProjectDepsFileName) + $(AssemblyName).runtimeconfig.json + $(TargetDir)$(ProjectRuntimeConfigFileName) + $(TargetDir)$(AssemblyName).runtimeconfig.dev.json + true + + + + + + <_DefaultUserProfileRuntimeStorePath>$(HOME) + <_DefaultUserProfileRuntimeStorePath Condition="$([MSBuild]::IsOSPlatform(`Windows`))">$(USERPROFILE) + <_DefaultUserProfileRuntimeStorePath>$([System.IO.Path]::Combine($(_DefaultUserProfileRuntimeStorePath), '.dotnet', 'store')) + $(_DefaultUserProfileRuntimeStorePath) + + + + true + + + + true + + + + true + + + + + false + true + + + + + true + + + + true + + + + $(AvailablePlatforms),ARM32 + + + + $(AvailablePlatforms),ARM64 + + + + $(AvailablePlatforms),ARM64 + + + + + false + + + + + true + + + + + + + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWindowsForms)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + <_ProjectTypeRequiresBinaryFormatter Condition="'$(UseWPF)' == 'true' AND $([MSBuild]::VersionLessThanOrEquals($(TargetFrameworkVersion), '8.0'))">true + + <_BinaryFormatterObsoleteAsError>true + + true + false + + + + + _CheckForBuildWithNoBuild; + $(CoreBuildDependsOn); + GenerateBuildDependencyFile; + GenerateBuildRuntimeConfigurationFiles + + + + + + _SdkBeforeClean; + $(CoreCleanDependsOn) + + + + + + _SdkBeforeRebuild; + $(RebuildDependsOn) + + + + + + true + + + + $(NuGetPackageRoot)\microsoft.net.sdk.compilers.toolset\$(NETCoreSdkVersion) + <_NeedToDownloadMicrosoftNetSdkCompilersToolsetPackage>true + <_MicrosoftNetSdkCompilersToolsetPackageRootEmpty Condition="'$(NuGetPackageRoot)' == ''">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0.0 + + + + + + + + + + + + + + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentiferPlatforms)" /> + + <_ValidRuntimeIdentifierPlatformsForAssets Include="@(_KnownRuntimeIdentifierPlatformsForTargetFramework)" Exclude="@(_ExcludedKnownRuntimeIdentiferPlatforms)"/> + + + + + + + + + + + + + + + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(AdditionalProbingPath->'%(Identity)')"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(EnableDynamicLoading)"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RollForward)"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="@(RuntimeHostConfigurationOption->'%(Identity)%(Value)')"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(RuntimeIdentifier)"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(SelfContained)"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(TargetFramework)"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(UserRuntimeConfig)"/> + <_GenerateRuntimeConfigurationPropertyInputsCacheToHash Include="$(_WriteIncludedFrameworks)"/> + + + + + + + + + + + + + + + + + + + <_IsRollForwardSupported Condition="'$(_TargetFrameworkVersionWithoutV)' >= '3.0'">true + LatestMinor + + + + + + + <_WriteIncludedFrameworks Condition="'$(SelfContained)' == 'true' and '$(_TargetFrameworkVersionWithoutV)' >= '3.1'">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_CleaningWithoutRebuilding>true + false + + + + + + <_CleaningWithoutRebuilding>false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(CompileDependsOn); + _CreateAppHost; + _CreateComHost; + _GetIjwHostPaths; + + + + + + + <_UseWindowsGraphicalUserInterface Condition="($(RuntimeIdentifier.StartsWith('win')) or $(DefaultAppHostRuntimeIdentifier.StartsWith('win'))) and '$(OutputType)'=='WinExe'">true + <_EnableMacOSCodeSign Condition="'$(_EnableMacOSCodeSign)' == '' and $([MSBuild]::IsOSPlatform(`OSX`)) and Exists('/usr/bin/codesign') and + ($(RuntimeIdentifier.StartsWith('osx')) or $(AppHostRuntimeIdentifier.StartsWith('osx')))">true + <_UseSingleFileHostForPublish Condition="'$(PublishSingleFile)' == 'true' and + '$(SelfContained)' == 'true' and + '$(SingleFileHostSourcePath)' != '' and + '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and + $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0))">true + <_DisableCetCompat Condition="'$(CetCompat)' == 'false'">true + + + AppRelative + <_UpdateAppHostForPublish Condition="'$(_UseSingleFileHostForPublish)' != 'true' and + ('$(AppHostRelativeDotNet)' != '' or '$(AppHostDotNetSearch)' != '')">true + + + + + + + + + + + + + + + + + @(_NativeRestoredAppHostNETCore) + + + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost$(_NativeExecutableExtension)')) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)apphost_publish$(_NativeExecutableExtension)')) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)singlefilehost$(_NativeExecutableExtension)')) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(AssemblyName).comhost$(_ComHostLibraryExtension) + $([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)$(ComHostFileName)')) + + + + + + + + + + + + + + + + + <_CopyAndRenameDotnetHost Condition="'$(_CopyAndRenameDotnetHost)' == ''">true + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + PreserveNewest + + + + + + + PreserveNewest + Never + + + + + $(AssemblyName)$(_NativeExecutableExtension) + PreserveNewest + + Always + + + + + + $(AssemblyName).$(_DotNetComHostLibraryName) + PreserveNewest + PreserveNewest + + + %(FileName)%(Extension) + PreserveNewest + PreserveNewest + + + + + + + $(_DotNetIjwHostLibraryName) + PreserveNewest + PreserveNewest + + + + + + + + + <_FrameworkReferenceAssemblies Include="@(ReferencePath)" + Condition="(%(ReferencePath.FrameworkFile) == 'true' or + %(ReferencePath.ResolvedFrom) == 'ImplicitlyExpandDesignTimeFacades') + and ('%(ReferencePath.NuGetSourceType)' == '' or + '%(ReferencePath.NuGetIsFrameworkReference)' == 'true')" /> + + + <_ReferenceOnlyAssemblies Include="@(ReferencePath)" + Exclude="@(_FrameworkReferenceAssemblies)" + Condition="%(ReferencePath.CopyLocal) != 'true' and + %(ReferencePath.NuGetSourceType) == ''" /> + + <_ReferenceAssemblies Include="@(_FrameworkReferenceAssemblies)" /> + <_ReferenceAssemblies Include="@(_ReferenceOnlyAssemblies)" /> + + + + + + + + + true + + + + true + + + + + + + + + + + + $(StartWorkingDirectory) + + + + + + $(StartProgram) + $(StartArguments) + + + + + + + dotnet + + <_NetCoreRunArguments>exec "$(TargetPath)" + $(_NetCoreRunArguments) $(StartArguments) + $(_NetCoreRunArguments) + + + + $(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) + $(StartArguments) + + + + + + $(TargetPath) + $(StartArguments) + + + mono + "$(TargetPath)" $(StartArguments) + + + + + + + $([System.IO.Path]::GetFullPath($([System.IO.Path]::Combine('$(MSBuildProjectDirectory)', '$(RunWorkingDirectory)')))) + + + + + + + + + + + + + + + + + + + $(CreateSatelliteAssembliesDependsOn); + CoreGenerateSatelliteAssemblies + + + + + + + + + + + <_AssemblyInfoFile>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.cs + <_OutputAssembly>$(IntermediateOutputPath)%(_SatelliteAssemblyResourceInputs.Culture)\$(TargetName).resources.dll + + + + + <_Parameter1>%(_SatelliteAssemblyResourceInputs.Culture) + + + + + + + + + true + + + + <_SatelliteAssemblyReferences Remove="@(_SatelliteAssemblyReferences)" /> + <_SatelliteAssemblyReferences Include="@(ReferencePath)" Condition="'%(Filename)' == 'mscorlib' or '%(Filename)' == 'netstandard' or '%(Filename)' == 'System.Runtime' " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(TargetFrameworkIdentifier) + $(_TargetFrameworkVersionWithoutV) + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + false + + + + + false + + + + + + + <_UseAttributeForTargetFrameworkInfoPropertyNames Condition="$([MSBuild]::VersionGreaterThanOrEquals($(MSBuildVersion), '17.0'))">true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + $(AfterMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets + + + + + + + + + + + + + 0.0 + $(TargetPlatformIdentifier),Version=$(TargetPlatformVersion) + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))) + + + + + $(TargetPlatformVersion) + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props new file mode 100644 index 0000000000000000000000000000000000000000..96f502370534d1659adee04c5c620ebe917fba65 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedPlatforms.props @@ -0,0 +1,20 @@ + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props new file mode 100644 index 0000000000000000000000000000000000000000..a2cc99903f58a62d70ec30cdbc6e3da6d3a29ff5 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.SupportedTargetFrameworks.props @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + 10.0 + 18.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets new file mode 100644 index 0000000000000000000000000000000000000000..45c4b8dce1b929d5c57508db1b0a0a798f6ad98a --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets @@ -0,0 +1,272 @@ + + + + + + + + + + + + $([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) + v$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)', 2)) + + + + <_TargetFrameworkVersionWithoutV>$(TargetFrameworkVersion.TrimStart('vV')) + + + + + $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 4)) + $([MSBuild]::GetTargetPlatformVersion('$(TargetFramework)', 2)) + + + Windows + + + + + <_UnsupportedTargetFrameworkError>true + + + + + + + + + + + + + + true + true + + + + + + + + + + + + + + + + + + + + + + + + + v0.0 + + + _ + + + + + + + true + + + + + + + + + + + + true + + + + + + + + + + + + + <_EnableDefaultWindowsPlatform>false + false + + + + 2.1 + + + + + + + + + + + + + + + + + + + + + <_ApplicableTargetPlatformVersion Include="@(SdkSupportedTargetPlatformVersion)" Condition="'@(SdkSupportedTargetPlatformVersion)' != '' and '%(SdkSupportedTargetPlatformVersion.DefineConstantsOnly)' != 'true'" RemoveMetadata="DefineConstantsOnly" /> + <_ValidTargetPlatformVersion Include="@(_ApplicableTargetPlatformVersion)" Condition="'@(_ApplicableTargetPlatformVersion)' != '' and $([MSBuild]::VersionEquals(%(Identity), $(TargetPlatformVersion)))" /> + + + + @(_ValidTargetPlatformVersion->Distinct()) + + + + + + true + <_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' != ''" >@(_ApplicableTargetPlatformVersion, '%0a') + <_ValidTargetPlatformVersions Condition="'@(_ApplicableTargetPlatformVersion)' == ''" >None + + + + + + + + + + true + true + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.props new file mode 100644 index 0000000000000000000000000000000000000000..329b336dc80ab0842542c918a66f048be1a20f29 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.props @@ -0,0 +1,25 @@ + + + + + + + + + true + + + <_TargetFrameworkVersionValue>0.0 + <_WindowsDesktopSdkTargetFrameworkVersionFloor>3.0 + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets new file mode 100644 index 0000000000000000000000000000000000000000..a8ade7a670db150f8775535154b17a31dd6b6587 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Windows.targets @@ -0,0 +1,170 @@ + + + + + + + true + + + + + true + + + + + 7.0 + + + + + $(TargetPlatformMinVersion) + $(SupportedOSPlatformVersion) + + + $(TargetPlatformVersion) + $(TargetPlatformVersion) + + + + + true + true + true + 1 + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + + + + + <_WindowsSDKUnresolvedRef Include="@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)" Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET' " /> + + + + + + + + + + + + + + + <_ResolvedProjectReferencePaths Remove="@(_ResolvedProjectReferencePaths)" + Condition="('%(_ResolvedProjectReferencePaths.Extension)' == '.winmd') And ('%(_ResolvedProjectReferencePaths.Implementation)' == 'WinRT.Host.dll')" + /> + + + + + + + + + + + + + + + + <_WindowsSDKXamlTransitiveFrameworkReference Include="@(TransitiveFrameworkReference)" + Condition="'%(Identity)' == 'Microsoft.Windows.SDK.NET.Ref.Xaml'" /> + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props new file mode 100644 index 0000000000000000000000000000000000000000..5e82f9f657921f52b0efc896ee6c88bd4ad900f8 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.WindowsSdkSupportedTargetPlatforms.props @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets new file mode 100644 index 0000000000000000000000000000000000000000..a8097e29a76a908df0cb7ece7e53b3bac282a179 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets @@ -0,0 +1,546 @@ + + + + + + + + $(MSBuildProjectExtensionsPath)/project.assets.json + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsFile))) + + + $(IntermediateOutputPath)$(MSBuildProjectName).assets.cache + $([MSBuild]::NormalizePath($(MSBuildProjectDirectory), $(ProjectAssetsCacheFile))) + + + false + + + false + + + true + + $(IntermediateOutputPath)NuGet\ + + true + $(TargetPlatformIdentifier),Version=v$([System.Version]::Parse('$(TargetPlatformMinVersion)').ToString(3)) + $(TargetFrameworkMoniker) + + true + + + false + + + true + + + + + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' == ''">$(NuGetTargetMoniker) + <_NugetTargetMonikerAndRID Condition="'$(RuntimeIdentifier)' != ''">$(NuGetTargetMoniker)/$(RuntimeIdentifier) + + + + + + + + + + + + $(ResolveAssemblyReferencesDependsOn); + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + + + + ResolvePackageDependenciesForBuild; + _HandlePackageFileConflicts; + $(PrepareResourcesDependsOn) + + + + + + + $(RootNamespace) + + + $(AssemblyName) + + + $(MSBuildProjectDirectory) + + + $(TargetFileName) + + + $(MSBuildProjectFile) + + + + + + + true + + + + + + + + ResolveLockFileReferences; + ResolveLockFileAnalyzers; + ResolveLockFileCopyLocalFiles; + ResolveRuntimePackAssets; + RunProduceContentAssets; + IncludeTransitiveProjectReferences + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_RoslynApiVersion>$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Major).$([System.Version]::Parse(%(_CodeAnalysisIdentity.Version)).Minor) + roslyn$(_RoslynApiVersion) + + + + + + + + + false + + + true + + + + true + + + + + true + + + + <_PackAsToolShimRuntimeIdentifiers Condition="@(_PackAsToolShimRuntimeIdentifiers) ==''" Include="$(PackAsToolShimRuntimeIdentifiers)"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_NativeRestoredAppHostNETCore Include="@(NativeCopyLocalItems)" + Condition="'%(NativeCopyLocalItems.FileName)%(NativeCopyLocalItems.Extension)' == '$(_DotNetAppHostExecutableName)'"/> + + + + <_ApphostsForShimRuntimeIdentifiers Include="@(_ApphostsForShimRuntimeIdentifiersResolvePackageAssets)"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeCopyLocalItems)" + Condition="'%(RuntimeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(ResourceCopyLocalItems)" + Condition="'%(ResourceCopyLocalItems.CopyLocal)' == 'true'" /> + + <_ResolvedCopyLocalBuildAssets Include="@(NativeCopyLocalItems)" + Exclude="@(_NativeRestoredAppHostNETCore)" + Condition="'%(NativeCopyLocalItems.CopyLocal)' == 'true'" /> + <_ResolvedCopyLocalBuildAssets Include="@(RuntimeTargetsCopyLocalItems)" + Condition="'%(RuntimeTargetsCopyLocalItems.CopyLocal)' == 'true'" /> + + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolutionStubs.targets b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolutionStubs.targets new file mode 100644 index 0000000000000000000000000000000000000000..66a14fede9a1c6010746b2cf9072fc5b97201b17 --- /dev/null +++ b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolutionStubs.targets @@ -0,0 +1,33 @@ + + + + + + $(ResolveAssemblyReferencesDependsOn); + _HandlePackageFileConflicts; + + + + + + + + + + diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Bcl.AsyncInterfaces.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 0000000000000000000000000000000000000000..9f626d33ce8bb33468f7e07391d9e5aa9ebaebd0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Deployment.DotNet.Releases.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Deployment.DotNet.Releases.dll new file mode 100644 index 0000000000000000000000000000000000000000..4ce22f65e4a59efec680f7ca2e49b8f664b83d90 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Deployment.DotNet.Releases.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiCompat.Task.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiCompat.Task.dll new file mode 100644 index 0000000000000000000000000000000000000000..e97775f360094bdacca8530ead56716ebc56bf15 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiCompat.Task.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiCompatibility.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiCompatibility.dll new file mode 100644 index 0000000000000000000000000000000000000000..b7eaead44c0cd5628042bc39b3caad315cef0861 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiCompatibility.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiSymbolExtensions.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiSymbolExtensions.dll new file mode 100644 index 0000000000000000000000000000000000000000..18f3d8fab47bd00c0290685a865873c83b35a138 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.ApiSymbolExtensions.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.PackageValidation.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.PackageValidation.dll new file mode 100644 index 0000000000000000000000000000000000000000..e33cf713c90aa518116479b3d860fee429b95e16 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.DotNet.PackageValidation.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Extensions.DependencyModel.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Extensions.DependencyModel.dll new file mode 100644 index 0000000000000000000000000000000000000000..ce5efbf593cc1c881002ae7e588c494aeb0556b4 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.Extensions.DependencyModel.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.NET.HostModel.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.NET.HostModel.dll new file mode 100644 index 0000000000000000000000000000000000000000..361c985bc291df22658edd25e466b1afa75ed9b4 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/Microsoft.NET.HostModel.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/NuGet.LibraryModel.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/NuGet.LibraryModel.dll new file mode 100644 index 0000000000000000000000000000000000000000..a7622ec8d26bbe98967c4e9ae05fa427d2513dac Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/NuGet.LibraryModel.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/NuGet.Versioning.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/NuGet.Versioning.dll new file mode 100644 index 0000000000000000000000000000000000000000..cd2bfa54180747a8ff3c5bf01b7c3940d5175eb0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/NuGet.Versioning.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Buffers.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Buffers.dll new file mode 100644 index 0000000000000000000000000000000000000000..f2d83c51416e90dbc31154545b16df3b3f7a7909 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Buffers.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.IO.Pipelines.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.IO.Pipelines.dll new file mode 100644 index 0000000000000000000000000000000000000000..d7e7578ddae85ad72d5b5987cbe70e5165ad8292 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.IO.Pipelines.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Runtime.CompilerServices.Unsafe.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 0000000000000000000000000000000000000000..c5ba4e4047a15b3adc61340c781307d9c6e89413 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Text.Encodings.Web.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Text.Encodings.Web.dll new file mode 100644 index 0000000000000000000000000000000000000000..aabc28dfeb2adf50469015c0b05c0085a3f37c5c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Text.Encodings.Web.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Threading.Tasks.Extensions.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Threading.Tasks.Extensions.dll new file mode 100644 index 0000000000000000000000000000000000000000..eeec92852705946904d0e2fa0443d454075781f5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.Threading.Tasks.Extensions.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.ValueTuple.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.ValueTuple.dll new file mode 100644 index 0000000000000000000000000000000000000000..4ce28fdeac6da139573ed0ff356c2df510692cee Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/System.ValueTuple.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4fac9aff39c8587c1b97a3f1ac3d4c8bed4660d1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..5ed67ac18dc1bb19863b8dc644686ed02a2b9371 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..abb880be8f0ff1c9c12b6ea3a3449b80dbcdb49d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4f7a30ad782b25a3df5882105f9e23a21b90fc63 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6f69fa961b5e5244f312478ffd29208fa9a865f0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8f9508816e87c89c60d557a372e0d9cfc541ba0f Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/cs/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d8fd6041dc03768fcad079350c9b53bdaf50acb2 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..65bca3cf5b5e72fa04047d7680d16e47b0f59d2f Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3d82adce7d2480102ac8e52254c3e8f65f609af7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..397aaa4de3cc78b254de8b96ed84c4ec7a4ab8d1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cd2bbbfc3eb81bc0897319fbad12162980ad8716 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e7308efbe8632f95d10a2a848b9733e5a5825079 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/de/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..eba7eddfcc67b084052ce1d1965e874f4148d2a0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cf956a5d0a73815938cac46013dffb08f5dcfd7e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4f188062d8d4cd54158d905f424c74b2c65af6c3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..04311f6be316b20b276973972e2c881709ed5b17 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6f84138d5a18e2adf96c0e3ddea3882e021e60b3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e5bd750b89058285d7722e2fb1fae44449fecde0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/es/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..1d6f423e37df4240f2e4fc632b6af060dfb44c0a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ed55d61b2936d7d17ec1b3cf496dfbff2ad3e370 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..039f512e5726319bbf046fe0c121c666bd54b37d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..61e6cbd15578f0459310c6e884bb42f2ce0714ad Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a4beb2c3c19eceaf1bfdb0304230578a6e2c1c89 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ec1ac37696a1a43bad023cb9fbbb372b10d39aee Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/fr/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cdfc52fbe4ac6c809a0fc2b283bc05b0b99c1aec Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3f12e9453faf69f660d3ca107732e28462028d88 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..1d40660ffadf29a14d8b48275a01a2da8b9f4193 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7319c6710f2235faeb448e026ce6d19a91791c7b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3340f222433f32ab19e2e3ba7936ba0d114b045d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6a5c1c17f4c0cc28251226b3f1127ca65008257c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/it/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ae9c53eb3d744d08a345842378a88b315c8f7e63 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9076d3d3a32aea419e47c98167090df67f4c516c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0f28232f424bd20c3e453ff08212b5ad8e5fd8c1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..37ccd6a2ee886069b2d7e95ed57ea6148157caa0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2f0c12d0310f70131e8debb338c84823cd42bde0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..5c536467eae01bb601f8b014daffe086a14629de Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ja/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..bdb00380a5b21e35f915a768dd6b718522365702 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..90b3a0f69eacfa9935dcb34d5b759aefedd8be0a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8cc89c4abc773729f977849c3c2b8526b3fefc82 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..83a1e2749ca8e8c0f51ca94b2f68c1e6d6abac28 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b98d80f78aa15a2bf76ff397be3bf8d854cd7be7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6a40614113ca88b9bd59450a7786d9a578b21814 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ko/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c2e824108c9a8cd46446cd41e9ba4192cf3d6744 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..464bf4257f16b8ab0f9017512a2eb6e7dccca19b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..f168f8530cec5e262340c93eeb61248407110864 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c4eee9a57e5fb1a3a83f6b111d83d38a6a09cbc6 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..67b5ea574ef39f31747ec2457a5f47e7d729e6e0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a835c958a48f5d4ccd5f21a9ce3d4722bd8d038d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pl/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..922b07aced1e98859809d41923fc37f2bb61fbab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..268b5e98d985e5a9cd2a7a90733af8a27be30fa6 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..f9f1d3cd25226700da75493c07ce2f337b52ab93 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..420ed99a0a0aaafe916b682e07d805093c5356a5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a2056388ea3f4af9ace6744b832af9986f20eb16 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..aa8263a190c434131598e7322d41bdbe5c02ba43 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/pt-BR/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b05b760d378ce9610ef7922e88854be1394d15a0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..415155cd9853edf0e10e3302793ae676e6c14574 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..005756e62e548e860735dc2e560ec7a1d77a0e05 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c8b1b280e6017b568835d5c2dee78f3bfe580f0a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..31f51741aeae6e89d568e9ec84402610cbc38654 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cc7a6f5c5f881850f72d4e32b2b76ba41c89bda5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/ru/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..18c031fc4c8b929ce02396b141cee366f1e74b4d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ca4691a0021dfa01eab53708abcc8665c576e8c3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6b0124518b873b94fc220d68dc84a424ea7284f0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..40a6d63dc8f9065d92b7d8232855972b32751a1c Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ec539eeffa0af76fff0e7cc439961fe18f4ba64b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..92ced11e0644f90f1ef2836ab30f848e7ef06b88 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/tr/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..90d6497691c500f5864da8cd0bc8d4df644729c1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..5972d83e15cfeafa53f4468173a54d3b6f248d99 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0f90e91fc818c442fffda1d8371739f1b409685e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0b7ea693594b438da6ed64438a6aa54983b2487d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..aab86c56df1c02f0a4776bb508ae9ee072805c30 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..5186b9f2f3f225187a3d6d8cff77aec7427dac8d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hans/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..dcae80701f587a8f292ae5e00079b84351b408ae Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2cf989e7773fcb3b9df82656490a4120edda6968 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..532098995e10df10a54c8218e312988f8a235031 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..261e54d2421691d428bd12e9bd0ef496a15bedad Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e25538ce07ef80857d33d20e0c47b0deac881666 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..91cb8d6b3a0eab98f5e949d05f745a8555c8ad36 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net472/zh-Hant/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.Bcl.AsyncInterfaces.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.Bcl.AsyncInterfaces.dll new file mode 100644 index 0000000000000000000000000000000000000000..95f065cc3fbb2dfd944204b006d309a3ef6a8374 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.Bcl.AsyncInterfaces.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.ApiCompat.Task.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.ApiCompat.Task.dll new file mode 100644 index 0000000000000000000000000000000000000000..13c4ebe64f09a8a975d481c606c18e635e754a70 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.ApiCompat.Task.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.ApiSymbolExtensions.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.ApiSymbolExtensions.dll new file mode 100644 index 0000000000000000000000000000000000000000..35efe338eed7da1afd57d7edf100b6dc82791c81 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.ApiSymbolExtensions.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.PackageValidation.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.PackageValidation.dll new file mode 100644 index 0000000000000000000000000000000000000000..807083ea83d8641d48b11263bea9c9c269330852 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/Microsoft.DotNet.PackageValidation.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4fac9aff39c8587c1b97a3f1ac3d4c8bed4660d1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6d8432b3eff25a36d67759bf111ff63be8546aab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..19471158e6c138ea0196935f547fa45255c750c6 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d8715036d6f8d8e815e79d47c8295fb426efa521 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e7a883c1efab9415cf2fd5b70737cd7c7569c199 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c21b8d08f6f214528a952e0647e39a78f4951108 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/cs/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d8fd6041dc03768fcad079350c9b53bdaf50acb2 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..370d5d75025df6c21f1a23c29d291ab6f6f2a9bf Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4832e3403b432dc77b278ad0493e1c75e06d4027 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..464a2e1443cfca6f4e76ac22d7bd685d0abec304 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d4951ae8a3c2a8a141df39b219c7cc4ab6630fa6 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..399c9d38db09d66c6ffc3b017c47635170e1f821 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/de/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..eba7eddfcc67b084052ce1d1965e874f4148d2a0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7b60e26e6eb4f8c96221ff7100a6763b015f184a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c31e30216184a50cf7c18d3973695dcc4abc6569 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0ecd1a301c64ec825e739ccc9e5e5a299860eef9 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9cdf25527cf6ec49c3859d7a47d001801e2fd846 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..68b84ad87eedfdac13d4e4ec9c31a60c7ba6d627 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/es/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..1d6f423e37df4240f2e4fc632b6af060dfb44c0a Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..09b5ea3ad784f783707843809c552b6b03a54b3b Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..1b78b3e42c3fdf9e53fa5d287510885c299c6d75 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2219ee0fc9fb6c958b8444849f7749cf2318b134 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a91354ad5fd284b37c4c36e97f668fe9d386172d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6fecf909298bc0602620f2030db6bf2f8a52b788 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/fr/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cdfc52fbe4ac6c809a0fc2b283bc05b0b99c1aec Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c2a21df29521fa720a504f8479aa06c197fa79cf Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d4f588200c887f7bc1f54afeb2be1088577d0cdc Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..668761aaa789421a23da047c046b3101ef854d27 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..84ec93586971cf2c4cce1e539ff904cb43dd97cf Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..01f9a84b653c00f6ffa046e8c0b6253272315dbd Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/it/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ae9c53eb3d744d08a345842378a88b315c8f7e63 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7547a2ea6d625c59898e890390a53926e523aea2 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..f4bdeadbd71ed446f29ac2b18eb5d41268c358b5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7fa8872f2def93f3c40298d818d2ff0a8e16ea00 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..744416b142ca73f8a7b3a52de87ab853f41baff9 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9b1bb5a2b0d8c579cf7d42ef139a4366f73edbec Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ja/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..bdb00380a5b21e35f915a768dd6b718522365702 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b89685c243788a5da6845acafe66ce27d10d694e Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a6ac9629a97e43fe8e5c32e6f6b2ebd5a807fefb Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0b8209780af2bce4d478bfbbf3622e679e7e0be8 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..852f1f2e5d37d2e7a7b64d59ca4d803a987979d3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..8801e222e418c520d2193225751be71f879a87b9 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ko/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c2e824108c9a8cd46446cd41e9ba4192cf3d6744 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..1d93f1b1f10490fc57eeeaf8b4bcb0ab77565b50 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a561b95a4854ac6171d203fefa3332fc80dc4576 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..9da913eabe9e554cf88c1ac8bd42cf5aeef4cbd8 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..4c31afcd7ab5dc38285b9e9aa88db8d68f0802f3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..89c119ad030e4fc3e9a3dd71173c972f63c8b092 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pl/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..922b07aced1e98859809d41923fc37f2bb61fbab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..40e46d388e39d1a3a61725f6633a1943c57dbfbd Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..f95503e578227ae1fe9910e42a56410b3fea55ab Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..6806dca25b9aab0ee8448c37b0580871edfa2edc Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..e9744873b7c76eb3df90916ab0d856ae146cb448 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d72a3e51e06dfd017d82fe2ecbb51f581c096ea7 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/pt-BR/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b05b760d378ce9610ef7922e88854be1394d15a0 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..74768d6126674d535e34bad972a28eda7fa08f17 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..aea2b2e967be6afc58d7df45995755227611a118 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..3f8964b070761f0229478413615c05ffc0a5d6a4 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c177a3e788f4bd4a90684c1168ba42a0ceceb4e6 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..07bf13f194d8b2de2747751729755583cf6413fd Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/ru/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..18c031fc4c8b929ce02396b141cee366f1e74b4d Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..fd74b67d6630c0799c2cd40112bac494dff75681 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..b56d77272340f1a38ec1d0d58210267875ad68ef Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..ca010207da2fa4f88df86201084e208255fc57fc Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..186cad843d88861a25391e1321af33a3b074cd82 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..cbcb4bda7f04e282f9e2e25e192f9da4b91f65c3 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/tr/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..90d6497691c500f5864da8cd0bc8d4df644729c1 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..93e19431a1ac6a27b8113b041cdd37de527287e2 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..7643f905c0b96508fc27ab6b9eb37ecda05746a5 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..2fec52716cf6a600e3112317e995e37a38be49ef Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..a0c5b9385ad8a0fdf2f7af6f3ecc3a13ba98b658 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..44446402dd42d76475e350cde945a605c8f98d11 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hans/Microsoft.NET.Build.Tasks.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.Deployment.DotNet.Releases.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.Deployment.DotNet.Releases.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..dcae80701f587a8f292ae5e00079b84351b408ae Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.Deployment.DotNet.Releases.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiCompat.Task.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiCompat.Task.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..62aab6065b6182f7dbc9a1ac39b19c76c0deb4e8 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiCompat.Task.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiCompatibility.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiCompatibility.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..0e26f05ee52b6a9893807a138981a72839c49cc2 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiCompatibility.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiSymbolExtensions.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiSymbolExtensions.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..876bac3399e1934b62a189e18a06a4b40c102c96 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.ApiSymbolExtensions.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.PackageValidation.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.PackageValidation.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..c9626ecc3f325552de21463692788755626879f9 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.DotNet.PackageValidation.resources.dll differ diff --git a/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.NET.Build.Tasks.resources.dll b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.NET.Build.Tasks.resources.dll new file mode 100644 index 0000000000000000000000000000000000000000..d5ed0673396673e43165d3a0e18b797c8549fe61 Binary files /dev/null and b/dotnet/sdk/9.0.313/Sdks/Microsoft.NET.Sdk/tools/net9.0/zh-Hant/Microsoft.NET.Build.Tasks.resources.dll differ