System.Diagnostics.Contracts
4.3.0
Prefix Reserved
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" />
paket add System.Diagnostics.Contracts --version 4.3.0
#r "nuget: System.Diagnostics.Contracts, 4.3.0"
// Install System.Diagnostics.Contracts as a Cake Addin
#addin nuget:?package=System.Diagnostics.Contracts&version=4.3.0
// Install System.Diagnostics.Contracts as a Cake Tool
#tool nuget:?package=System.Diagnostics.Contracts&version=4.3.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
When using NuGet 3.x this package requires at least version 3.4.
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.0 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 monoandroid10 |
MonoMac | monomac |
MonoTouch | monotouch monotouch10 |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | netcore50 uap uap10.0 |
Windows Phone | wp8 wp81 wpa81 |
Windows Store | netcore netcore45 netcore451 win8 |
Xamarin.iOS | xamarinios xamarinios10 |
Xamarin.Mac | xamarinmac xamarinmac20 |
Xamarin.TVOS | xamarintvos xamarintvos10 |
Xamarin.WatchOS | xamarinwatchos xamarinwatchos10 |
-
.NETCore 5.0
- System.Runtime (>= 4.3.0)
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.0
- System.Runtime (>= 4.3.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 (184)
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. |
|
Handlebars.Net
Blistering-fast Handlebars.js templates in your .NET application. |
|
Microsoft.NETCore.UniversalWindowsPlatform
Provides a set of packages that can be used when building Universal Windows applications on .NETCore. 1b651b26ca39a8a2b6c090a85b6025565fa46203 When using NuGet 3.x this package requires at least version 3.4. |
|
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. |
|
LanguageExt.Core
This library uses and abuses the features of C# to provide a functional 'Base class library', that, if you squint, can look like extensions to the language itself. |
GitHub repositories (39)
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.
|
|
louthy/language-ext
C# functional language extensions - a base class library for functional programming
|
|
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.
|
|
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 | 69,549,900 | 11/15/2016 |
4.3.0-preview1-24530-04 | 205,163 | 10/24/2016 |
4.0.1 | 126,816,259 | 6/27/2016 |
4.0.1-rc2-24027 | 2,449,528 | 5/16/2016 |
4.0.1-beta-23516 | 356,160 | 11/18/2015 |
4.0.1-beta-23409 | 365,268 | 10/15/2015 |
4.0.1-beta-23225 | 50,901 | 9/1/2015 |
4.0.0 | 1,307,802 | 7/29/2015 |
4.0.0-beta-23109 | 44,400 | 7/27/2015 |
4.0.0-beta-23019 | 43,735 | 6/30/2015 |
4.0.0-beta-22816 | 50,246 | 4/24/2015 |
4.0.0-beta-22605 | 17,742 | 2/13/2015 |
4.0.0-beta-22416 | 8,375 | 1/16/2015 |
4.0.0-beta-22231 | 25,620 | 11/11/2014 |