![](/uploads/1/2/6/8/126858370/985031771.jpg)
A curated list of .NET Compiler Platform ('Roslyn') diagnostic analyzers and code fixesEveryone can contribute here!
Getting Started
CrackStation uses massive pre-computed lookup tables to crack password hashes. These tables store a mapping between the hash of a password, and the correct password for that hash. The hash values are indexed so that it is possible to quickly search the database for a given hash.
How to create your first analyzer
- Use Roslyn to Write a Live Code Analyzer for Your API - MSDN Magazine by Alex Turner
- Adding a Code Fix to Your Roslyn Analyzer - MSDN Magazine by Alex Turner
- How To Write a C# Analyzer and Code Fix - Roslyn wiki
Analyzers
List of popular analyzers
- Code Cracker - An analyzer library for C# and VB that uses Roslyn to produce refactorings, code analysis, and other niceties
- StyleCopAnalyzers - An implementation of StyleCop rules using the .NET Compiler Platform
- CSharpEssentials - C# Essentials is a collection of Roslyn diagnostic analyzers, code fixes and refactorings that make it easy to work with C# 6 language features.
- RoslynClrHeapAllocationAnalyzer - Roslyn based C# heap allocation diagnostic analyzer that can detect explicit and many implicit allocations like boxing, display classes a.k.a closures, implicit delegate creations, etc
- RefactoringEssentials - Free Visual Studio 2015 extension for C# and VB.NET refactorings, including code best practice analyzers to improve your projects.
- Wintellect.Analyzers - .NET Compiler Platform ('Roslyn') diagnostic analyzers and code fixes written by Wintellect
- roslyn-analyzers - Several Roslyn diagnostic analyzers developed and maintained by the Roslyn team. Contains : AsyncPackage, Desktop.Analyzers, MetaCompilation, Microsoft.AnalyzerPowerPack, Microsoft.CodeAnalysis.Analyzers, Microsoft.Net.RoslynDiagnostics, System.Runtime.Analyzers, System.Runtime.InteropServices.Analyzers
- sonarlint-vs - SonarLint is a Visual Studio 2015 extension that provides on-the-fly feedback to developers on new bugs and quality issues injected into C# code.
- Roslynator - A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.
- .NET Analyzers GitHub organization - An organization for the development of analyzers (diagnostics, code fixes, and refactorings) using the .NET Compiler Platform.
- Public API analyzer - Helps tracking reusable code public API exposure, aids in proper encapsulation.
- AsyncFixer - Advanced Async/Await Diagnostics and CodeFixes for C#.
- ErrorProne.NET - ErrorProne.NET is a set of Roslyn-based analyzers that will help you to write correct code. The idea is similar to Google's error-prone but focusing on correctness (and, maybe, performance) of C# programs.
- SecurityCodeScan - Vulnerability Patterns Detector for C# and VB.NET.
- NetFabric.Hyperlinq.Analyzer - Best practices for collection enumeration in C#.
- Puma Scan - Security analyzer that provides real time, continuous source code analysis for C# applications.
- SmartAnalyzers.ExceptionAnalyzer - A set of Roslyn analyzers related to exceptions usages.
- SmartAnalyzers.MultithreadingAnalyzer - A set of Roslyn analyzers related to multithreading
Tools
Free and online tools
- Roslyn Quoter Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree
Blogs
Blogs talking about Roslyn analyzers
You may use CodeCracker in two ways: as an analyzer library that you install with Nuget into your project or as a Visual Studio extension.The way you want to use it depends on the scenario you are working on. You most likely want the Nuget package.If you want the analyzers to work during your build, and generate warnings and errors during the build, also on build servers, then you wantto use the Nuget package.
![](/uploads/1/2/6/8/126858370/985031771.jpg)