System.Diagnostics.Contracts 4.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 3.0 or higher.

dotnet add package System.Diagnostics.Contracts --version 4.0.0                
NuGet\Install-Package System.Diagnostics.Contracts -Version 4.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="System.Diagnostics.Contracts" Version="4.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Diagnostics.Contracts --version 4.0.0                
#r "nuget: System.Diagnostics.Contracts, 4.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Diagnostics.Contracts as a Cake Addin
#addin nuget:?package=System.Diagnostics.Contracts&version=4.0.0

// Install System.Diagnostics.Contracts as a Cake Tool
#tool nuget:?package=System.Diagnostics.Contracts&version=4.0.0                

Provides static classes for representing program contracts such as preconditions, postconditions, and invariants.

Commonly Used Types:
System.Diagnostics.Contracts.Contract
System.Diagnostics.Contracts.ContractClassAttribute
System.Diagnostics.Contracts.ContractClassForAttribute
System.Diagnostics.Contracts.ContractFailureKind
System.Runtime.CompilerServices.ContractHelper
System.Diagnostics.Contracts.ContractInvariantMethodAttribute
System.Diagnostics.Contracts.PureAttribute
System.Diagnostics.Contracts.ContractArgumentValidatorAttribute
System.Diagnostics.Contracts.ContractVerificationAttribute
System.Diagnostics.Contracts.ContractOptionAttribute

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
.NETPlatform dotnet is compatible. 
DNXCore dnxcore50 is compatible. 
Universal Windows Platform netcore50 is compatible.  uap was computed.  uap10.0 was computed. 
Windows Phone wp8 is compatible.  wp81 was computed.  wpa81 is compatible. 
Windows Store win8 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETPlatform 5.0

  • Windows 8.0

    • No dependencies.
  • WindowsPhone 8.0

    • No dependencies.
  • WindowsPhoneApp 8.1

    • No dependencies.

NuGet packages (192)

Showing the top 5 NuGet packages that depend on System.Diagnostics.Contracts:

Package Downloads
System.Reflection.TypeExtensions

Provides extensions methods for System.Type that are designed to be source-compatible with older framework reflection-based APIs. Commonly Used Types: System.Reflection.TypeExtensions System.Reflection.BindingFlags When using NuGet 3.x this package requires at least version 3.4.

Microsoft.AspNet.WebApi.Client

This package adds support for formatting and content negotiation to System.Net.Http. It includes support for JSON, XML, and form URL encoded data.

Handlebars.Net

Blistering-fast Handlebars.js templates in your .NET application.

MsgPack.Cli

MessagePack is fast, compact, and interoperable binary serialization format. This package provides MessagePack serialization/deserialization APIs. This pacakge also supports Mono, Xamarin, .NET Core and Unity.

Microsoft.NETCore.UniversalWindowsPlatform

Provides a set of packages that can be used when building Universal Windows applications on .NETCore. d67bd83a075b8b10cb95810568073c1a3211f28b When using NuGet 3.x this package requires at least version 3.4.

GitHub repositories (42)

Showing the top 5 popular GitHub repositories that depend on System.Diagnostics.Contracts:

Repository Stars
reactiveui/ReactiveUI
An advanced, composable, functional reactive model-view-viewmodel framework for all .NET platforms that is inspired by functional reactive programming. ReactiveUI allows you to abstract mutable state away from your user interfaces, express the idea around a feature in one readable place and improve the testability of your application.
fanliang11/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
neuecc/ZeroFormatter
Infinitely Fast Deserializer for .NET, .NET Core and Unity.
chocolatey/ChocolateyGUI
A delicious GUI for Chocolatey
dotnet/corefxlab
This repo is for experimentation and exploring new ideas that may or may not make it into the main corefx repo.
Version Downloads Last updated
4.3.0 173,238,381 11/15/2016
4.3.0-preview1-24530-04 263,638 10/24/2016
4.0.1 194,611,526 6/27/2016
4.0.1-rc2-24027 3,043,254 5/16/2016
4.0.1-beta-23516 367,810 11/18/2015
4.0.1-beta-23409 374,115 10/15/2015
4.0.1-beta-23225 54,817 9/1/2015
4.0.0 1,577,179 7/29/2015
4.0.0-beta-23109 46,193 7/27/2015
4.0.0-beta-23019 45,705 6/30/2015
4.0.0-beta-22816 53,623 4/24/2015
4.0.0-beta-22605 20,101 2/13/2015
4.0.0-beta-22416 10,320 1/16/2015
4.0.0-beta-22231 27,448 11/11/2014