spdr870/gitextensions — pull request #1121 by vcpp (2012-07-18 18:45:57+00:00)
Title: Added default JetBrains.Annotations implementation

Many .Net developers use ReShaper (R#, plugin for Visual Studio), which has a very useful static code analysis feature. Special annotations (C# attributes) are used to help R# (as well as developers) to understand some constraints.

For example, when value returned by method, which is annotated with “CanBeNull” attribute, is used without checking for null, R# will generate warning about possible NullReferenceException. You can read more here: http://blogs.jetbrains.com/dotnet/tag/code-analysis/

So those who use R# will see possible code quality issues, others at least will see just an attributes with clear names. I hope here shouldn't be technical compatibility issues.

Licensing. These attributes are distributed as a dll (also available via NuGet) and as a source code under Apache 2.0. Git Extensions uses GPL v3, which is compatible with Apache 2.0, so this seems to be legal.