Project Awesome project awesome

.NET > Roslyn

Open-source compilers and code analysis APIs for C# and VB.NET languages.

Collection 733 stars GitHub

Open Source Projects

Bridge

C# to JavaScript transpiler. Write modern mobile and web apps in C# and run them anywhere in JavaScript.

Code Converter 894 updated 10d ago

C# to VB.NET and VB.NET to C# transpiler.

CodeAnalysis.CSharp.PatternMatching

Intuitive pattern matching for Roslyn syntax trees. Simplifies C# syntax and semantic analysis.

CodeGeneration.Roslyn 411 (archived)

Roslyn-based Code Generation during a build with design-time support.

dotnet-script

Runs C# scripts from the .NET CLI, defines NuGet packages inline and edit/debugs them in VS Code.

FlubuCore

Cross platform build automation tool for building projects and executing deployment scripts using C# code.

MirrorSharp

Online C#, VB.NET, and F# code editor. Features code completion, method signature help, quick fixes, and diagnostics.

roslyn-linq-rewrite 714 updated 6y ago

Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code. This increases performance by minimizes heap allocations and dynamic dispatch.

RoslynQuoter 1.1k updated 9mo ago

Online tool that for a given C# program generates syntax tree API calls that construct syntax tree of that program.

Scripty 619 updated 3y ago

Tool to use Roslyn-powered C# scripts for code generation. You can think of it as a scripted alternative to T4 templates.

Testura.Code 296 updated 1y ago

Wrapper around the Roslyn API used for generation, saving, and compiling C# code. Provides methods and helpers to generate classes, methods, statements, and expressions.

Uno SourceGenerator 134 updated 3mo ago

C# source code generator based on a project being built, using all of its syntactic and semantic model information.

Open Source Analyzers, Code Fixes, and Refactorings

.NET Analyzers 68 updated 11y ago

GitHub organization for the development of Roslyn analyzers. Various repositories within the organization cover analyzers for ASP.NET Core, WPF, IDisposable, usages of System.Reflection, etc.

.NET Compiler Platform ("Roslyn") Analyzers

Diagnostic analyzers developed by the Roslyn team. Initially developed to help flesh out the design and implementation of the static analysis APIs. The analyzers cover code quality, .NET Core, desktop .NET Framework, comments in code, and more.

Code Cracker 1.1k updated 2y ago

Analyzer library for C# and VB.NET. Offers diagnostics in many categories like performance, coding styles, as well as some basic refactorings.

CSharpGuidelinesAnalyzer

Reports diagnostics for C# coding guidelines (https://csharpcodingguidelines.com/).

ErrorProne.NET 1.1k updated 7mo ago

Set of analyzers and code fixes focusing on the correctness and performance of C# programs. Inspired with Google's Error Prone.

Mapping Generator

Code fix that generates arbitrary complex object-object mappings. It recognizes out of the box a large number of scenarios where mappings are used. A design-time alternative to AutoMapper.

Nullable.Extended 58 updated 10mo ago

Roslyn tools and analyzers to improve the experience when coding with nullable reference types.

Refactoring Essentials for Visual Studio 634 (archived)

Refactorings, analyzers and code fixes for C# and VB.NET.

Roslyn Clr Heap Allocation Analyzer

C# heap allocation analyzer that can detect explicit and many implicit allocations like boxing, closures, implicit delegate creations, etc.

Roslynator

Collection of 190+ analyzers and 190+ refactorings for C#. Covers coding style, code readability and simplification, removing redundancies, fixing compiler errors, and many more.

SonarC# 897 updated yesterday

Static code analyzer for C# language used as an extension for the SonarQube platform.

StyleCop Analyzers for the .NET Compiler Platform

Port of StyleCop rules to Roslyn.

VSDiagnostics

Collection of code-quality analyzers. Covers usages of async methods, flags enums, best practices in exception handling as well as many other code-quality checks.