An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: csharp-sourcegenerator

distantcam/AutoCtor

A Roslyn source generator for creating constructors.

Language: C# - Size: 782 KB - Last synced at: about 4 hours ago - Pushed at: about 5 hours ago - Stars: 89 - Forks: 5

credfeto/credfeto-enum-source-generation

C# source generator for producing faster enum lookups

Language: C# - Size: 2.99 MB - Last synced at: about 7 hours ago - Pushed at: about 8 hours ago - Stars: 20 - Forks: 1

devlooped/ThisAssembly

Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.

Language: C# - Size: 1.53 MB - Last synced at: about 14 hours ago - Pushed at: about 15 hours ago - Stars: 464 - Forks: 25

HavenDV/DependencyPropertyGenerator

Dependency property, routed event and weak event source generator for WPF/UWP/WinUI/Uno/Avalonia/MAUI platforms.

Language: C# - Size: 1.13 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 130 - Forks: 9

riok/mapperly

A .NET source generator for generating object mappings. No runtime reflection.

Language: C# - Size: 5.12 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 3,308 - Forks: 164

martinothamar/Mediator

A high performance implementation of Mediator pattern in .NET using source generators.

Language: C# - Size: 966 KB - Last synced at: 4 days ago - Pushed at: 5 days ago - Stars: 2,574 - Forks: 100

nenoNaninu/TypedSignalR.Client

C# Source Generator to Create Strongly Typed SignalR Clients.

Language: C# - Size: 2.43 MB - Last synced at: 4 days ago - Pushed at: 13 days ago - Stars: 175 - Forks: 10

aabs/ActorSrcGen

ActorSrcGen is a C# Source Generator allowing the conversion of simple C# classes into dataflow compatible pipelines supporting the actor model.

Language: C# - Size: 189 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 7 - Forks: 0

devlooped/SmallSharp

Create, edit and run multiple C# top-level programs in the same project by just selecting the startup program from the start button.

Language: C# - Size: 6.72 MB - Last synced at: about 4 hours ago - Pushed at: about 5 hours ago - Stars: 293 - Forks: 13

hanachiru/RapidEnum

Enum utility with SourceGenerator for C#/.NET

Language: C# - Size: 491 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 54 - Forks: 2

ignatandrei/RSCG_Examples

Roslyn Source Code Generators with Examples

Language: HTML - Size: 1.08 GB - Last synced at: 5 days ago - Pushed at: 6 days ago - Stars: 80 - Forks: 5

DevTeam/Immutype

Immutability is easy!

Language: C# - Size: 136 KB - Last synced at: 5 days ago - Pushed at: 6 days ago - Stars: 48 - Forks: 3

archi-Doc/Tinyhand

Tiny and simple data format/serializer.

Language: C# - Size: 2.24 MB - Last synced at: 4 days ago - Pushed at: 6 days ago - Stars: 22 - Forks: 3

sveinungf/spreadcheetah

SpreadCheetah is a high-performance .NET library for generating spreadsheet (Microsoft Excel XLSX) files.

Language: C# - Size: 1.86 MB - Last synced at: 4 days ago - Pushed at: 7 days ago - Stars: 512 - Forks: 23

JasonBock/Rocks

A mocking library based on the Compiler APIs (Roslyn + Mocks)

Language: C# - Size: 16.6 MB - Last synced at: 4 days ago - Pushed at: 8 days ago - Stars: 292 - Forks: 21

LuisLucas/HyperCache

Add cache at compile time with source generators

Language: C# - Size: 298 KB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 4 - Forks: 0

codecentric/net_automatic_interface

.Net Source Generator for Automatic Interfaces

Language: C# - Size: 257 KB - Last synced at: 2 days ago - Pushed at: 15 days ago - Stars: 70 - Forks: 15

ImmediatePlatform/Immediate.Handlers

Source Generated implementation of the Mediator pattern

Language: C# - Size: 353 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 125 - Forks: 3

ImmediatePlatform/Immediate.Apis

Source Generated registrations connecting Immediate.Handlers and minimal APIs

Language: C# - Size: 218 KB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 27 - Forks: 1

CollinAlpert/Lombok.NET

.NET adaptation for Java's Lombok using Source Generators.

Language: C# - Size: 283 KB - Last synced at: 4 days ago - Pushed at: 6 months ago - Stars: 330 - Forks: 16

mostmand/Cloneable

Auto generate Clone method using C# Source Generator

Language: C# - Size: 53.7 KB - Last synced at: 4 days ago - Pushed at: about 2 years ago - Stars: 83 - Forks: 11

pCYSl5EDgo/EmbeddingResourceCSharp

Embed resource files more C# programmer friendly!

Language: C# - Size: 89.8 KB - Last synced at: 4 days ago - Pushed at: 11 months ago - Stars: 71 - Forks: 1

archi-Doc/ValueLink

ValueLink is a C# Library for creating and managing multiple links between objects.

Language: C# - Size: 1010 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 10 - Forks: 1

AjayKMehta/builderbuilder Fork of andrewjsaid/builderbuilder

Language: C# - Size: 638 KB - Last synced at: 8 days ago - Pushed at: 9 days ago - Stars: 1 - Forks: 0

jeppevammenkristensen/auto-spectre

Source generator project to generate classes that can be used in a console to prompt for values using Spectre.Console

Language: C# - Size: 350 KB - Last synced at: 4 days ago - Pushed at: 15 days ago - Stars: 22 - Forks: 0

trampster/JsonSrcGen

Json library that uses .NET 5 Source Generators

Language: C# - Size: 709 KB - Last synced at: 4 days ago - Pushed at: over 3 years ago - Stars: 146 - Forks: 4

coplt/Coplt.Union

Tagged union for c#

Language: C# - Size: 164 KB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 16 - Forks: 0

IGood/boilerplatezero

boilerplatezero is a collection of C# source generators

Language: C# - Size: 129 KB - Last synced at: 7 days ago - Pushed at: over 1 year ago - Stars: 39 - Forks: 4

Ceiridge/BetterEnums

Actual C# Enums with values and better performance as a source generator

Language: C# - Size: 25.4 KB - Last synced at: 11 days ago - Pushed at: about 1 year ago - Stars: 42 - Forks: 2

amis92/csharp-source-generators

A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.

Size: 492 KB - Last synced at: 11 days ago - Pushed at: 2 months ago - Stars: 2,186 - Forks: 212

christianhelle/refitter

A tool for generating Refit interfaces and contracts from OpenAPI specifications

Language: C# - Size: 3.78 MB - Last synced at: 9 days ago - Pushed at: 11 days ago - Stars: 277 - Forks: 51

YairHalberstadt/stronginject

compile time dependency injection for .NET

Language: C# - Size: 1.35 MB - Last synced at: 4 days ago - Pushed at: almost 3 years ago - Stars: 854 - Forks: 24

cathei/LinqGen

Alloc-free and fast replacement for Linq, with code generation

Language: C# - Size: 2.2 MB - Last synced at: 4 days ago - Pushed at: 10 months ago - Stars: 306 - Forks: 12

aviationexam/json-converter-source-generator

Source generated polymorphic JSON converters

Language: C# - Size: 365 KB - Last synced at: 4 days ago - Pushed at: 13 days ago - Stars: 5 - Forks: 0

domn1995/dunet

C# discriminated union source generator

Language: C# - Size: 494 KB - Last synced at: 10 days ago - Pushed at: 13 days ago - Stars: 689 - Forks: 22

ufcpp/StringLiteralGenerator

C# Source Generator for UTF-8 binary literal

Language: C# - Size: 59.6 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 141 - Forks: 3

dimohy/GenPack

Packet generation and serialization/deserialization library using the .NET Source Generator

Language: C# - Size: 91.8 KB - Last synced at: 8 days ago - Pushed at: about 1 year ago - Stars: 7 - Forks: 0

Youssef1313/PrintMembersGenerator

A source generator that helps re-defining C# record's PrintMembers method to force include/exclude certain members.

Language: C# - Size: 35.2 KB - Last synced at: 4 days ago - Pushed at: over 4 years ago - Stars: 7 - Forks: 0

TheArchitectDev/Architect.DomainModeling

A complete Domain-Driven Design (DDD) toolset for implementing domain models, including base types and source generators.

Language: C# - Size: 210 KB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 68 - Forks: 5

Yeah69/MrMeeseeks.DIE

Compile-time dependency injection container which requires minimal configuration

Language: C# - Size: 19.2 MB - Last synced at: 4 days ago - Pushed at: 16 days ago - Stars: 7 - Forks: 0

ZingBallyhoo/StackXML

Stack based zero-allocation XML serializer and deserializer powered by C# 9 source generators

Language: C# - Size: 141 KB - Last synced at: 4 days ago - Pushed at: 18 days ago - Stars: 53 - Forks: 8

Nyrest/FastGenericNew

The ultimate fast alternative to Activator.CreateInstance<T> / new T()

Language: C# - Size: 4.35 MB - Last synced at: 12 days ago - Pushed at: about 1 month ago - Stars: 251 - Forks: 10

MelGrubb/BuilderGenerator

A source-generator-based implementation of the Builder pattern

Language: C# - Size: 817 KB - Last synced at: 10 days ago - Pushed at: about 1 month ago - Stars: 42 - Forks: 9

devlooped/StructId

Automatic implemention of stronly typed IDs via record structs with compile-time feature auto-detection

Language: C# - Size: 284 KB - Last synced at: 6 days ago - Pushed at: 10 days ago - Stars: 35 - Forks: 0

Tyrrrz/MiniRazor 📦

Portable Razor compiler & code generator

Language: C# - Size: 164 KB - Last synced at: 12 days ago - Pushed at: almost 2 years ago - Stars: 229 - Forks: 24

ChristophHornung/EmbeddedResourceGenerator

A C# source generator to automatically generate access methods for embedded resources.

Language: C# - Size: 109 KB - Last synced at: 4 days ago - Pushed at: 5 months ago - Stars: 11 - Forks: 3

diegofrata/Generator.Equals

A source code generator for automatically implementing IEquatable<T> using only attributes.

Language: C# - Size: 254 KB - Last synced at: 17 days ago - Pushed at: 5 months ago - Stars: 152 - Forks: 19

31/GodotOnReady

A C# Source Generator that adds convenient onready-like features to your C# scripts in Godot Mono (3.x) without any reflection.

Language: C# - Size: 166 KB - Last synced at: 21 days ago - Pushed at: about 2 years ago - Stars: 123 - Forks: 13

k94ll13nn3/AutoConstructor

C# source generator that generates a constructor from readonly fields/properties in a class or struct

Language: C# - Size: 513 KB - Last synced at: 4 days ago - Pushed at: about 2 months ago - Stars: 56 - Forks: 4

mknejp/dotvariant

A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++)

Language: C# - Size: 589 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 71 - Forks: 3

Cat-Lips/GodotSharp.SourceGenerators

C# source generators for the Godot Game Engine

Language: C# - Size: 427 KB - Last synced at: 14 days ago - Pushed at: 2 months ago - Stars: 155 - Forks: 16

cyriaca/Azura

source generation based serialization

Language: C# - Size: 113 KB - Last synced at: 6 days ago - Pushed at: over 3 years ago - Stars: 5 - Forks: 1

Georgiy-Petrov/StepwiseBuilderGenerator

Language: C# - Size: 80.1 KB - Last synced at: 28 days ago - Pushed at: 28 days ago - Stars: 2 - Forks: 0

nemesissoft/Nemesis.TextParsers

Parse any type from string in efficient way

Language: C# - Size: 1.83 MB - Last synced at: 16 days ago - Pushed at: 3 months ago - Stars: 35 - Forks: 4

bobaoapae/NetX.AutoServiceGenerator

A c# source generator to generate code to tcp communication based on interfaces declarations

Language: C# - Size: 241 KB - Last synced at: 9 days ago - Pushed at: 29 days ago - Stars: 1 - Forks: 0

kant2002/SqlMarshal

Generates data access using stored procedures

Language: C# - Size: 261 KB - Last synced at: 4 days ago - Pushed at: 3 months ago - Stars: 61 - Forks: 5

RyotaMurohoshi/ValueObjectGenerator

ValueObjectGenerator is Generator for ValueObjects.

Language: C# - Size: 13.7 KB - Last synced at: 4 days ago - Pushed at: over 4 years ago - Stars: 41 - Forks: 1

koenbeuk/ScenarioTests

ScenarioTests are a different way of writing tests with XUnit. The goal is to be able to write tests like you would write notebooks. ScenarioTests are great for documentation and integration/e2e tests.

Language: C# - Size: 416 KB - Last synced at: 9 days ago - Pushed at: over 2 years ago - Stars: 47 - Forks: 3

dasMulli/data-builder-generator

Code generator to easily create data builder patterns for your model classes

Language: C# - Size: 45.9 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 117 - Forks: 12

devlooped/avatar 📦

A modern compile-time generated interception/proxy library

Language: C# - Size: 1.32 MB - Last synced at: 4 days ago - Pushed at: about 2 years ago - Stars: 139 - Forks: 10

GobieGenerator/Gobie

Simple C# source generation based on custom templates

Language: C# - Size: 1.37 MB - Last synced at: 12 days ago - Pushed at: over 1 year ago - Stars: 103 - Forks: 5

Jalalx/HttpClientCodeGenerator

HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.

Language: C# - Size: 96.7 KB - Last synced at: 4 days ago - Pushed at: 5 months ago - Stars: 46 - Forks: 2

Ludovicdln/Breezy

Micro ORM with source generator

Language: C# - Size: 57.6 KB - Last synced at: 4 days ago - Pushed at: over 1 year ago - Stars: 27 - Forks: 1

chaowlert/PrimaryConstructor

Generate primary constructor from readonly fields

Language: C# - Size: 37.1 KB - Last synced at: 4 days ago - Pushed at: about 1 year ago - Stars: 107 - Forks: 12

MoienTajik/GraphQL.Tools

GraphQL.Tools is a GraphQL to C# compiler (code-generator) which turns your GraphQL schema into a set of C# classes, interfaces, and enums.

Language: C# - Size: 141 KB - Last synced at: 4 days ago - Pushed at: over 3 years ago - Stars: 98 - Forks: 12

canton7/PropertyChanged.SourceGenerator

Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.

Language: C# - Size: 504 KB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 147 - Forks: 17

SzymonHalucha/Minerals.AutoInterfaces

Package for automatic interface generation using an incremental source generator

Language: C# - Size: 93.8 KB - Last synced at: 4 days ago - Pushed at: 11 months ago - Stars: 2 - Forks: 0

beakona/AutoInterface

C# interface-to-member source generator

Language: C# - Size: 253 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 79 - Forks: 10

sang-hyeon/Plastic

This project provides encapsulation of things like Domain, Application Rules, Business Rules or Business Logic in Application.

Language: C# - Size: 544 KB - Last synced at: 8 days ago - Pushed at: 10 months ago - Stars: 61 - Forks: 5

SzymonHalucha/Minerals.AutoMixins

Package for automatic mixin design pattern generation using an incremental source generator

Language: C# - Size: 44.9 KB - Last synced at: 10 days ago - Pushed at: 11 months ago - Stars: 7 - Forks: 1

jitbit/MapDataReader

Super fast mapping DataReader to strongly typed object, Using AOT source generator.

Language: C# - Size: 101 KB - Last synced at: 9 days ago - Pushed at: 12 months ago - Stars: 69 - Forks: 11

BlazorOcticons/BlazorOcticons

BlazorOcticons is an easy-to-use GitHub Octicons built as customizable .razor components

Language: HTML - Size: 1.15 MB - Last synced at: 4 days ago - Pushed at: 12 months ago - Stars: 25 - Forks: 4

davidwengier/SourceGeneratorTemplate

A basic template for writing a C# source generator

Language: C# - Size: 21.5 KB - Last synced at: 9 days ago - Pushed at: about 3 years ago - Stars: 186 - Forks: 29

krasin-ga/matryoshki

High-performance zero-reflection approach to C# metaprogramming

Language: C# - Size: 199 KB - Last synced at: 4 days ago - Pushed at: 7 months ago - Stars: 31 - Forks: 0

AlexJPotter/NavProps

Source-generated helpers to simplify working with navigation properties in Entity Framework

Language: C# - Size: 20.5 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 6 - Forks: 0

ycanardeau/ResXGenerator

ResXGenerator is a C# source generator to generate strongly-typed resource classes for looking up localized strings.

Language: C# - Size: 220 KB - Last synced at: 3 days ago - Pushed at: 11 months ago - Stars: 36 - Forks: 5

Ohorodnikov/AutoDto

Auto copy properties from bl model to dto

Language: C# - Size: 7.01 MB - Last synced at: 4 days ago - Pushed at: over 1 year ago - Stars: 26 - Forks: 0

jasonswearingen/NotNot.AppSettings 📦

Automatically create strongly typed C# settings objects from AppSettings.json. Uses Source Generators. Includes a simple deserialization helper for when you are using Dependency Injection, or not.

Language: C# - Size: 579 KB - Last synced at: 10 days ago - Pushed at: 3 months ago - Stars: 31 - Forks: 0

DouglasDwyer/Imp.NET

Imp.NET is a fast, high-level, object-oriented C# networking library that supports the invocation of remote methods through proxy interface objects.

Language: C# - Size: 6.45 MB - Last synced at: 4 days ago - Pushed at: about 3 years ago - Stars: 44 - Forks: 1

coplt/Coplt.Dropping

Auto gen dispose pattern

Language: C# - Size: 41 KB - Last synced at: 4 days ago - Pushed at: about 2 months ago - Stars: 2 - Forks: 0

AnderssonPeter/Dolly

Clone .net objects using Source Generators

Language: C# - Size: 143 KB - Last synced at: 26 days ago - Pushed at: 5 months ago - Stars: 4 - Forks: 0

EngRajabi/Enum.Source.Generator

A C# source generator to create an enumeration class from an enum type. With this package, you can work on enums very, very fast without using reflection.

Language: C# - Size: 431 KB - Last synced at: 4 days ago - Pushed at: 21 days ago - Stars: 188 - Forks: 17

HamedFathi/EnumerationClassGenerator

A C# source generator to create an enumeration class from an enum type.

Language: C# - Size: 24.4 KB - Last synced at: 4 days ago - Pushed at: over 2 years ago - Stars: 17 - Forks: 3

AlexNav73/CoreCraft

An application state management library

Language: C# - Size: 1.08 MB - Last synced at: 4 days ago - Pushed at: 5 months ago - Stars: 9 - Forks: 0

RudolfKurkaMs/StructPacker

Low-level, lightweight and performance-focused serializer for C# struct types that uses Source Generators technology.

Language: C# - Size: 2 MB - Last synced at: 4 days ago - Pushed at: almost 3 years ago - Stars: 77 - Forks: 7

Ne4to/N.SourceGenerators.UnionTypes

Discriminated union type source generator

Language: C# - Size: 212 KB - Last synced at: 4 days ago - Pushed at: 12 months ago - Stars: 11 - Forks: 1

CodingFlow/decorator-generator

Source generator for decorator pattern boilerplate code in C#.

Language: C# - Size: 1.58 MB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 14 - Forks: 5

Kros-sk/Kros.Generators.Flattening

Language: C# - Size: 53.7 KB - Last synced at: 10 days ago - Pushed at: almost 4 years ago - Stars: 30 - Forks: 3

fiseni/SmartAnnotations

A library for .NET that uses source generators to automatically generate data annotations for your models.

Language: C# - Size: 396 KB - Last synced at: 1 day ago - Pushed at: about 4 years ago - Stars: 58 - Forks: 6

xb-bx/CommandLineArgsGenerator

Source generator to generate command line args parser

Language: C# - Size: 111 KB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 1

cezarypiatek/GRPC-Mock-Server

Super fast, platform independent, standalone component for mocking GRPC services using WireMock.NET stubbing engine

Language: C# - Size: 93.8 KB - Last synced at: 7 days ago - Pushed at: 5 months ago - Stars: 33 - Forks: 1

EX-EXE/NpgsqlMappingGenerator

Generate a function that uses Npgsql.

Language: C# - Size: 146 KB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 0 - Forks: 0

beardgame/fluentsourcegen

Allows using C# source generators using a fluent, type safe interface rather than string templating.

Language: C# - Size: 142 KB - Last synced at: 3 months ago - Pushed at: 3 months ago - Stars: 24 - Forks: 0

hermanussen/JsonByExampleGenerator

Generate classes based on example json files in your project. Uses a C# 9 source generator.

Language: C# - Size: 666 KB - Last synced at: 4 days ago - Pushed at: over 2 years ago - Stars: 80 - Forks: 9

trungnt2910/DotnetBrowser

Home of the unofficial custom `.net7.0-browser` TFM

Language: C# - Size: 45.4 MB - Last synced at: 10 days ago - Pushed at: almost 2 years ago - Stars: 9 - Forks: 0

x2bool/mockup

Zero-reflection, compile-time mocking library based on C# source generators

Language: C# - Size: 66.4 KB - Last synced at: 3 days ago - Pushed at: 7 months ago - Stars: 46 - Forks: 1

GaoNian-NET/MapperToolkit

This project is a Mapper library use Source Generator with function such as: - mapper: object-object mapper . - transoform:by object (entity) build specified model (DTO) .

Language: C# - Size: 63.5 KB - Last synced at: 4 months ago - Pushed at: over 2 years ago - Stars: 7 - Forks: 0

roeibajayo/SourceGeneratorQuery

C# SourceGenerator helper which helps you query your files, and adds LINQ support

Language: C# - Size: 23.4 KB - Last synced at: 4 days ago - Pushed at: over 2 years ago - Stars: 25 - Forks: 2

AvaloniaUtils/ShowMeTheXaml.Avalonia

A Avalonia control making it easy to show the corresponding XAML for custom styles and controls

Language: C# - Size: 189 KB - Last synced at: 9 days ago - Pushed at: 12 months ago - Stars: 34 - Forks: 2

Atulin/AutoDbSet

Automagically create `DbSet`s in your `DbContext`

Language: C# - Size: 21.5 KB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0