Update to .NET Core 3.1 and apply Roslyn suggestions

This commit is contained in:
2020-07-18 16:41:01 +00:00
parent e893299224
commit de0d6cdc82
20 changed files with 169 additions and 102 deletions

34
ChrisKaczor.ruleset Normal file
View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This rule set can be used to:
1) Enable/disable analyzer(s) by DEFAULT.
2) Change DEFAULT severity (action) of the analyzer(s).
Default configuration is applied once when analyzers are loaded.
Therefore, it may be neccessary to restart IDE for changes to take effect.
Although it is possible to edit ruleset manually, Visual Studio has built-in support for editing ruleset.
Just add ruleset file to a solution and open it.
-->
<RuleSet Name="ChrisKaczor.ruleset" ToolsVersion="16.0">
<!-- Specify default action that should be applied to all analyzers except those explicitly specified. -->
<!-- <IncludeAll Action="None,Hidden,Info,Warning,Error" /> -->
<!-- Specify zero or more paths to other rulesets that should be included. -->
<!-- <Include Path="" Action="Default,None,Hidden,Info,Warning,Error" /> -->
<Rules AnalyzerId="Roslynator.CSharp.Analyzers" RuleNamespace="Roslynator.CSharp.Analyzers">
<!-- Specify default action that should be applied to a specified analyzer. -->
<!-- <Rule Id="RCS...." Action="None,Hidden,Info,Warning,Error" /> -->
<Rule Id="RCS1090" Action="None" />
<Rule Id="RCS1123" Action="None" />
<Rule Id="IDE0066" Action="None" />
</Rules>
</RuleSet>