System.Diagnostics.Contracts 4.3.0

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

Commonly Used Types:

When using NuGet 3.x this package requires at least version 3.4.

Requires NuGet 2.12 or higher.

Install-Package System.Diagnostics.Contracts -Version 4.3.0
dotnet add package System.Diagnostics.Contracts --version 4.3.0
<PackageReference Include="System.Diagnostics.Contracts" Version="4.3.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.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

  • .NETCore 5.0

  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • MonoAndroid 1.0

    • No dependencies.
  • MonoTouch 1.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.
  • Windows 8.0

    • No dependencies.
  • WindowsPhone 8.0

    • No dependencies.
  • WindowsPhoneApp 8.1

    • No dependencies.
  • Xamarin.iOS 1.0

    • No dependencies.
  • Xamarin.Mac 2.0

    • No dependencies.
  • Xamarin.TVOS 1.0

    • No dependencies.
  • Xamarin.WatchOS 1.0

    • No dependencies.

NuGet packages (195)

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

Package Downloads
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.
Ninject is a lightning-fast, ultra-lightweight dependency injector for .NET applications.
Provides a set of packages that can be used when building Universal Windows applications on .NETCore. 61f5996beb6fc1a89ce6f08e075c834db7b4e63f When using NuGet 3.x this package requires at least version 3.4.
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.
DotNetty common routines

GitHub repositories (47)

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

Repository Stars
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.
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
The Windows Community Toolkit is a collection of helper functions, custom controls, and app services. It simplifies and demonstrates common developer tasks building UWP apps for Windows 10. The toolkit is part of the .NET Foundation.
C# functional language extensions - a base class library for functional programming
DotNetty project – a port of netty, event-driven asynchronous network application framework

Version History

Version Downloads Last updated
4.3.0 27,957,483 11/15/2016
4.3.0-preview1-24530-04 172,209 10/24/2016
4.0.1 75,956,492 6/27/2016
4.0.1-rc2-24027 2,103,912 5/16/2016
4.0.1-beta-23516 353,737 11/18/2015
4.0.1-beta-23409 364,572 10/15/2015
4.0.1-beta-23225 49,032 9/1/2015
4.0.0 1,185,219 7/29/2015
4.0.0-beta-23109 43,647 7/27/2015
4.0.0-beta-23019 43,029 6/30/2015
4.0.0-beta-22816 48,901 4/24/2015
4.0.0-beta-22605 16,918 2/13/2015
4.0.0-beta-22416 7,749 1/16/2015
4.0.0-beta-22231 24,933 11/11/2014