Roslyn analyzers for (please open issues in
C# PowerShell
Clone or download
wachulski and marcind Fix x2002 fixer - preserve leading trivia on node deletion
Adds a step to appveyor clone procedure to checkout files CRLF
on Windows machines - particularly important for code fixer tests.

Closes xunit/xunit#1753
Latest commit 5f95a84 Jun 28, 2018

Build Status Nuget Package NuGet Downloads MyGet Preview Package

About the project

This project contains source code analysis and cleanup rules for

Requirements: v2.0+ and Visual Studio 2015 Update 2 or later.

Documentation: a list of supported rules is available at

Bugs and issues: please visit the core project issue tracker.

To build the project, you will need Visual Studio 2017. The VSIX project can be set as your startup project, to debug the analyzers inside a special instance of Visual Studio.

How to install

How to uninstall

If you installed 2.3.0 or higher and do not wish to use the analyzers package, replace the package reference to xunit with the correspoding versions of xunit.core and xunit.assert

Analysis and Code Fix in Action

Analyzer in action animation

About is a free, open source, community-focused unit testing tool for the .NET Framework. Written by the original inventor of NUnit v2, is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. works with ReSharper, CodeRush, TestDriven.NET and Xamarin. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).