-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathExhaustiveMatching.Analyzer.nuspec
33 lines (32 loc) · 1.85 KB
/
ExhaustiveMatching.Analyzer.nuspec
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
27
28
29
30
31
32
33
<?xml version="1.0"?>
<package>
<metadata>
<id>ExhaustiveMatching.Analyzer</id>
<version>0.5.0</version>
<authors>Jeff Walker</authors>
<owners>Jeff Walker</owners>
<license type="expression">BSD-3-Clause</license>
<projectUrl>https://github.com/WalkerCodeRanger/ExhaustiveMatching</projectUrl>
<repository type="git" url="https://github.com/WalkerCodeRanger/ExhaustiveMatching.git" />
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
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.
</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2019 Jeff Walker</copyright>
<tags>analyzers, switch, exhaustive, match, discriminated, union, sum-type</tags>
</metadata>
<files>
<file src="ExhaustiveMatching/bin/Release/netstandard2.0/ExhaustiveMatching.dll" target="lib/netstandard2.0" />
<file src="ExhaustiveMatching/bin/Release/netstandard2.0/ExhaustiveMatching.pdb" target="lib/netstandard2.0" />
<file src="ExhaustiveMatching.Analyzer/bin/Release/netstandard2.0/ExhaustiveMatching.Analyzer.dll" target="analyzers/netstandard2.0/cs" />
<file src="ExhaustiveMatching.Analyzer/tools/install.ps1" target="tools" />
<file src="ExhaustiveMatching.Analyzer/tools/uninstall.ps1" target="tools" />
</files>
</package>