RuntimeContracts 0.3.1

.NET Standard 1.1
Install-Package RuntimeContracts -Version 0.3.1
dotnet add package RuntimeContracts --version 0.3.1
<PackageReference Include="RuntimeContracts" Version="0.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuntimeContracts --version 0.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuntimeContracts, 0.3.1"
#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 RuntimeContracts as a Cake Addin
#addin nuget:?package=RuntimeContracts&version=0.3.1

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

Lightweight runtime-only library for contract validation.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on RuntimeContracts:

Repository Stars
SergeyTeplyakov/ErrorProne.NET
Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)
Version Downloads Last updated
0.3.1 2,336 1/29/2021
0.3.0 209,073 3/25/2020
0.2.1 282 3/17/2020
0.1.10 1,073 3/10/2020
0.1.9.1 7,196 10/22/2019
0.1.9 293 10/21/2019
0.1.8 281 10/21/2019
0.1.7.2 23,945 10/22/2018
0.1.7.1 7,530 10/17/2018
0.1.7 508 10/17/2018
0.1.6 1,439 9/6/2018

0.3.1
               * Embed debugging information into the dll
           0.3.0
               * Add side-by-side fluent API that can be used with the existing contract checks.
           0.2.1
               * Add attributes for Debug and ForAll contracts to separate them from normal contracts.
           0.2.0
               * Add fluent API for no-allocation assertions with custom messages.

           0.1.10
               * Add DoesNotReturnIf attribute to all assertions to help with C# complier's flow analysis.

           0.1.9.1
           * Add support for C# non-nullable reference types.