Pathoschild.DesignByContract 1.2.0

Enables code contracts on methods and properties. By annotating your code with attributes like [NotNull], you can remove common validation code and provide helpful exception messages, making your code more robust and refactor-safe. These annotation attributes are also recognized by ReSharper when it has an equivalent annotation, which gives you real-time feedback on contract violations as you type.

Install-Package Pathoschild.DesignByContract -Version 1.2.0
dotnet add package Pathoschild.DesignByContract --version 1.2.0
<PackageReference Include="Pathoschild.DesignByContract" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pathoschild.DesignByContract --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Updated to PostSharp 3; dropped support for partial-trust environments.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.0 973 10/27/2013
1.1.0 636 5/16/2013
1.0.0 707 1/7/2013
0.1.6-alpha2 666 6/21/2012
0.1.4-alpha 533 5/23/2012
0.1.3-alpha 595 5/22/2012