Overview of code analysis for managed code in Visual Studio

Visual Studio can perform code analysis of managed code in two ways: with Binary analyzers, also known as FxCop static analysis of managed assemblies, and with the more modern Roslyn analyzers. Roslyn analyzers, which analyze your code live as you type, replace FxCop static analysis, which only analyzes your code after a build.

See also