System.Diagnostics.Contracts 4.3.0-preview1-24530-04

Prefix Reserved
This is a prerelease version of System.Diagnostics.Contracts.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package System.Diagnostics.Contracts --version 4.3.0-preview1-24530-04                
NuGet\Install-Package System.Diagnostics.Contracts -Version 4.3.0-preview1-24530-04                
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.3.0-preview1-24530-04" />                
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-preview1-24530-04                
#r "nuget: System.Diagnostics.Contracts, 4.3.0-preview1-24530-04"                
#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.3.0-preview1-24530-04&prerelease

// Install System.Diagnostics.Contracts as a Cake Tool
#tool nuget:?package=System.Diagnostics.Contracts&version=4.3.0-preview1-24530-04&prerelease                

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.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. 
MonoAndroid monoandroid was computed.  monoandroid10 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed.  monotouch10 is compatible. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
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 netcore was computed.  netcore45 was computed.  netcore451 was computed.  win8 is compatible. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed.  xamarintvos10 is compatible. 
Xamarin.WatchOS xamarinwatchos was computed.  xamarinwatchos10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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 (10)

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

Package Downloads
NLog

NLog is a logging platform for .NET with rich log routing and management capabilities. It can help you produce and manage high-quality logs for your application regardless of its size or complexity. This package installs NLog.dll with includes core logging functionality. For your main project also need to install 'NLog Configuration' package.

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.Net.Http.Headers

ASP.NET 5 HTTP header implementations.

Microsoft.IdentityModel.Protocol.Extensions

Provides types that provide support for OpenIdConnect protocol.

Microsoft.Net.WebSockets

Implementation of WebSocket abstract base class. Used by WebListener.

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 9,912 3/8/2021
4.3.0-preview1-24530-04 12 3/8/2021
4.0.1 66,638 3/8/2021
4.0.1-rc2-24027 232 3/8/2021
4.0.1-beta-23516 23,499 11/18/2015
4.0.1-beta-23409 70,752 10/15/2015
4.0.1-beta-23225 28,640 9/1/2015
4.0.0 106,790 7/29/2015
4.0.0-beta-23109 32,969 7/27/2015
4.0.0-beta-23019 22,617 6/30/2015
4.0.0-beta-22816 35,393 4/24/2015
4.0.0-beta-22605 14,968 2/13/2015
4.0.0-beta-22416 6,505 1/16/2015
4.0.0-beta-22231 22,503 11/11/2014