Introducing C# Source Generators


Resource | v1 | created by jjones |
Type Web
Created 2020-01-01
Identifier unavailable

Description

We’re pleased to introduce the first preview of Source Generators, a new C# compiler feature that lets C# developers inspect user code and generate new C# source files that can be added to a compilation. This is done via a new kind of component that we’re calling a Source Generator.

Relations

official for C# Source Generators

A Source Generator is a piece of code that runs during compilation and can inspect your program to pr...

referenced in New C# Source Generator Samples

This post describes two new generators that we added to the samples project in the Roslyn SDK github...


Edit details Edit relations Attach new author Attach new topic Attach new resource
9.0 /10
useless alright awesome
from 1 review
Write comment Rate resource Tip: Rating is anonymous unless you also write a comment.
Resource level 8.0 /10
beginner intermediate advanced
Resource clarity 10.0 /10
hardly clear sometimes unclear perfectly clear
Reviewer's background 7.0 /10
none basics intermediate advanced expert
Comments 1
jjones
0 0

9 rating 8 level 10 clarity 7 user's background

There are not much places where you can learn about Source Generators since they are in preview now. So this blog post is great.