-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBenchmarkDemo.ruleset
More file actions
26 lines (26 loc) · 2.73 KB
/
Copy pathBenchmarkDemo.ruleset
File metadata and controls
26 lines (26 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Rules for StyleCop.Analyzers" Description="Code analysis rules for projects with production code" ToolsVersion="15.0">
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA0001" Action="None" Description="All diagnostics of XML documentation comments has been disabled due to the current project configuration."/>
<Rule Id="SA1027" Action="None" Description="The C# code contains a tab character." />
<Rule Id="SA1101" Action="None" Description="A call to an instance member of the local class or a base class is not prefixed with ‘this.’, within a C# code file." />
<Rule Id="SA1117" Action="None" Description="The parameters to a C# method or indexer call or declaration are not all on the same line or each on a separate line." />
<Rule Id="SA1121" Action="None" Description="The code uses one of the basic C# types, but does not use the built-in alias for the type." />
<Rule Id="SA1200" Action="None" Description="A C# using directive is placed outside of a namespace element."/>
<Rule Id="SA1201" Action="None" Description="An element within a C# code file is out of order in relation to the other elements in the code." />
<Rule Id="SA1202" Action="None" Description="An element within a C# code file is out of order within regard to access level, in relation to other elements in the code."/>
<Rule Id="SA1204" Action="None" Description="A static element is positioned beneath an instance element of the same type." />
<Rule Id="SA1600" Action="None" Description="A C# code element is missing a documentation header."/>
<Rule Id="SA1601" Action="None" Description="A C# partial element is missing a documentation header."/>
<Rule Id="SA1602" Action="None" Description="An item within a C# enumeration is missing an Xml documentation header.."/>
<Rule Id="SA1633" Action="None" Description="A C# code file is missing a standard file header."/>
<Rule Id="SA1652" Action="None" Description="All diagnostics of XML documentation comments has been disabled due to the current project configuration."/>
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.FxCopAnalyzers" RuleNamespace="Microsoft.CodeAnalysis.FxCopAnalyzers">
<Rule Id="CA1062" Action="None" Description="Validate arguments of public methods."/>
<Rule Id="CA1303" Action="None" Description="Do not pass literals as localized parameters."/>
<Rule Id="CA1720" Action="None" Description="Identifiers should not contain type names."/>
<Rule Id="CA1819" Action="None" Description="Properties should not return arrays."/>
<Rule Id="CA2007" Action="None" Description="Do not directly await a Task without calling ConfigureAwait."/>
</Rules>
</RuleSet>