nuget update

This commit is contained in:
StellaOps Bot
2025-11-25 07:44:18 +02:00
parent 7c39058386
commit 17826bdca1
3870 changed files with 4475103 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"contentHash": "AxkxcPR+rheX0SmvpLVIGLhOUXAKG56a64kV9VQZ4y9gR9ZmPXnqZvHJnmwLSwzrEP6junUF11vuc+aqo5r68g==",
"source": "https://api.nuget.org/v3/index.json"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Analyzers</id>
<version>3.3.4</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<developmentDependency>true</developmentDependency>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<license type="expression">MIT</license>
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
<icon>Icon.png</icon>
<projectUrl>https://github.com/dotnet/roslyn-analyzers</projectUrl>
<description>Analyzers for consumers of Microsoft.CodeAnalysis NuGet package, i.e. extensions and applications built on top of .NET Compiler Platform (Roslyn). This package is included as a development dependency of Microsoft.CodeAnalysis NuGet package and does not need to be installed separately if you are referencing Microsoft.CodeAnalysis NuGet package.</description>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<tags>Roslyn CodeAnalysis Compiler CSharp VB VisualBasic Diagnostic Analyzers Syntax Semantics</tags>
<serviceable>true</serviceable>
<repository type="git" url="https://github.com/dotnet/roslyn-analyzers" commit="22ea6422f85b05ca0793cc3b76375487be407f5d" />
</metadata>
</package>

View File

@@ -0,0 +1,260 @@
NOTICES AND INFORMATION
Do Not Translate or Localize
The Roslyn Analyzers software incorporates material from third parties. Microsoft makes certain open source code available at https://3rdpartysource.microsoft.com, or you may send a check or money order for US $5.00, including the product name, the open source component name, and version number, to:
Source Code Compliance Team
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
USA
Notwithstanding any other terms, you may reverse engineer this software to the extent required to debug changes to any libraries licensed under the GNU Lesser General Public License.
%% .NET Compiler Platform NOTICES AND INFORMATION BEGIN HERE
=========================================
Copyright (c) .NET Foundation. All rights reserved.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=========================================
END OF .NET Compiler Platform NOTICES AND INFORMATION
%% Humanizer NOTICES AND INFORMATION BEGIN HERE
=========================================
The MIT License (MIT)
Copyright (c) 2012-2014 Mehdi Khalili
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
==============================================================================
Inflector (https://github.com/srkirkland/Inflector)
The MIT License (MIT)
Copyright (c) 2013 Scott Kirkland
==============================================================================
ByteSize (https://github.com/omar/ByteSize)
The MIT License (MIT)
Copyright (c) 2013-2014 Omar Khudeira (http://omar.io)
==============================================================================
=========================================
END OF Humanizer NOTICES AND INFORMATION

View File

@@ -0,0 +1,3 @@
<Project>
</Project>

View File

@@ -0,0 +1,328 @@
<Project>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" BeforeTargets="CoreCompile" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true'">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>$(AnalysisLevelSuffix)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == ''">$(AnalysisMode)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers Condition="'$(MicrosoftCodeAnalysisAnalyzersRulesVersion)' != ''">AnalysisLevel_$(MicrosoftCodeAnalysisAnalyzersRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzers)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzers)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzers)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzers)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersCorrectness" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelCorrectness)' != '' or '$(AnalysisModeCorrectness)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>$(AnalysisLevelSuffixCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == ''">$(AnalysisModeCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersCorrectnessRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(MicrosoftCodeAnalysisAnalyzersCorrectnessRulesVersion)' != ''">AnalysisLevelCorrectness_$(MicrosoftCodeAnalysisAnalyzersCorrectnessRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersCorrectness)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersCorrectness)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersCorrectness)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersCorrectness)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersLibrary" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelLibrary)' != '' or '$(AnalysisModeLibrary)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>$(AnalysisLevelSuffixLibrary)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == ''">$(AnalysisModeLibrary)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersLibraryRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(MicrosoftCodeAnalysisAnalyzersLibraryRulesVersion)' != ''">AnalysisLevelLibrary_$(MicrosoftCodeAnalysisAnalyzersLibraryRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersLibrary)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersLibrary)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersLibrary)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersLibrary)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisCompatibility)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisCompatibility)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>$(AnalysisLevelSuffixMicrosoftCodeAnalysisCompatibility)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == ''">$(AnalysisModeMicrosoftCodeAnalysisCompatibility)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibilityRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibilityRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisCompatibility_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibilityRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCompatibility)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisCorrectness)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisCorrectness)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>$(AnalysisLevelSuffixMicrosoftCodeAnalysisCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == ''">$(AnalysisModeMicrosoftCodeAnalysisCorrectness)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectnessRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectnessRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisCorrectness_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectnessRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisCorrectness)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisDesign)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisDesign)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>$(AnalysisLevelSuffixMicrosoftCodeAnalysisDesign)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == ''">$(AnalysisModeMicrosoftCodeAnalysisDesign)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesignRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesignRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisDesign_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesignRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDesign)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisDocumentation)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisDocumentation)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>$(AnalysisLevelSuffixMicrosoftCodeAnalysisDocumentation)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == ''">$(AnalysisModeMicrosoftCodeAnalysisDocumentation)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentationRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentationRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisDocumentation_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisDocumentation)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisLocalization)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisLocalization)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>$(AnalysisLevelSuffixMicrosoftCodeAnalysisLocalization)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == ''">$(AnalysisModeMicrosoftCodeAnalysisLocalization)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalizationRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalizationRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisLocalization_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalizationRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisLocalization)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisPerformance)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisPerformance)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>$(AnalysisLevelSuffixMicrosoftCodeAnalysisPerformance)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == ''">$(AnalysisModeMicrosoftCodeAnalysisPerformance)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformanceRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformanceRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisPerformance_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformanceRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisPerformance)" />
</ItemGroup>
</Target>
<Target Name="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking" BeforeTargets="CoreCompile" AfterTargets="AddGlobalAnalyzerConfigForPackage_MicrosoftCodeAnalysisAnalyzers" Condition="'$(SkipGlobalAnalyzerConfigForPackage)' != 'true' and ('$(AnalysisLevelMicrosoftCodeAnalysisReleaseTracking)' != '' or '$(AnalysisModeMicrosoftCodeAnalysisReleaseTracking)' != '')">
<!-- PropertyGroup to compute global analyzer config file to be used -->
<PropertyGroup>
<!-- Set the default analysis mode, if not set by the user -->
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>$(AnalysisLevelSuffixMicrosoftCodeAnalysisReleaseTracking)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == ''">$(AnalysisModeMicrosoftCodeAnalysisReleaseTracking)</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == 'AllEnabledByDefault'">All</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == 'AllDisabledByDefault'">None</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == ''">Default</_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<!-- Default 'EffectiveCodeAnalysisTreatWarningsAsErrors' to 'CodeAnalysisTreatWarningsAsErrors' for escalating relevant code analysis warnings to errors. -->
<!-- We use a separate property to allow users to override 'CodeAnalysisTreatWarningsAsErrors' implementation from .NET7 or older SDK, which had a known issue: https://github.com/dotnet/roslyn-analyzers/issues/6281 -->
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
<!-- Choose GlobalAnalyzerConfig file with '_warnaserror' suffix if 'EffectiveCodeAnalysisTreatWarningsAsErrors' is 'true'. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking_WarnAsErrorSuffix Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'true'">_warnaserror</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking_WarnAsErrorSuffix>
<!-- GlobalAnalyzerConfig file name based on user specified package version 'MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTrackingRulesVersion', if any. We replace '.' with '_' to map the version string to file name suffix. -->
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTrackingRulesVersion)' != ''">AnalysisLevelMicrosoftCodeAnalysisReleaseTracking_$(MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTrackingRulesVersion.Replace(".","_"))_$(_GlobalAnalyzerConfigAnalysisMode_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking_WarnAsErrorSuffix).globalconfig</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking.ToLowerInvariant())</_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' == ''">$(MSBuildThisFileDirectory)config</_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
<_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking Condition="'$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)' != ''">$(_GlobalAnalyzerConfigDir_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)\$(_GlobalAnalyzerConfigFileName_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)</_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking>
</PropertyGroup>
<ItemGroup Condition="Exists('$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)')">
<EditorConfigFiles Include="$(_GlobalAnalyzerConfigFile_MicrosoftCodeAnalysisAnalyzersMicrosoftCodeAnalysisReleaseTracking)" />
</ItemGroup>
</Target>
<!-- MSBuild properties to thread to the analyzers as options -->
<ItemGroup>
<CompilerVisibleProperty Include="TargetFramework" />
<CompilerVisibleProperty Include="TargetPlatformMinVersion" />
<CompilerVisibleProperty Include="UsingMicrosoftNETSdkWeb" />
<CompilerVisibleProperty Include="ProjectTypeGuids" />
<CompilerVisibleProperty Include="InvariantGlobalization" />
<CompilerVisibleProperty Include="PlatformNeutralAssembly" />
<CompilerVisibleProperty Include="EnforceExtendedAnalyzerRules" />
</ItemGroup>
<!-- MSBuild item metadata to thread to the analyzers as options -->
<PropertyGroup>
<_SupportedPlatformList>@(SupportedPlatform, ',')</_SupportedPlatformList>
</PropertyGroup>
<!-- MSBuild properties to thread to the analyzers as options -->
<ItemGroup>
<CompilerVisibleProperty Include="_SupportedPlatformList" />
</ItemGroup>
<!-- Target to add all 'EmbeddedResource' files with '.resx' extension as analyzer additional files -->
<Target Name="AddAllResxFilesAsAdditionalFiles" BeforeTargets="CoreCompile" Condition="'@(EmbeddedResource)' != '' AND '$(SkipAddAllResxFilesAsAdditionalFiles)' != 'true'">
<ItemGroup>
<EmbeddedResourceWithResxExtension Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.resx'" />
<AdditionalFiles Include="%(EmbeddedResourceWithResxExtension.Identity)" />
</ItemGroup>
</Target>
<!-- Workaround for https://github.com/dotnet/roslyn/issues/4655 -->
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\AnalyzerReleases.Shipped.md')" >
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
</ItemGroup>
<ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\AnalyzerReleases.Unshipped.md')" >
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,75 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'All' analysis mode
# Description: Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -100
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'All' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,75 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'Default' analysis mode
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -100
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'Default' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,78 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'Minimum' analysis mode
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'None' analysis mode
# Description: Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'None' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,78 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'Recommended' analysis mode
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '2.9.8' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'All' analysis mode
# Description: Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -100
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'All' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'Default' analysis mode
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -100
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'Default' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,21 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'Minimum' analysis mode
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'None' analysis mode
# Description: Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'None' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,21 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'Recommended' analysis mode
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.3' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,21 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'All' analysis mode
# Description: Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -100
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'All' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,21 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'Default' analysis mode
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -100
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'Default' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,24 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'Minimum' analysis mode
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'None' analysis mode
# Description: Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'None' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,24 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'Recommended' analysis mode
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.3.0' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,30 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'All' analysis mode
# Description: Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -100
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'All' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,30 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'Default' analysis mode
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -100
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'Default' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,33 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'Minimum' analysis mode
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'None' analysis mode
# Description: Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'None' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,33 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'Recommended' analysis mode
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none

View File

@@ -0,0 +1,132 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '3.0.0' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'All' analysis mode
# Description: Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -100

View File

@@ -0,0 +1,129 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'All' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = error
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = error
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'Default' analysis mode
# Description: Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -100

View File

@@ -0,0 +1,129 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'Default' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = error
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = error
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,15 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'Minimum' analysis mode
# Description: Rules with enabled-by-default state from '4.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = warning

View File

@@ -0,0 +1,129 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '4.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = error
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = error
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'None' analysis mode
# Description: Rules with enabled-by-default state from '4.3' release with 'None' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,135 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'None' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '4.3' release with 'None' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = none
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = none
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = none
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = none
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = none
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = none
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = none
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = none
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = none
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = none
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = none
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = none
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = none
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = none
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = none
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = none
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = none
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = none
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = none
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = none
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = none
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = none
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = none
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = none
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = none
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = none
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = none
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = none
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = none
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = none
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = none
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = none
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = none
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = none
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = none
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = none
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = none
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = none

View File

@@ -0,0 +1,15 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'Recommended' analysis mode
# Description: Rules with enabled-by-default state from '4.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -100
# RS1009: Only internal implementations of this interface are allowed
dotnet_diagnostic.RS1009.severity = warning
# RS1035: Do not use APIs banned for analyzers
dotnet_diagnostic.RS1035.severity = warning

View File

@@ -0,0 +1,129 @@
# NOTE: Requires **VS2019 16.7** or later
# Rules from '4.3' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: Rules with enabled-by-default state from '4.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -100
# RS1001: Missing diagnostic analyzer attribute
dotnet_diagnostic.RS1001.severity = error
# RS1002: Missing kind argument when registering an analyzer action
dotnet_diagnostic.RS1002.severity = error
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
dotnet_diagnostic.RS1003.severity = error
# RS1004: Recommend adding language support to diagnostic analyzer
dotnet_diagnostic.RS1004.severity = error
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
dotnet_diagnostic.RS1005.severity = error
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
dotnet_diagnostic.RS1006.severity = error
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
dotnet_diagnostic.RS1008.severity = error
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1012: Start action has no registered actions
dotnet_diagnostic.RS1012.severity = error
# RS1013: Start action has no registered non-end actions
dotnet_diagnostic.RS1013.severity = error
# RS1014: Do not ignore values returned by methods on immutable objects
dotnet_diagnostic.RS1014.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error
# RS1017: DiagnosticId for analyzers must be a non-null constant
dotnet_diagnostic.RS1017.severity = error
# RS1018: DiagnosticId for analyzers must be in specified format
dotnet_diagnostic.RS1018.severity = error
# RS1019: DiagnosticId must be unique across analyzers
dotnet_diagnostic.RS1019.severity = error
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
dotnet_diagnostic.RS1021.severity = error
# RS1022: Do not use types from Workspaces assembly in an analyzer
dotnet_diagnostic.RS1022.severity = error
# RS1023: Upgrade MSBuildWorkspace
dotnet_diagnostic.RS1023.severity = error
# RS1024: Symbols should be compared for equality
dotnet_diagnostic.RS1024.severity = error
# RS1025: Configure generated code analysis
dotnet_diagnostic.RS1025.severity = error
# RS1026: Enable concurrent execution
dotnet_diagnostic.RS1026.severity = error
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
dotnet_diagnostic.RS1027.severity = error
# RS1029: Do not use reserved diagnostic IDs
dotnet_diagnostic.RS1029.severity = error
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
dotnet_diagnostic.RS1030.severity = error
# RS1031: Define diagnostic title correctly
dotnet_diagnostic.RS1031.severity = error
# RS1032: Define diagnostic message correctly
dotnet_diagnostic.RS1032.severity = error
# RS1033: Define diagnostic description correctly
dotnet_diagnostic.RS1033.severity = error
# RS1034: Prefer 'IsKind' for checking syntax kinds
dotnet_diagnostic.RS1034.severity = error
# RS1036: Specify analyzer banned API enforcement setting
dotnet_diagnostic.RS1036.severity = error
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
dotnet_diagnostic.RS1037.severity = error
# RS2000: Add analyzer diagnostic IDs to analyzer release
dotnet_diagnostic.RS2000.severity = error
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
dotnet_diagnostic.RS2001.severity = error
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
dotnet_diagnostic.RS2002.severity = error
# RS2003: Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
dotnet_diagnostic.RS2003.severity = error
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
dotnet_diagnostic.RS2004.severity = error
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
dotnet_diagnostic.RS2005.severity = error
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
dotnet_diagnostic.RS2006.severity = error
# RS2007: Invalid entry in analyzer release file
dotnet_diagnostic.RS2007.severity = error
# RS2008: Enable analyzer release tracking
dotnet_diagnostic.RS2008.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'All' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'All' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'All' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'Default' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'Default' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Default' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'Minimum' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Minimum' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'None' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'None' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'None' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'Recommended' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '2.9.8' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '2.9.8' release with 'Recommended' analysis mode. Rules that are first released in a version later than '2.9.8' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'All' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'All' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'Default' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'Default' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'Minimum' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'None' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'None' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'Recommended' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.3' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.3' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'All' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'All' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'Default' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'Default' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'Minimum' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'None' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'None' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'Recommended' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.3.0' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.3.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.3.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'All' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'All' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'All' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'Default' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'Default' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Default' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'Minimum' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'Minimum' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Minimum' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'None' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'None' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'None' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = none
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = none
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = none

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'Recommended' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '3.0.0' release with 'Recommended' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '3.0.0' release with 'Recommended' analysis mode. Rules that are first released in a version later than '3.0.0' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '4.3' release with 'All' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -99

View File

@@ -0,0 +1,18 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '4.3' release with 'All' analysis mode escalated to 'error' severity
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'All' analysis mode. Rules that are first released in a version later than '4.3' are disabled. Enabled rules with 'warning' severity are escalated to 'error' severity to respect 'CodeAnalysisTreatWarningsAsErrors' MSBuild property.
is_global = true
global_level = -99
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1010.severity = error
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
dotnet_diagnostic.RS1011.severity = error
# RS1016: Code fix providers should provide FixAll support
dotnet_diagnostic.RS1016.severity = error

View File

@@ -0,0 +1,9 @@
# NOTE: Requires **VS2019 16.7** or later
# 'Correctness' Rules from '4.3' release with 'Default' analysis mode
# Description: 'Correctness' Rules with enabled-by-default state from '4.3' release with 'Default' analysis mode. Rules that are first released in a version later than '4.3' are disabled.
is_global = true
global_level = -99

Some files were not shown because too many files have changed in this diff Show More