Roslyn

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

56 resources8 categoriesView Original

Open Source Analyzers, Code Fixes, and Refactor...(13 items)

.

.NET Analyzers

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.

Open Source Analyzers, Code Fixes, and Refactor...
.

.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.

Open Source Analyzers, Code Fixes, and Refactor...
C

Code Cracker

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

Open Source Analyzers, Code Fixes, and Refactor...
C

CSharpGuidelinesAnalyzer

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

Open Source Analyzers, Code Fixes, and Refactor...
E

ErrorProne.NET

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

Open Source Analyzers, Code Fixes, and Refactor...
M

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.

Open Source Analyzers, Code Fixes, and Refactor...
N

Nullable.Extended

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

Open Source Analyzers, Code Fixes, and Refactor...
R

Refactoring Essentials for Visual Studio

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

Open Source Analyzers, Code Fixes, and Refactor...
R

Roslyn Clr Heap Allocation Analyzer

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

Open Source Analyzers, Code Fixes, and Refactor...
R

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.

Open Source Analyzers, Code Fixes, and Refactor...
S

SonarC#

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

Open Source Analyzers, Code Fixes, and Refactor...
S

StyleCop Analyzers for the .NET Compiler Platform

Port of StyleCop rules to Roslyn.

Open Source Analyzers, Code Fixes, and Refactor...
V

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.

Open Source Analyzers, Code Fixes, and Refactor...

Open Source Projects(17 items)

B

Bridge

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

Open Source Projects
C

Code Converter

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

Open Source Projects
C

CodeAnalysis.CSharp.PatternMatching

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

Open Source Projects
C

CodeGeneration.Roslyn

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

Open Source Projects
D

dotnet-script

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

Open Source Projects
F

FlubuCore

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

Open Source Projects
M

MirrorSharp

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

Open Source Projects
O

OmniSharp

Enables a cross platform .NET development in the editor of your choice. A family of open source projects, each with one goal: To enable a great .NET experience in your editor of choice.

Open Source Projects
R

roslyn-linq-rewrite

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.

Open Source Projects
R

RoslynPad

Cross-platform C# editor. Features code completion, method signature help, quick fixes, and diagnostics.

Open Source Projects
R

RoslynQuoter

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

Open Source Projects
S

scriptcs

Turns C# into a powerful scripting tool. Features C# REPL, installation of NuGet packages, and execution of scripts with a single line of code.

Open Source Projects
S

Scripty

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

Open Source Projects
S

Sharpen

Visual Studio extension that intelligently introduces new C# language features into your existing code base.

Open Source Projects
S

SharpLab

.NET code playground. Displays intermediate steps and results of code compilation. Shows the code as compiler sees it. Allows selecting different branches and versions of Roslyn. Runs C#, VB.NET, and F# code in the browser.

Open Source Projects
T

Testura.Code

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

Open Source Projects
U

Uno SourceGenerator

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

Open Source Projects

Source Generators(8 items)

D

DpDtInject

Proof-of-concept of a dependency injection container that transfers huge piece of resolving logic to the compilation stage. Offers additional compile-time safety and fast runtime resolution.

Source Generators
G

Generator.Equals

Automatically implements equality and hashing for classes and records. Supports different comparison strategies. Offers similar functionality like IL weaving-based Equals.Fody.

Source Generators
J

JsonSrcGen

Reflection-free JSON serializer. Allows extremely fast JSON processing by generating reflection-free serializers at the compile time.

Source Generators
S

Source Generator Playground

Online application that lets you experiment with source generators. Perfect for learning and testing your ideas. Write your own source generator or learn from built-in examples and see the generated output.

Source Generators
S

StrongInject

Compile-time dependency injection container. Compile-time checked, reflection-free and runtime code generation free, thus fast and app-trimming-friendly.

Source Generators
S

StructPacker

Low-level, lightweight and performance-focused serializer for C# struct types. Auto-generates C# serialization code to achieve peak runtime performance and efficiency.

Source Generators
S

Svg to C# Source Generators

SVG to C# compiler. Compiles SVG drawing markup to C# using SkiaSharp as rendering engine.

Source Generators
W

WrapperValueObject

Creates boilerplate free wrappers around types. Especially useful for creating strongly typed wrappers around primitive types.

Source Generators