A feature that was implemented rather early in the codebase of SharpDevelop2 2.1 is support for code analysis via FxCop. This code analysis tool comes in really handy to for example spot security problems in your code (discussed in the article A Look Inside the Security Development Lifecycle at Microsoft), or more general, detect coding errors (please see the article Bad Code? FxCop to the Rescue, or FxCop, Your .NET Cop).
How does it look like? It integrates with the build system and errors / warnings are displayed alongside compiler warnings:
FxCop is not enabled by default, you have to do that in the project options:
It is considered good coding practice to enable code analysis.