1
I Use This!
Inactive
Analyzed about 19 hours ago. based on code collected about 19 hours ago.

Project Summary

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.

Tags

analysis attributes clr code_analysis code_contracts contracts dotnet microsoft program_analysis software_development software_documentation software_verification static_analysis

In a Nutshell, .NET Code Contracts...

MIT License
Permitted

Commercial Use

Modify

Distribute

Sub-License

Private Use

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

Project Security

Vulnerabilities per Version ( last 10 releases )

There are no reported vulnerabilities

Project Vulnerability Report

Security Confidence Index

Poor security track-record
Favorable security track-record

Vulnerability Exposure Index

Many reported vulnerabilities
Few reported vulnerabilities

Did You Know...

  • ...
    use of OSS increased in 65% of companies in 2016
  • ...
    search using multiple tags to find exactly what you need
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    anyone with an Open Hub account can update a project's tags
About Project Security

Languages

C#
61%
XML
33%
17 Other
6%

30 Day Summary

Jan 11 2026 — Feb 10 2026

12 Month Summary

Feb 10 2025 — Feb 10 2026