Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.0% on nuget.org
Top 2.2% downloads on nuget.org
Top 2.9% dependent packages on nuget.org
Top 2.9% dependent repos on nuget.org
Top 7.9% forks on nuget.org

nuget.org : exhaustivematching.analyzer

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.

Registry - Homepage - JSON
purl: pkg:nuget/exhaustivematching.analyzer
Keywords: analyzers, switch, exhaustive, match, discriminated, union, sum-type, csharp-library, discriminated-unions, exhaustiveness-checking, nuget-package, roslyn-analyzer
License: BSD-3-Clause
Latest release: about 4 years ago
First release: over 4 years ago
Dependent packages: 5
Dependent repositories: 6
Downloads: 345,837 total
Stars: 68 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 days ago

    Loading...
    Readme
    Loading...