RuntimeContracts.Analyzer
0.2.1
See the version list below for details.
dotnet add package RuntimeContracts.Analyzer --version 0.2.1
NuGet\Install-Package RuntimeContracts.Analyzer -Version 0.2.1
<PackageReference Include="RuntimeContracts.Analyzer" Version="0.2.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="RuntimeContracts.Analyzer" Version="0.2.1" />
<PackageReference Include="RuntimeContracts.Analyzer"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add RuntimeContracts.Analyzer --version 0.2.1
#r "nuget: RuntimeContracts.Analyzer, 0.2.1"
#:package RuntimeContracts.Analyzer@0.2.1
#addin nuget:?package=RuntimeContracts.Analyzer&version=0.2.1
#tool nuget:?package=RuntimeContracts.Analyzer&version=0.2.1
Set of roslyn-based analyzers for RuntimeContracts library.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RuntimeContracts.Analyzer:
| Package | Downloads |
|---|---|
|
RuntimeContracts
Lightweight runtime-only library for contract validation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.3 | 51,444 | 11/10/2022 |
| 0.4.2 | 531 | 11/9/2022 |
| 0.4.1 | 554 | 11/8/2022 |
| 0.4.0 | 12,164 | 11/6/2022 |
| 0.3.2 | 27,885 | 1/29/2021 |
| 0.3.0 | 644,356 | 3/25/2020 |
| 0.2.1 | 866 | 3/17/2020 |
| 0.2.0 | 677 | 3/17/2020 |
| 0.1.11 | 752 | 3/6/2020 |
| 0.1.10 | 1,139 | 3/3/2020 |
| 0.1.9.4 | 3,974 | 10/22/2019 |
| 0.1.9.2 | 713 | 10/21/2019 |
| 0.1.9.1 | 682 | 10/21/2019 |
| 0.1.9 | 686 | 10/21/2019 |
| 0.1.8 | 1,185 | 10/29/2018 |
| 0.1.7.1 | 7,904 | 10/17/2018 |
| 0.1.7 | 890 | 10/17/2018 |
| 0.1.6 | 34,685 | 9/6/2018 |
0.2.1
* Add an analyzer to warn for a stand alone `Contract.AssertFailure` calls.
* `AssertFailure` always fail even without `throw`.
0.2.0
* Add fixer to use fluent API
0.1.11.0
* Fixer to automatically generate assertion messages.
0.1.10.0
* Convert `Contract.Assume(x != null)` to `Contract.AssertNotNull(x)`.
* Stop simplifying null-check postconditions.
0.1.9.4
* Add assertions to support not-nullable reference types.
* Make RA003 informational by default.
* Roll back to roslyn v. 2.10.0