Skip to content

Instantly share code, notes, and snippets.

@Mrsevic
Last active September 4, 2021 17:15
Show Gist options
  • Save Mrsevic/ad7e1f8116d6a81d6368add2e559388b to your computer and use it in GitHub Desktop.
Save Mrsevic/ad7e1f8116d6a81d6368add2e559388b to your computer and use it in GitHub Desktop.
Roslyn_Analyzers_CodeMetrics

Suggested analyzers utilized during the demo session

You can either utilize NuGet packages to make analyzers available to everyone else or you can use the extensions so that they're strictly enforced.

Keep in mind to narrow down the scope to the single document in Visual Studio. You can do this by going into the visual studio 2019 options and changing:

C#-> Advanced> Background analysis scope

Extensions from VS Marketplace

Nuget packages

You can find more of them just by typing analyzer when searching for items in NuGet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment