ExhaustiveMatching.Analyzer 0.5.0

Install-Package ExhaustiveMatching.Analyzer -Version 0.5.0
dotnet add package ExhaustiveMatching.Analyzer --version 0.5.0
<PackageReference Include="ExhaustiveMatching.Analyzer" Version="0.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExhaustiveMatching.Analyzer --version 0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ExhaustiveMatching.Analyzer, 0.5.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ExhaustiveMatching.Analyzer as a Cake Addin
#addin nuget:?package=ExhaustiveMatching.Analyzer&version=0.5.0

// Install ExhaustiveMatching.Analyzer as a Cake Tool
#tool nuget:?package=ExhaustiveMatching.Analyzer&version=0.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ExhaustiveMatching.Analyzer adds exhaustive matching to C# switch statements and expressions.

Get compiler errors for missing cases in a switch statement or expression. Mark which switches should have exhaustiveness checking by throwing an exception in the default case. Exhaustiveness checking works not just for enums, but for classes and interfaces. Turn them into discriminated unions (aka sum types) by marking them with the 'Closed' attribute and listing the cases. ExhaustiveMatching.Analyzer goes beyond what other languages support by handling full inheritance hierarchies.

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ExhaustiveMatching.Analyzer:

Package Downloads

A parser for the Prometheus Query Language (PromQL).


This library adds Database effect to the LanguageExt library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.0 59,735 5/26/2020
0.4.0 3,930 11/4/2019
0.3.2 278 11/2/2019
0.3.1 278 9/30/2019
0.3.0 326 9/29/2019
0.2.2 286 9/18/2019
0.2.1 286 9/17/2019
0.2.0 271 9/15/2019
0.1.2 279 9/15/2019
0.1.1 270 9/15/2019
0.1.0 306 9/15/2019