License: Apache-2.0

Language: C#

.NET Compiler Platform ("Roslyn") Analyzers

This repository contains a number of Roslyn diagnostic analyzers initially developed to help flesh out the design and implementation of the static analysis APIs. They have been migrated from the main dotnet/roslyn repository in order to continue and speed their further development.

Debug Release
Build Status Build Status

Join the chat at



Latest stable version: 1.1.0

Analyzers for APIs specific to the desktop .NET Framework.

More info


Provides analyzers which implement the .NET design guidelines for API authors.

More info


Latest stable version: 1.1.0

Provides guidelines for using .NET Compiler Platform ("Roslyn") APIs.

More info


Contains analyzers specific to the .NET Compiler Platform ("Roslyn") project.

More info


Provides guidelines for using APIs in the System.Collections.Immutable contract.

More info


Latest stable version: 1.1.0

Provides guidelines for using APIs in the System.Runtime contract.

More info


Latest stable version: 1.1.0

Provides guidelines for using APIs in the System.Runtime.InteropServices contract.

More info


Latest stable version: 1.1.0

Provides guidelines for using APIs in the System.Cryptography.Hashing.Algorithms contract.

More info


Created by summer 2015 interns Zoë Petard, Jessica Petty, and Daniel King

The MetaCompilation Analyzer is an analyzer that functions as a tutorial to teach users how to write an analyzer. It uses diagnostics and code fixes to guide the user through the various steps required to create a simple analyzer. It is designed for a novice analyzer programmer with some previous programming experience.

For instructions on using this tutorial, see Instructions.

Getting Started

  1. Clone the repository
  2. Install NuGet packages: powershell -executionpolicy bypass src\.nuget\NuGetRestore.ps1
  3. Build: msbuild src\Analyzers.sln

Submitting Pull Requests

Prior to submitting a pull request, ensure the build and all tests pass using BuildAndTest.proj:

msbuild BuildAndTest.proj

Versioning Scheme for Analyzer Packages

See for the versioning scheme for all analyzer packages built out of this repo.

Project Statistics

Sourcerank 0
Repository Size 1.39 MB
Stars 0
Forks 0
Watchers 0
Open issues disabled
Dependencies 0
Contributors 21
Tags 1
Last updated
Last pushed

Top Contributors See all

Jessica Petty Tom Meschter Srivatsn Narayanan Gen Lu Daniel King Larry Golding Josh Varty Rick Qing Xu Manish Vasani Vitaly Tolstikov Heejae Chang Hans van Bakel Nick Guerrera Jared Parsons Joe Morris Baha Jonathon Marolf Michael C. Fanning Andrew Casey Balaji Soundrarajan

Recent Tags See all

v1.1.0 November 24, 2015

Something wrong with this page? Make a suggestion

Login to resync this repository