Top "Roslyn-code-analysis" questions

For questions regarding code analysis for C# and VB based on the Roslyn .NET compiler platform API.

Enabling Microsoft's Code Analysis on .NET Core Projects

Our team uses the Code Analysis feature with a custom ruleset to cause our build to fail if we forget …

c# code-analysis roslyn-code-analysis
Visual Studio 2017 - measuring "Lines of code"

I'm unable to find a good option for my Visual Studio 2017. I tried right clicking the projects, but there wasn't …

visual-studio-2017 roslyn-code-analysis
CSharpAddImportCodeFixProvider encountered an error and has been disabled

I had my PC re-imaged for me. I have Visual Studio Version 14.0.25123.00 Update 2 installed on my computer. I'm getting this …

c# visual-studio roslyn-code-analysis visual-studio-2017
What Replaces Code Analysis in Visual Studio 2019?

I'm toying with getting our team and projects ready for VS 2019. Right away, trying to set up Code Analysis for …

visual-studio roslyn fxcop roslyn-code-analysis visual-studio-2019
Getting type from a symbol in roslyn

What is the best general purpose way to get a System.Type from Microsoft.CodeAnalysis.ISymbol for different types of …

c# .net reflection roslyn roslyn-code-analysis