SwitchAnalyzer 0.6.9
See the version list below for details.
dotnet add package SwitchAnalyzer --version 0.6.9
NuGet\Install-Package SwitchAnalyzer -Version 0.6.9
<PackageReference Include="SwitchAnalyzer" Version="0.6.9" />
paket add SwitchAnalyzer --version 0.6.9
#r "nuget: SwitchAnalyzer, 0.6.9"
// Install SwitchAnalyzer as a Cake Addin #addin nuget:?package=SwitchAnalyzer&version=0.6.9 // Install SwitchAnalyzer as a Cake Tool #tool nuget:?package=SwitchAnalyzer&version=0.6.9
Check that switch statement covers all cases for enumerations, all Interface implementations or base class inheritors.
Additional rule to check - switch statement doesn't have "default" branch or this branch throws exception.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 1.3
- CleanCode.NET.Common (>= 1.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on SwitchAnalyzer:
Package | Downloads |
---|---|
CleanCodeNet
Metapackage that includes analyzers to improve code correctness. Not affiliated with Bob Martin. |
|
Z0ne.Assertions
Debug Assertions to allow more easy assertions |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on SwitchAnalyzer:
Repository | Stars |
---|---|
dadhi/ImTools
Fast and memory-efficient immutable collections and helper data structures
|
Version | Downloads | Last updated |
---|---|---|
0.6.10 | 80,043 | 7/24/2019 |
0.6.9 | 832 | 7/19/2019 |
0.6.8 | 10,926 | 9/17/2018 |
0.6.7 | 1,103 | 9/12/2018 |
0.6.6 | 1,198 | 8/9/2018 |
0.6.5 | 905 | 8/8/2018 |
0.6.4 | 995 | 8/8/2018 |
0.6.3 | 848 | 8/8/2018 |
0.6.2 | 832 | 8/8/2018 |
0.6.1 | 816 | 8/7/2018 |
0.6.0 | 832 | 8/7/2018 |
0.5.0 | 970 | 7/7/2018 |
0.4.0 | 1,668 | 6/20/2018 |
0.3.0 | 941 | 6/11/2018 |
0.2.0 | 1,021 | 6/10/2018 |
Align diagnostics id with other packages.