Overview of code analysis for .NET in Visual Studio
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
Visual Studio can perform code analysis of managed code in two ways: with legacy analysis, also known as FxCop static analysis of managed assemblies, and with the more modern .NET Compiler Platform-based code analyzers. .NET Compiler Platform-based code analyzers, which analyze your code live as you type, replace legacy FxCop static code analysis, which only analyzes compiled code.
Submit and view feedback for