Source code for the CodeContracts tools for .NET
Source code for the CodeContracts tools for .NET
Source code for the CodeContracts tools for .NET
Code Contracts provide a language-agnostic way to express coding assumptions in .NET programs.
The contracts take the form of pre-conditions, post-conditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. Code Contracts bring the advantages of design-by-contract programming to all .NET programming languages. We currently provide three tools:
For working on the project, open CodeContracts.sln and build.
To create the installer and the nuget package, just run buildCC .
We use the convention:
For instance, the 10th build on July 16 would be run as follows:
buildCC 1.9.10716.10No open issues yet, or sync has not completed.