updfate 20250919
This commit is contained in:
BIN
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/.signature.p7s
vendored
Normal file
BIN
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/Icon.png
vendored
Normal file
BIN
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/Icon.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/Microsoft.CodeAnalysis.Analyzers.4.14.0.nupkg
vendored
Normal file
BIN
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/Microsoft.CodeAnalysis.Analyzers.4.14.0.nupkg
vendored
Normal file
Binary file not shown.
260
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/ThirdPartyNotices.txt
vendored
Normal file
260
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/ThirdPartyNotices.txt
vendored
Normal 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
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
<Project>
|
||||
|
||||
<!--
|
||||
This property group handles 'CodeAnalysisTreatWarningsAsErrors = false' for the CA rule ids implemented in this package.
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<CodeAnalysisRuleIds>RS1001;RS1002;RS1003;RS1004;RS1005;RS1006;RS1007;RS1008;RS1009;RS1010;RS1011;RS1012;RS1013;RS1014;RS1015;RS1016;RS1017;RS1018;RS1019;RS1020;RS1021;RS1022;RS1023;RS1024;RS1025;RS1026;RS1027;RS1028;RS1029;RS1030;RS1031;RS1032;RS1033;RS1034;RS1035;RS1036;RS1037;RS1038;RS1039;RS1040;RS1041;RS1042;RS1043;RS2000;RS2001;RS2002;RS2003;RS2004;RS2005;RS2006;RS2007;RS2008</CodeAnalysisRuleIds>
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<WarningsNotAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'false' and '$(TreatWarningsAsErrors)' == 'true'">$(WarningsNotAsErrors);$(CodeAnalysisRuleIds)</WarningsNotAsErrors>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,341 @@
|
||||
<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="TargetFrameworkIdentifier" />
|
||||
<CompilerVisibleProperty Include="TargetFrameworkVersion" />
|
||||
<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>
|
||||
|
||||
<!--
|
||||
Design-time target to handle 'CodeAnalysisTreatWarningsAsErrors = false' for the CA rule ids implemented in this package.
|
||||
Note that a similar 'WarningsNotAsErrors' property group is present in the generated props file to ensure this functionality on command line builds.
|
||||
-->
|
||||
<Target Name="_CodeAnalysisTreatWarningsAsErrors" BeforeTargets="CoreCompile" Condition="'$(DesignTimeBuild)' == 'true' OR '$(BuildingProject)' != 'true'">
|
||||
<PropertyGroup>
|
||||
<EffectiveCodeAnalysisTreatWarningsAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == ''">$(CodeAnalysisTreatWarningsAsErrors)</EffectiveCodeAnalysisTreatWarningsAsErrors>
|
||||
<WarningsNotAsErrors Condition="'$(EffectiveCodeAnalysisTreatWarningsAsErrors)' == 'false' and '$(TreatWarningsAsErrors)' == 'true'">$(WarningsNotAsErrors);$(CodeAnalysisRuleIds)</WarningsNotAsErrors>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<!-- Target to add all 'EmbeddedResource' files with '.resx' extension as analyzer additional files -->
|
||||
<Target Name="AddAllResxFilesAsAdditionalFiles" DependsOnTargets="PrepareResourceNames" BeforeTargets="GenerateMSBuildEditorConfigFileCore;CoreCompile" Condition="'@(EmbeddedResource)' != '' AND '$(SkipAddAllResxFilesAsAdditionalFiles)' != 'true'">
|
||||
<ItemGroup>
|
||||
<EmbeddedResourceWithResxExtension Include="@(EmbeddedResource)" Condition="'%(Extension)' == '.resx'" />
|
||||
<AdditionalFiles Include="@(EmbeddedResourceWithResxExtension)" />
|
||||
</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>
|
||||
641
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/documentation/Microsoft.CodeAnalysis.Analyzers.md
vendored
Normal file
641
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/documentation/Microsoft.CodeAnalysis.Analyzers.md
vendored
Normal file
@@ -0,0 +1,641 @@
|
||||
# Microsoft.CodeAnalysis.Analyzers
|
||||
|
||||
## RS1001: Missing diagnostic analyzer attribute
|
||||
|
||||
Non-abstract sub-types of DiagnosticAnalyzer should be marked with DiagnosticAnalyzerAttribute(s). The argument to this attribute(s), if any, determine the supported languages for the analyzer. Analyzer types without this attribute will be ignored by the analysis engine.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1002: Missing kind argument when registering an analyzer action
|
||||
|
||||
You must specify at least one syntax, symbol or operation kind when registering a syntax, symbol, or operation analyzer action respectively. Otherwise, the registered action will never be invoked during analysis.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
|
||||
SymbolKind '{0}' is not supported for symbol analyzer actions
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1004: Recommend adding language support to diagnostic analyzer
|
||||
|
||||
Diagnostic analyzer is marked as supporting only one language, but the analyzer assembly doesn't seem to refer to any language specific CodeAnalysis assemblies, and so is likely to work for more than one language. Consider adding an additional language argument to DiagnosticAnalyzerAttribute.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
|
||||
ReportDiagnostic should only be invoked with supported DiagnosticDescriptors that are returned from DiagnosticAnalyzer.SupportedDiagnostics property. Otherwise, the reported diagnostic will be filtered out by the analysis engine.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
|
||||
DiagnosticAnalyzer's language-specific Register methods, such as RegisterSyntaxNodeAction, RegisterCodeBlockStartAction and RegisterCodeBlockEndAction, expect a language-specific 'SyntaxKind' type argument for it's 'TLanguageKindEnumName' type parameter. Otherwise, the registered analyzer action can never be invoked during analysis.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
|
||||
If your diagnostic analyzer and it's reported diagnostics need to be localizable, then the supported DiagnosticDescriptors used for constructing the diagnostics must also be localizable. If so, then localizable argument(s) must be provided for parameter 'title' (and optionally 'description') to the diagnostic descriptor constructor to ensure that the descriptor is localizable.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisLocalization|
|
||||
|Enabled|False|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
|
||||
Instance of a diagnostic analyzer might outlive the lifetime of compilation. Hence, storing per-compilation data, such as symbols, into the fields of a diagnostic analyzer might cause stale compilations to stay alive and cause memory leaks. Instead, you should store this data on a separate type instantiated in a compilation start action, registered using 'AnalysisContext.RegisterCompilationStartAction' API. An instance of this type will be created per-compilation and it won't outlive compilation's lifetime, hence avoiding memory leaks.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisPerformance|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1009: Only internal implementations of this interface are allowed
|
||||
|
||||
The author of this interface did not intend to have third party implementations of this interface and reserves the right to change it. Implementing this interface could therefore result in a source or binary compatibility issue with a future version of this interface.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCompatibility|
|
||||
|Enabled|True|
|
||||
|Severity|Error|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
|
||||
A CodeFixProvider that intends to support fix all occurrences must classify the registered code actions into equivalence classes by assigning it an explicit, non-null equivalence key which is unique for each kind of code action created by this fixer. This enables the FixAllProvider to fix all diagnostics in the required scope by applying code actions from this fixer that are in the equivalence class of the trigger code action.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|Correctness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
|
||||
A CodeFixProvider that intends to support fix all occurrences must classify the registered code actions into equivalence classes by assigning it an explicit, non-null equivalence key which is unique for each kind of code action created by this fixer. This enables the FixAllProvider to fix all diagnostics in the required scope by applying code actions from this fixer that are in the equivalence class of the trigger code action.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|Correctness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1012: Start action has no registered actions
|
||||
|
||||
An analyzer start action enables performing stateful analysis over a given code unit, such as a code block, compilation, etc. Careful design is necessary to achieve efficient analyzer execution without memory leaks. Use the following guidelines for writing such analyzers:
|
||||
|
||||
1. Define a new scope for the registered start action, possibly with a private nested type for analyzing each code unit.
|
||||
|
||||
2. If required, define and initialize state in the start action.
|
||||
|
||||
3. Register at least one non-end action that refers to this state in the start action. If no such action is necessary, consider replacing the start action with a non-start action. For example, a CodeBlockStartAction with no registered actions or only a registered CodeBlockEndAction should be replaced with a CodeBlockAction.
|
||||
|
||||
4. If required, register an end action to report diagnostics based on the final state.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisPerformance|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1013: Start action has no registered non-end actions
|
||||
|
||||
An analyzer start action enables performing stateful analysis over a given code unit, such as a code block, compilation, etc. Careful design is necessary to achieve efficient analyzer execution without memory leaks. Use the following guidelines for writing such analyzers:
|
||||
|
||||
1. Define a new scope for the registered start action, possibly with a private nested type for analyzing each code unit.
|
||||
|
||||
2. If required, define and initialize state in the start action.
|
||||
|
||||
3. Register at least one non-end action that refers to this state in the start action. If no such action is necessary, consider replacing the start action with a non-start action. For example, a CodeBlockStartAction with no registered actions or only a registered CodeBlockEndAction should be replaced with a CodeBlockAction.
|
||||
|
||||
4. If required, register an end action to report diagnostics based on the final state.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisPerformance|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1014: Do not ignore values returned by methods on immutable objects
|
||||
|
||||
Many objects exposed by Roslyn are immutable. The return value from a method invocation on these objects should not be ignored.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
|
||||
The 'helpLinkUri' value is used to show information when this diagnostic in the error list. Every analyzer should have a helpLinkUri specified which points to a help page that does not change over time.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDocumentation|
|
||||
|Enabled|False|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1016: Code fix providers should provide FixAll support
|
||||
|
||||
A CodeFixProvider should provide FixAll support to enable users to fix multiple instances of the underlying diagnostic with a single code fix. See documentation at <https://github.com/dotnet/roslyn/blob/main/docs/analyzers/FixAllProvider.md> for further details.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|Correctness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
|
||||
DiagnosticId for analyzers must be a non-null constant.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1018: DiagnosticId for analyzers must be in specified format
|
||||
|
||||
DiagnosticId for analyzers must be in specified format.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1019: DiagnosticId must be unique across analyzers
|
||||
|
||||
DiagnosticId must be unique across analyzers.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1020: Category for analyzers must be from the specified values
|
||||
|
||||
Category for analyzers must be from the specified values.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|False|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
|
||||
Invalid entry in analyzer category and diagnostic ID range specification file.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS1022](https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1022.md): Do not use types from Workspaces assembly in an analyzer
|
||||
|
||||
Diagnostic analyzer types should not use types from Workspaces assemblies. Workspaces assemblies are only available when the analyzer executes in Visual Studio IDE live analysis, but are not available during command line build. Referencing types from Workspaces assemblies will lead to runtime exception during analyzer execution in command line build.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS1023](https://go.microsoft.com/fwlink/?linkid=874285): Upgrade MSBuildWorkspace
|
||||
|
||||
MSBuildWorkspace has moved to the Microsoft.CodeAnalysis.Workspaces.MSBuild NuGet package and there are breaking API changes.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|Library|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1024: Symbols should be compared for equality
|
||||
|
||||
Symbols should be compared for equality, not identity. Use an overload accepting an 'IEqualityComparer' and pass 'SymbolEqualityComparer'.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1025: Configure generated code analysis
|
||||
|
||||
Configure generated code analysis
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1026: Enable concurrent execution
|
||||
|
||||
Enable concurrent execution
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
|
||||
Inherit type '{0}' from DiagnosticAnalyzer or remove the DiagnosticAnalyzerAttribute(s)
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
|
||||
The 'customTags' value is used as a way to enable specific actions and filters on diagnostic descriptors based on the specific values of the tags. Every Roslyn analyzer should have at least one tag from the 'WellKnownDiagnosticTags' class.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDocumentation|
|
||||
|Enabled|False|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1029: Do not use reserved diagnostic IDs
|
||||
|
||||
DiagnosticId for analyzers should not use reserved IDs.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
|
||||
'GetSemanticModel' is an expensive method to invoke within a diagnostic analyzer because it creates a completely new semantic model, which does not share compilation data with the compiler or other analyzers. This incurs an additional performance cost during semantic analysis. Instead, consider registering a different analyzer action which allows used of a shared 'SemanticModel', such as 'RegisterOperationAction', 'RegisterSyntaxNodeAction', or 'RegisterSemanticModelAction'.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1031: Define diagnostic title correctly
|
||||
|
||||
The diagnostic title should not contain a period, nor any line return character, nor any leading or trailing whitespaces
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1032: Define diagnostic message correctly
|
||||
|
||||
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1033: Define diagnostic description correctly
|
||||
|
||||
The diagnostic description should be one or multiple sentences ending with a punctuation sign and should not have any leading or trailing whitespaces
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
|
||||
Prefer 'syntax.IsKind(kind)' to 'syntax.Kind() == kind' when checking syntax kinds. Code using 'IsKind' is slightly more efficient at runtime, so consistent use of this form where applicable helps improve performance in complex analysis scenarios.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisPerformance|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## RS1035: Do not use APIs banned for analyzers
|
||||
|
||||
The symbol has been marked as banned for use in analyzers, and an alternate should be used instead.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Error|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1036: Specify analyzer banned API enforcement setting
|
||||
|
||||
A project containing analyzers or source generators should specify the property '\<EnforceExtendedAnalyzerRules>true\</EnforceExtendedAnalyzerRules>'.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
|
||||
'DiagnosticDescriptor' assigned to field is used to report a compilation end diagnostic, but the 'DiagnosticDescriptor' constructor used to initialize it does not pass in the required custom tag "CompilationEnd". See documentation for 'WellKnownDiagnosticTags.CompilationEnd' for details.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisDesign|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS1038](https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1038.md): Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
|
||||
Types which implement compiler extension points should not be declared in assemblies that contain references to assemblies which are not provided by all compilation scenarios. Doing so may cause the feature to behave unpredictably.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
|
||||
Calling 'SemanticModel.GetDeclaredSymbol' with on certain types inheriting from 'SyntaxNode', for example 'GlobalStatementSyntax' and 'IncompleteMemberSyntax' will always return 'null'.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
|
||||
Calling 'SemanticModel.GetDeclaredSymbol' with an argument of type 'FieldDeclarationSyntax' or 'EventFieldDeclarationSyntax' will always return 'null'. Call 'GetDeclaredSymbol' with the variable declarators from the field instead.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS1041](https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1041.md): Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
|
||||
Types which implement compiler extension points should only be declared in assemblies targeting netstandard2.0. More specific target frameworks are only available in a subset of supported compilation scenarios, so targeting them may cause the feature to behave unpredictably.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1042: Implementations of this interface are not allowed
|
||||
|
||||
The author of this interface has deprecated implementing this interface.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCompatibility|
|
||||
|Enabled|True|
|
||||
|Severity|Error|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
|
||||
Using a 'file' type is not allowed for implementing analyzers, generators, or code fixers. This can break analyzer loading on some platforms.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisCorrectness|
|
||||
|Enabled|True|
|
||||
|Severity|Error|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2000](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Add analyzer diagnostic IDs to analyzer release
|
||||
|
||||
All supported analyzer diagnostic IDs should be part of an analyzer release.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## [RS2001](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
|
||||
Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
|
||||
## [RS2002](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
|
||||
Entries for analyzer diagnostic IDs that are no longer reported and never shipped can be removed from unshipped analyzer release.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2003](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file
|
||||
|
||||
Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2004](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
|
||||
Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2005](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
|
||||
Remove duplicate entries for diagnostic ID in the same analyzer release.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2006](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
|
||||
Remove duplicate entries for diagnostic ID between analyzer releases.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2007](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Invalid entry in analyzer release file
|
||||
|
||||
Invalid entry in analyzer release file.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|False|
|
||||
---
|
||||
|
||||
## [RS2008](https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md): Enable analyzer release tracking
|
||||
|
||||
Enabling release tracking for analyzer packages helps in tracking and documenting the analyzer diagnostics that ship and/or change with each analyzer release. See details at <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md>.
|
||||
|
||||
|Item|Value|
|
||||
|-|-|
|
||||
|Category|MicrosoftCodeAnalysisReleaseTracking|
|
||||
|Enabled|True|
|
||||
|Severity|Warning|
|
||||
|CodeFix|True|
|
||||
---
|
||||
1157
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/documentation/Microsoft.CodeAnalysis.Analyzers.sarif
vendored
Normal file
1157
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/documentation/Microsoft.CodeAnalysis.Analyzers.sarif
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/documentation/readme.md
vendored
Normal file
5
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/documentation/readme.md
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Microsoft.CodeAnalysis.Analyzers
|
||||
|
||||
Contains rules for correct usage of APIs from the [Microsoft.CodeAnalysis](https://www.nuget.org/packages/Microsoft.CodeAnalysis) NuGet package, i.e. .NET Compiler Platform ("Roslyn") APIs. These are primarily aimed towards helping authors of diagnostic analyzers, code fix providers and other tools built on top of Microsoft.CodeAnalysis to invoke the Microsoft.CodeAnalysis APIs in a recommended manner. This package is included as a development dependency of [Microsoft.CodeAnalysis](https://www.nuget.org/packages/Microsoft.CodeAnalysis) NuGet package, and does not need to be installed separately if you are referencing Microsoft.CodeAnalysis NuGet package.
|
||||
|
||||
[More info about rules in this package](./Microsoft.CodeAnalysis.Analyzers.md)
|
||||
164
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/AllRulesDefault/.editorconfig
vendored
Normal file
164
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/AllRulesDefault/.editorconfig
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# All Rules with default severity
|
||||
# Description: All Rules with default severity. Rules with IsEnabledByDefault = false are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = warning
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = warning
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = warning
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = warning
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = warning
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = warning
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = warning
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = error
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = warning
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = warning
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = warning
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = warning
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = warning
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = warning
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = warning
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = warning
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = warning
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = warning
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = warning
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = warning
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = warning
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = warning
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = warning
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = warning
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = warning
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = warning
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = warning
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = warning
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = warning
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = error
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = warning
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = warning
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = warning
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = warning
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = warning
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = warning
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = error
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.severity = error
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = warning
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = warning
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = warning
|
||||
|
||||
# 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 = warning
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = warning
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = warning
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = warning
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = warning
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = warning
|
||||
164
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/AllRulesDisabled/.editorconfig
vendored
Normal file
164
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/AllRulesDisabled/.editorconfig
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# All Rules Disabled
|
||||
# Description: All Rules are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
164
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/AllRulesEnabled/.editorconfig
vendored
Normal file
164
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/AllRulesEnabled/.editorconfig
vendored
Normal file
@@ -0,0 +1,164 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# All Rules Enabled as build warnings
|
||||
# Description: All Rules are enabled as build warnings. Rules with IsEnabledByDefault = false are force enabled as build warnings.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = warning
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = warning
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = warning
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = warning
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = warning
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = warning
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.severity = warning
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = warning
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = warning
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = warning
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = warning
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = warning
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = warning
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.severity = warning
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = warning
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = warning
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = warning
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = warning
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.severity = warning
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = warning
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = warning
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = warning
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = warning
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = warning
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = warning
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = warning
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = warning
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = warning
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = warning
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = warning
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = warning
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = warning
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = warning
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = warning
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = warning
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = warning
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = warning
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = warning
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = warning
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = warning
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.severity = warning
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = warning
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = warning
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = warning
|
||||
|
||||
# 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 = warning
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = warning
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = warning
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = warning
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = warning
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = warning
|
||||
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/CorrectnessRulesDefault/.editorconfig
vendored
Normal file
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/CorrectnessRulesDefault/.editorconfig
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# Correctness Rules with default severity
|
||||
# Description: All Correctness Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# Correctness Rules
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = warning
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = warning
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# 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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/CorrectnessRulesEnabled/.editorconfig
vendored
Normal file
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/CorrectnessRulesEnabled/.editorconfig
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# Correctness Rules Enabled as build warnings
|
||||
# Description: All Correctness Rules are enabled as build warnings. Correctness Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# Correctness Rules
|
||||
|
||||
# RS1010: Create code actions should have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1010.severity = warning
|
||||
|
||||
# RS1011: Use code actions that have a unique EquivalenceKey for FixAll occurrences support
|
||||
dotnet_diagnostic.RS1011.severity = warning
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# 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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/DataflowRulesDefault/.editorconfig
vendored
Normal file
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/DataflowRulesDefault/.editorconfig
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# Dataflow Rules with default severity
|
||||
# Description: All Dataflow Rules with default severity. Rules with IsEnabledByDefault = false and non-Dataflow rules are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# Dataflow Rules
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/DataflowRulesEnabled/.editorconfig
vendored
Normal file
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/DataflowRulesEnabled/.editorconfig
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# Dataflow Rules Enabled as build warnings
|
||||
# Description: All Dataflow Rules are enabled as build warnings. Dataflow Rules with IsEnabledByDefault = false are force enabled as build warning. Non-Dataflow Rules are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# Dataflow Rules
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/LibraryRulesDefault/.editorconfig
vendored
Normal file
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/LibraryRulesDefault/.editorconfig
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# Library Rules with default severity
|
||||
# Description: All Library Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# Library Rules
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# 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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/LibraryRulesEnabled/.editorconfig
vendored
Normal file
169
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/editorconfig/LibraryRulesEnabled/.editorconfig
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# Library Rules Enabled as build warnings
|
||||
# Description: All Library Rules are enabled as build warnings. Library Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# Library Rules
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# 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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisCompatibility Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisCompatibility Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisCompatibility Rules
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = error
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = error
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisCompatibility Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisCompatibility Rules are enabled as build warnings. MicrosoftCodeAnalysisCompatibility Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisCompatibility Rules
|
||||
|
||||
# RS1009: Only internal implementations of this interface are allowed
|
||||
dotnet_diagnostic.RS1009.severity = warning
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.severity = none
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisCorrectness Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisCorrectness Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisCorrectness Rules
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = warning
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = warning
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = warning
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = warning
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = warning
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = warning
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = warning
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = warning
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = warning
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = warning
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = warning
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = warning
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = error
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = warning
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = warning
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = warning
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = warning
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = warning
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.severity = error
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.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
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisCorrectness Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisCorrectness Rules are enabled as build warnings. MicrosoftCodeAnalysisCorrectness Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisCorrectness Rules
|
||||
|
||||
# RS1001: Missing diagnostic analyzer attribute
|
||||
dotnet_diagnostic.RS1001.severity = warning
|
||||
|
||||
# RS1002: Missing kind argument when registering an analyzer action
|
||||
dotnet_diagnostic.RS1002.severity = warning
|
||||
|
||||
# RS1003: Unsupported SymbolKind argument when registering a symbol analyzer action
|
||||
dotnet_diagnostic.RS1003.severity = warning
|
||||
|
||||
# RS1004: Recommend adding language support to diagnostic analyzer
|
||||
dotnet_diagnostic.RS1004.severity = warning
|
||||
|
||||
# RS1005: ReportDiagnostic invoked with an unsupported DiagnosticDescriptor
|
||||
dotnet_diagnostic.RS1005.severity = warning
|
||||
|
||||
# RS1006: Invalid type argument for DiagnosticAnalyzer's Register method
|
||||
dotnet_diagnostic.RS1006.severity = warning
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = warning
|
||||
|
||||
# RS1022: Do not use types from Workspaces assembly in an analyzer
|
||||
dotnet_diagnostic.RS1022.severity = warning
|
||||
|
||||
# RS1024: Symbols should be compared for equality
|
||||
dotnet_diagnostic.RS1024.severity = warning
|
||||
|
||||
# RS1025: Configure generated code analysis
|
||||
dotnet_diagnostic.RS1025.severity = warning
|
||||
|
||||
# RS1026: Enable concurrent execution
|
||||
dotnet_diagnostic.RS1026.severity = warning
|
||||
|
||||
# RS1027: Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer
|
||||
dotnet_diagnostic.RS1027.severity = warning
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.severity = warning
|
||||
|
||||
# RS1035: Do not use APIs banned for analyzers
|
||||
dotnet_diagnostic.RS1035.severity = warning
|
||||
|
||||
# RS1036: Specify analyzer banned API enforcement setting
|
||||
dotnet_diagnostic.RS1036.severity = warning
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = warning
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = warning
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = warning
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = warning
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = none
|
||||
|
||||
# RS1023: Upgrade MSBuildWorkspace
|
||||
dotnet_diagnostic.RS1023.severity = none
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = none
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.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
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisDesign Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisDesign Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisDesign Rules
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = warning
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = warning
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = warning
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.severity = none
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = warning
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = warning
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = warning
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = warning
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = warning
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisDesign Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisDesign Rules are enabled as build warnings. MicrosoftCodeAnalysisDesign Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisDesign Rules
|
||||
|
||||
# RS1017: DiagnosticId for analyzers must be a non-null constant
|
||||
dotnet_diagnostic.RS1017.severity = warning
|
||||
|
||||
# RS1018: DiagnosticId for analyzers must be in specified format
|
||||
dotnet_diagnostic.RS1018.severity = warning
|
||||
|
||||
# RS1019: DiagnosticId must be unique across analyzers
|
||||
dotnet_diagnostic.RS1019.severity = warning
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.severity = warning
|
||||
|
||||
# RS1021: Invalid entry in analyzer category and diagnostic ID range specification file
|
||||
dotnet_diagnostic.RS1021.severity = warning
|
||||
|
||||
# RS1029: Do not use reserved diagnostic IDs
|
||||
dotnet_diagnostic.RS1029.severity = warning
|
||||
|
||||
# RS1031: Define diagnostic title correctly
|
||||
dotnet_diagnostic.RS1031.severity = warning
|
||||
|
||||
# RS1032: Define diagnostic message correctly
|
||||
dotnet_diagnostic.RS1032.severity = warning
|
||||
|
||||
# RS1033: Define diagnostic description correctly
|
||||
dotnet_diagnostic.RS1033.severity = warning
|
||||
|
||||
# RS1037: Add "CompilationEnd" custom tag to compilation end diagnostic descriptor
|
||||
dotnet_diagnostic.RS1037.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.severity = none
|
||||
|
||||
# RS1016: Code fix providers should provide FixAll support
|
||||
dotnet_diagnostic.RS1016.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = none
|
||||
|
||||
# RS1030: Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1030.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisDocumentation Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisDocumentation Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisDocumentation Rules
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.severity = none
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = none
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisDocumentation Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisDocumentation Rules are enabled as build warnings. MicrosoftCodeAnalysisDocumentation Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisDocumentation Rules
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.severity = warning
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisLocalization Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisLocalization Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisLocalization Rules
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.severity = none
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisLocalization Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisLocalization Rules are enabled as build warnings. MicrosoftCodeAnalysisLocalization Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisLocalization Rules
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisPerformance Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisPerformance Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisPerformance Rules
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = warning
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = warning
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = warning
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# 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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisPerformance Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisPerformance Rules are enabled as build warnings. MicrosoftCodeAnalysisPerformance Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisPerformance Rules
|
||||
|
||||
# RS1008: Avoid storing per-compilation data into the fields of a diagnostic analyzer
|
||||
dotnet_diagnostic.RS1008.severity = warning
|
||||
|
||||
# RS1012: Start action has no registered actions
|
||||
dotnet_diagnostic.RS1012.severity = warning
|
||||
|
||||
# RS1013: Start action has no registered non-end actions
|
||||
dotnet_diagnostic.RS1013.severity = warning
|
||||
|
||||
# RS1034: Prefer 'IsKind' for checking syntax kinds
|
||||
dotnet_diagnostic.RS1034.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1014: Do not ignore values returned by methods on immutable objects
|
||||
dotnet_diagnostic.RS1014.severity = none
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# 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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisReleaseTracking Rules with default severity
|
||||
# Description: All MicrosoftCodeAnalysisReleaseTracking Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisReleaseTracking Rules
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = warning
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = warning
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = warning
|
||||
|
||||
# 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 = warning
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = warning
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = warning
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = warning
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = warning
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.severity = none
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# MicrosoftCodeAnalysisReleaseTracking Rules Enabled as build warnings
|
||||
# Description: All MicrosoftCodeAnalysisReleaseTracking Rules are enabled as build warnings. MicrosoftCodeAnalysisReleaseTracking Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# MicrosoftCodeAnalysisReleaseTracking Rules
|
||||
|
||||
# RS2000: Add analyzer diagnostic IDs to analyzer release
|
||||
dotnet_diagnostic.RS2000.severity = warning
|
||||
|
||||
# RS2001: Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release
|
||||
dotnet_diagnostic.RS2001.severity = warning
|
||||
|
||||
# RS2002: Do not add removed analyzer diagnostic IDs to unshipped analyzer release
|
||||
dotnet_diagnostic.RS2002.severity = warning
|
||||
|
||||
# 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 = warning
|
||||
|
||||
# RS2004: Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers
|
||||
dotnet_diagnostic.RS2004.severity = warning
|
||||
|
||||
# RS2005: Remove duplicate entries for diagnostic ID in the same analyzer release
|
||||
dotnet_diagnostic.RS2005.severity = warning
|
||||
|
||||
# RS2006: Remove duplicate entries for diagnostic ID between analyzer releases
|
||||
dotnet_diagnostic.RS2006.severity = warning
|
||||
|
||||
# RS2007: Invalid entry in analyzer release file
|
||||
dotnet_diagnostic.RS2007.severity = warning
|
||||
|
||||
# RS2008: Enable analyzer release tracking
|
||||
dotnet_diagnostic.RS2008.severity = warning
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.severity = none
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# PortedFromFxCop Rules with default severity
|
||||
# Description: All PortedFromFxCop Rules with default severity. Rules with IsEnabledByDefault = false and non-PortedFromFxCop rules are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# PortedFromFxCop Rules
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
@@ -0,0 +1,169 @@
|
||||
# NOTE: Requires **VS2019 16.3** or later
|
||||
|
||||
# PortedFromFxCop Rules Enabled as build warnings
|
||||
# Description: All PortedFromFxCop Rules are enabled as build warnings. PortedFromFxCop Rules with IsEnabledByDefault = false are force enabled as build warning. Non-PortedFromFxCop Rules are disabled.
|
||||
|
||||
# Code files
|
||||
[*.{cs,vb}]
|
||||
|
||||
# PortedFromFxCop Rules
|
||||
|
||||
|
||||
|
||||
# Other Rules
|
||||
|
||||
# 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
|
||||
|
||||
# RS1007: Provide localizable arguments to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1007.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
|
||||
|
||||
# RS1015: Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1015.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
|
||||
|
||||
# RS1020: Category for analyzers must be from the specified values
|
||||
dotnet_diagnostic.RS1020.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
|
||||
|
||||
# RS1028: Provide non-null 'customTags' value to diagnostic descriptor constructor
|
||||
dotnet_diagnostic.RS1028.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
|
||||
|
||||
# RS1038: Compiler extensions should be implemented in assemblies with compiler-provided references
|
||||
dotnet_diagnostic.RS1038.severity = none
|
||||
|
||||
# RS1039: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1039.severity = none
|
||||
|
||||
# RS1040: This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
|
||||
dotnet_diagnostic.RS1040.severity = none
|
||||
|
||||
# RS1041: Compiler extensions should be implemented in assemblies targeting netstandard2.0
|
||||
dotnet_diagnostic.RS1041.severity = none
|
||||
|
||||
# RS1042: Implementations of this interface are not allowed
|
||||
dotnet_diagnostic.RS1042.severity = none
|
||||
|
||||
# RS1043: Do not use file types for implementing analyzers, generators, and code fixers
|
||||
dotnet_diagnostic.RS1043.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
|
||||
57
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/AllRulesDefault.ruleset
vendored
Normal file
57
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/AllRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="All Rules with default severity" Description="All Rules with default severity. Rules with IsEnabledByDefault = false are disabled." ToolsVersion="15.0">
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="Error" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="Error" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="Error" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="Error" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
57
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/AllRulesDisabled.ruleset
vendored
Normal file
57
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/AllRulesDisabled.ruleset
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="All Rules Disabled" Description="All Rules are disabled." ToolsVersion="15.0">
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
57
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/AllRulesEnabled.ruleset
vendored
Normal file
57
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/AllRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="All Rules Enabled as build warnings" Description="All Rules are enabled as build warnings. Rules with IsEnabledByDefault = false are force enabled as build warnings." ToolsVersion="15.0">
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="Warning" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="Warning" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="Warning" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="Warning" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="Warning" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="Warning" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="Warning" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="Warning" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/CorrectnessRulesDefault.ruleset
vendored
Normal file
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/CorrectnessRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Correctness Rules with default severity" Description="All Correctness Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Correctness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/CorrectnessRulesEnabled.ruleset
vendored
Normal file
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/CorrectnessRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Correctness Rules Enabled as build warnings" Description="All Correctness Rules are enabled as build warnings. Correctness Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Correctness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1010" Action="Warning" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="Warning" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1016" Action="Warning" /> <!-- Code fix providers should provide FixAll support -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/DataflowRulesDefault.ruleset
vendored
Normal file
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/DataflowRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Dataflow Rules with default severity" Description="All Dataflow Rules with default severity. Rules with IsEnabledByDefault = false and non-Dataflow rules are disabled." ToolsVersion="15.0">
|
||||
<!-- Dataflow Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/DataflowRulesEnabled.ruleset
vendored
Normal file
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/DataflowRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Dataflow Rules Enabled as build warnings" Description="All Dataflow Rules are enabled as build warnings. Dataflow Rules with IsEnabledByDefault = false are force enabled as build warning. Non-Dataflow Rules are disabled." ToolsVersion="15.0">
|
||||
<!-- Dataflow Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/LibraryRulesDefault.ruleset
vendored
Normal file
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/LibraryRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Library Rules with default severity" Description="All Library Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Library Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/LibraryRulesEnabled.ruleset
vendored
Normal file
64
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/LibraryRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="Library Rules Enabled as build warnings" Description="All Library Rules are enabled as build warnings. Library Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- Library Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1023" Action="Warning" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCompatibility Rules with default severity" Description="All MicrosoftCodeAnalysisCompatibility Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCompatibility Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1009" Action="Error" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1042" Action="Error" /> <!-- Implementations of this interface are not allowed -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCompatibility Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisCompatibility Rules are enabled as build warnings. MicrosoftCodeAnalysisCompatibility Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCompatibility Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1009" Action="Warning" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1042" Action="Warning" /> <!-- Implementations of this interface are not allowed -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCorrectness Rules with default severity" Description="All MicrosoftCodeAnalysisCorrectness Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCorrectness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1035" Action="Error" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1038" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1043" Action="Error" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisCorrectness Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisCorrectness Rules are enabled as build warnings. MicrosoftCodeAnalysisCorrectness Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisCorrectness Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="Warning" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="Warning" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="Warning" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="Warning" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="Warning" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="Warning" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1014" Action="Warning" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1022" Action="Warning" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1024" Action="Warning" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="Warning" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="Warning" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="Warning" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1030" Action="Warning" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1035" Action="Warning" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="Warning" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1038" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="Warning" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="Warning" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1043" Action="Warning" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDesign Rules with default severity" Description="All MicrosoftCodeAnalysisDesign Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDesign Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDesign Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisDesign Rules are enabled as build warnings. MicrosoftCodeAnalysisDesign Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDesign Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1017" Action="Warning" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="Warning" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="Warning" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="Warning" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="Warning" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1029" Action="Warning" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1031" Action="Warning" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="Warning" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="Warning" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1037" Action="Warning" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDocumentation Rules with default severity" Description="All MicrosoftCodeAnalysisDocumentation Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDocumentation Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisDocumentation Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisDocumentation Rules are enabled as build warnings. MicrosoftCodeAnalysisDocumentation Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisDocumentation Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1015" Action="Warning" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1028" Action="Warning" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisLocalization Rules with default severity" Description="All MicrosoftCodeAnalysisLocalization Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisLocalization Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisLocalization Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisLocalization Rules are enabled as build warnings. MicrosoftCodeAnalysisLocalization Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisLocalization Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1007" Action="Warning" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisPerformance Rules with default severity" Description="All MicrosoftCodeAnalysisPerformance Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisPerformance Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisPerformance Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisPerformance Rules are enabled as build warnings. MicrosoftCodeAnalysisPerformance Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisPerformance Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1008" Action="Warning" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1012" Action="Warning" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="Warning" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1034" Action="Warning" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisReleaseTracking Rules with default severity" Description="All MicrosoftCodeAnalysisReleaseTracking Rules with default severity. Rules with IsEnabledByDefault = false or from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisReleaseTracking Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="MicrosoftCodeAnalysisReleaseTracking Rules Enabled as build warnings" Description="All MicrosoftCodeAnalysisReleaseTracking Rules are enabled as build warnings. MicrosoftCodeAnalysisReleaseTracking Rules with IsEnabledByDefault = false are force enabled as build warnings. Rules from a different category are disabled." ToolsVersion="15.0">
|
||||
<!-- MicrosoftCodeAnalysisReleaseTracking Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS2000" Action="Warning" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="Warning" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="Warning" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="Warning" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="Warning" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="Warning" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="Warning" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="Warning" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/PortedFromFxCopRulesDefault.ruleset
vendored
Normal file
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/PortedFromFxCopRulesDefault.ruleset
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="PortedFromFxCop Rules with default severity" Description="All PortedFromFxCop Rules with default severity. Rules with IsEnabledByDefault = false and non-PortedFromFxCop rules are disabled." ToolsVersion="15.0">
|
||||
<!-- PortedFromFxCop Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/PortedFromFxCopRulesEnabled.ruleset
vendored
Normal file
62
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/rulesets/PortedFromFxCopRulesEnabled.ruleset
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0"?>
|
||||
<RuleSet Name="PortedFromFxCop Rules Enabled as build warnings" Description="All PortedFromFxCop Rules are enabled as build warnings. PortedFromFxCop Rules with IsEnabledByDefault = false are force enabled as build warning. Non-PortedFromFxCop Rules are disabled." ToolsVersion="15.0">
|
||||
<!-- PortedFromFxCop Rules -->
|
||||
|
||||
|
||||
|
||||
<!-- Other Rules -->
|
||||
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
|
||||
<Rule Id="RS1001" Action="None" /> <!-- Missing diagnostic analyzer attribute -->
|
||||
<Rule Id="RS1002" Action="None" /> <!-- Missing kind argument when registering an analyzer action -->
|
||||
<Rule Id="RS1003" Action="None" /> <!-- Unsupported SymbolKind argument when registering a symbol analyzer action -->
|
||||
<Rule Id="RS1004" Action="None" /> <!-- Recommend adding language support to diagnostic analyzer -->
|
||||
<Rule Id="RS1005" Action="None" /> <!-- ReportDiagnostic invoked with an unsupported DiagnosticDescriptor -->
|
||||
<Rule Id="RS1006" Action="None" /> <!-- Invalid type argument for DiagnosticAnalyzer's Register method -->
|
||||
<Rule Id="RS1007" Action="None" /> <!-- Provide localizable arguments to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1008" Action="None" /> <!-- Avoid storing per-compilation data into the fields of a diagnostic analyzer -->
|
||||
<Rule Id="RS1009" Action="None" /> <!-- Only internal implementations of this interface are allowed -->
|
||||
<Rule Id="RS1010" Action="None" /> <!-- Create code actions should have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1011" Action="None" /> <!-- Use code actions that have a unique EquivalenceKey for FixAll occurrences support -->
|
||||
<Rule Id="RS1012" Action="None" /> <!-- Start action has no registered actions -->
|
||||
<Rule Id="RS1013" Action="None" /> <!-- Start action has no registered non-end actions -->
|
||||
<Rule Id="RS1014" Action="None" /> <!-- Do not ignore values returned by methods on immutable objects -->
|
||||
<Rule Id="RS1015" Action="None" /> <!-- Provide non-null 'helpLinkUri' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1016" Action="None" /> <!-- Code fix providers should provide FixAll support -->
|
||||
<Rule Id="RS1017" Action="None" /> <!-- DiagnosticId for analyzers must be a non-null constant -->
|
||||
<Rule Id="RS1018" Action="None" /> <!-- DiagnosticId for analyzers must be in specified format -->
|
||||
<Rule Id="RS1019" Action="None" /> <!-- DiagnosticId must be unique across analyzers -->
|
||||
<Rule Id="RS1020" Action="None" /> <!-- Category for analyzers must be from the specified values -->
|
||||
<Rule Id="RS1021" Action="None" /> <!-- Invalid entry in analyzer category and diagnostic ID range specification file -->
|
||||
<Rule Id="RS1022" Action="None" /> <!-- Do not use types from Workspaces assembly in an analyzer -->
|
||||
<Rule Id="RS1023" Action="None" /> <!-- Upgrade MSBuildWorkspace -->
|
||||
<Rule Id="RS1024" Action="None" /> <!-- Symbols should be compared for equality -->
|
||||
<Rule Id="RS1025" Action="None" /> <!-- Configure generated code analysis -->
|
||||
<Rule Id="RS1026" Action="None" /> <!-- Enable concurrent execution -->
|
||||
<Rule Id="RS1027" Action="None" /> <!-- Types marked with DiagnosticAnalyzerAttribute(s) should inherit from DiagnosticAnalyzer -->
|
||||
<Rule Id="RS1028" Action="None" /> <!-- Provide non-null 'customTags' value to diagnostic descriptor constructor -->
|
||||
<Rule Id="RS1029" Action="None" /> <!-- Do not use reserved diagnostic IDs -->
|
||||
<Rule Id="RS1030" Action="None" /> <!-- Do not invoke Compilation.GetSemanticModel() method within a diagnostic analyzer -->
|
||||
<Rule Id="RS1031" Action="None" /> <!-- Define diagnostic title correctly -->
|
||||
<Rule Id="RS1032" Action="None" /> <!-- Define diagnostic message correctly -->
|
||||
<Rule Id="RS1033" Action="None" /> <!-- Define diagnostic description correctly -->
|
||||
<Rule Id="RS1034" Action="None" /> <!-- Prefer 'IsKind' for checking syntax kinds -->
|
||||
<Rule Id="RS1035" Action="None" /> <!-- Do not use APIs banned for analyzers -->
|
||||
<Rule Id="RS1036" Action="None" /> <!-- Specify analyzer banned API enforcement setting -->
|
||||
<Rule Id="RS1037" Action="None" /> <!-- Add "CompilationEnd" custom tag to compilation end diagnostic descriptor -->
|
||||
<Rule Id="RS1038" Action="None" /> <!-- Compiler extensions should be implemented in assemblies with compiler-provided references -->
|
||||
<Rule Id="RS1039" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1040" Action="None" /> <!-- This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' -->
|
||||
<Rule Id="RS1041" Action="None" /> <!-- Compiler extensions should be implemented in assemblies targeting netstandard2.0 -->
|
||||
<Rule Id="RS1042" Action="None" /> <!-- Implementations of this interface are not allowed -->
|
||||
<Rule Id="RS1043" Action="None" /> <!-- Do not use file types for implementing analyzers, generators, and code fixers -->
|
||||
<Rule Id="RS2000" Action="None" /> <!-- Add analyzer diagnostic IDs to analyzer release -->
|
||||
<Rule Id="RS2001" Action="None" /> <!-- Ensure up-to-date entry for analyzer diagnostic IDs are added to analyzer release -->
|
||||
<Rule Id="RS2002" Action="None" /> <!-- Do not add removed analyzer diagnostic IDs to unshipped analyzer release -->
|
||||
<Rule Id="RS2003" Action="None" /> <!-- Shipped diagnostic IDs that are no longer reported should have an entry in the 'Removed Rules' table in unshipped file -->
|
||||
<Rule Id="RS2004" Action="None" /> <!-- Diagnostic IDs marked as removed in analyzer release file should not be reported by analyzers -->
|
||||
<Rule Id="RS2005" Action="None" /> <!-- Remove duplicate entries for diagnostic ID in the same analyzer release -->
|
||||
<Rule Id="RS2006" Action="None" /> <!-- Remove duplicate entries for diagnostic ID between analyzer releases -->
|
||||
<Rule Id="RS2007" Action="None" /> <!-- Invalid entry in analyzer release file -->
|
||||
<Rule Id="RS2008" Action="None" /> <!-- Enable analyzer release tracking -->
|
||||
</Rules>
|
||||
</RuleSet>
|
||||
277
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/tools/install.ps1
vendored
Normal file
277
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/tools/install.ps1
vendored
Normal file
@@ -0,0 +1,277 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$analyzersDir = Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers"
|
||||
if (-Not (Test-Path $analyzersDir))
|
||||
{
|
||||
return
|
||||
}
|
||||
|
||||
$analyzersPaths = Join-Path ( $analyzersDir ) * -Resolve
|
||||
|
||||
foreach($analyzersPath in $analyzersPaths)
|
||||
{
|
||||
# Install the language agnostic analyzers.
|
||||
if (Test-Path $analyzersPath)
|
||||
{
|
||||
foreach ($analyzerFilePath in Get-ChildItem $analyzersPath -Filter *.dll)
|
||||
{
|
||||
if($project.Object.AnalyzerReferences)
|
||||
{
|
||||
$project.Object.AnalyzerReferences.Add($analyzerFilePath.FullName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# $project.Type gives the language name like (C# or VB.NET)
|
||||
$languageFolder = ""
|
||||
if($project.Type -eq "C#")
|
||||
{
|
||||
$languageFolder = "cs"
|
||||
}
|
||||
if($project.Type -eq "VB.NET")
|
||||
{
|
||||
$languageFolder = "vb"
|
||||
}
|
||||
if($languageFolder -eq "")
|
||||
{
|
||||
return
|
||||
}
|
||||
|
||||
foreach($analyzersPath in $analyzersPaths)
|
||||
{
|
||||
# Install language specific analyzers.
|
||||
$languageAnalyzersPath = join-path $analyzersPath $languageFolder
|
||||
if (Test-Path $languageAnalyzersPath)
|
||||
{
|
||||
foreach ($analyzerFilePath in Get-ChildItem $languageAnalyzersPath -Filter *.dll)
|
||||
{
|
||||
if($project.Object.AnalyzerReferences)
|
||||
{
|
||||
$project.Object.AnalyzerReferences.Add($analyzerFilePath.FullName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# SIG # Begin signature block
|
||||
# MIIpMgYJKoZIhvcNAQcCoIIpIzCCKR8CAQExDzANBglghkgBZQMEAgEFADB5Bgor
|
||||
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
|
||||
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCh1voBODYpfCet
|
||||
# zwmmor0XvG3ngI9/l8E/7NCzPBjyWaCCDeUwggZjMIIES6ADAgECAhMzAAAEQBT8
|
||||
# C+g+8SRfAAAAAARAMA0GCSqGSIb3DQEBDAUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
|
||||
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
|
||||
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
|
||||
# bmcgUENBIDIwMTEwHhcNMjQxMTE5MTk1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DgYDVQQH
|
||||
# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV
|
||||
# BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMA0GCSqGSIb3DQEBCwUA
|
||||
# AgUA68z9+zAiGA8yMDI1MDUxMjIzMDg0M1oYDzIwMjUwNTEzMjMwODQzWjB0MDoG
|
||||
# CisGAQQBhFkKBAExLDAqMAoCBQDrzP37AgEAMAcCAQACAicMMAcCAQACAhLxMAoC
|
||||
# BQDrzk97AgEAMDYGCisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEA
|
||||
# AgMHoSChCjAIAgEAAgMBhqAwDQYJKoZIhvcNAQELBQADggEBAFSFBwGALLd6EA9P
|
||||
# gW/M6cyEMnHjzDf7WfpdRR6l7yP2fgPXRHuK8OkPggFWrIfv3sZqElW96m87MmYJ
|
||||
# mhtEIQAY2XTLVZx8mqWwZwabEtPehUqk8d7KRh9v/3ysWNceoQ92U4VfiI06yZsA
|
||||
# +LU7Rcc+K4CGTRMo2rDGGuGSVMyNSInAxayfAMWWaKFiPvwMf7KorQLSTI6pqq00
|
||||
# heui1T7VH2mdEpJ/855KSmhs5f046mgtDw01NwO9yomC25n0BQP9pFMrz3BymQpE
|
||||
# xswBA+wuqA6O2mBmNB9bp9eSpLaxDCuABssmDk9rn8vUYK/f2/wWNzomjNr8qZPR
|
||||
# LNQukgAxggQNMIIECQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz
|
||||
# aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv
|
||||
# cnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAx
|
||||
# MAITMwAAAfijoSYMDEBI/gABAAAB+DANBglghkgBZQMEAgEFAKCCAUowGgYJKoZI
|
||||
# h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/BuqPwC2ZJHx5VuXX8rAQ06Q+e2dDWkoDIcOGmw9Ugk0+tcB7gCYtLQ14buC
|
||||
# URP8/hsVTRUJ3U9frGe9nxtTublLZKMvSxfQs2Ad/SKQ+W5QnJDrxeVVmVBlwDlt
|
||||
# 7O+3BP93CGWxLJ0QPQxDzzvsjI1IhEStibb3GSsPVmMZcHwXpxc=
|
||||
# SIG # End signature block
|
||||
284
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/tools/uninstall.ps1
vendored
Normal file
284
packages/Microsoft.CodeAnalysis.Analyzers.4.14.0/tools/uninstall.ps1
vendored
Normal file
@@ -0,0 +1,284 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$analyzersDir = Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers"
|
||||
if (-Not (Test-Path $analyzersDir))
|
||||
{
|
||||
return
|
||||
}
|
||||
|
||||
$analyzersPaths = Join-Path ( $analyzersDir ) * -Resolve
|
||||
|
||||
foreach($analyzersPath in $analyzersPaths)
|
||||
{
|
||||
# Uninstall the language agnostic analyzers.
|
||||
if (Test-Path $analyzersPath)
|
||||
{
|
||||
foreach ($analyzerFilePath in Get-ChildItem $analyzersPath -Filter *.dll)
|
||||
{
|
||||
if($project.Object.AnalyzerReferences)
|
||||
{
|
||||
$project.Object.AnalyzerReferences.Remove($analyzerFilePath.FullName)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# $project.Type gives the language name like (C# or VB.NET)
|
||||
$languageFolder = ""
|
||||
if($project.Type -eq "C#")
|
||||
{
|
||||
$languageFolder = "cs"
|
||||
}
|
||||
if($project.Type -eq "VB.NET")
|
||||
{
|
||||
$languageFolder = "vb"
|
||||
}
|
||||
if($languageFolder -eq "")
|
||||
{
|
||||
return
|
||||
}
|
||||
|
||||
foreach($analyzersPath in $analyzersPaths)
|
||||
{
|
||||
# Uninstall language specific analyzers.
|
||||
$languageAnalyzersPath = join-path $analyzersPath $languageFolder
|
||||
if (Test-Path $languageAnalyzersPath)
|
||||
{
|
||||
foreach ($analyzerFilePath in Get-ChildItem $languageAnalyzersPath -Filter *.dll)
|
||||
{
|
||||
if($project.Object.AnalyzerReferences)
|
||||
{
|
||||
try
|
||||
{
|
||||
$project.Object.AnalyzerReferences.Remove($analyzerFilePath.FullName)
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# SIG # Begin signature block
|
||||
# MIIpNQYJKoZIhvcNAQcCoIIpJjCCKSICAQExDzANBglghkgBZQMEAgEFADB5Bgor
|
||||
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
|
||||
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCB5mT/HBF+ApGFF
|
||||
# NurlQsK+/gKFs6a98ziX+/GaLDsVJqCCDeUwggZjMIIES6ADAgECAhMzAAAEQBT8
|
||||
# C+g+8SRfAAAAAARAMA0GCSqGSIb3DQEBDAUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
|
||||
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy
|
||||
# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p
|
||||
# bmcgUENBIDIwMTEwHhcNMjQxMTE5MTk1MTAwWhcNMjUxMTEyMTk1MTAwWjBjMQsw
|
||||
# CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u
|
||||
# ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMQ0wCwYDVQQDEwQuTkVU
|
||||
# MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAwp5dioSFpA9DhkKd9OXW
|
||||
# VboA9VIKhu8EWRl+qwi+1rSn9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jl
|
||||
# ZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMd
|
||||
# TWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAH6+ztE03czxtMAAQAA
|
||||
# AfowIgQgpy543/3t1ssZah42itCDky7QGU78+5gvMWRSCSOpDDkwDQYJKoZIhvcN
|
||||
# AQELBQAEggIAjjIGe+M69UUGEEswmgXWpbNU0Ai6dh50wijcEhtaAyz/UsY7Q8zE
|
||||
# Kf67Dfb4Sh2OhucjeEPHldmvfJig4q50eUfNimFolrlqvkIRKwHr9Dw+QPHtGW3L
|
||||
# 2C4drbZWwBCOOqjNxxdOCH2zf8Tm9m6McRPyQkmcRq/dQw7a8AfRUk0C+pXIOVpf
|
||||
# OT/S28BMJegwGOYJPDwHNVaOl3hzr4L3X9of8FrajJ83tjBqzavrz5XXZ3orY/zK
|
||||
# mRuDOjB0lfa4vAbg1x/ifirF3siSFdl12QEn1A3pRSu6ZDdnc2kpZb3KfhmUV1lx
|
||||
# 0MhM35Zl6NuASGaeH2L/fqP4jKo8RJRs/sHISaNhpm7tqi05CaY5fVzHOjukXTs+
|
||||
# DJGaSDog9EfpUn04pNR7CD21peNsDzM9ZTAn2QIrnOZRYhP3104KnfkhZVupDgs9
|
||||
# 6VP+R3JUXYgOlEi14+Jk1xAPrLympgxfV94jKLDPCi2bjhCRfOo+yhZA6hSbh6BZ
|
||||
# UKjMovNLxXnPdz2glIOXWET7sexWaniA4n4rPtfShMKYpF3OTzOnhs5iuwwF/N1r
|
||||
# 2At9/Pb0AgnSni6PSdClzokOfNjTs7NvUPEwkKu+lAsN1nk8auhj3DMW4aVLV34J
|
||||
# TdM4HTNF1K4gMCsdKhK8SCHELrnG0D0QOJ2tQPQARuYoVwu3zqTBNmA=
|
||||
# SIG # End signature block
|
||||
Reference in New Issue
Block a user