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

GitHub topics: csharp-sourcegenerator

sveinungf/spreadcheetah

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

Language: C# - Size: 2.26 MB - Last synced at: about 9 hours ago - Pushed at: about 11 hours ago - Stars: 615 - Forks: 29

pstlnce/unflat

Сode generator for fast parsing IDataReader into complex classes/structs

Language: C# - Size: 203 KB - Last synced at: about 14 hours ago - Pushed at: about 14 hours ago - Stars: 0 - Forks: 0

AjayKMehta/builderbuilder Fork of andrewjsaid/builderbuilder

Language: C# - Size: 794 KB - Last synced at: about 15 hours ago - Pushed at: about 17 hours ago - Stars: 1 - Forks: 0

AnderssonPeter/Dolly

Clone .net objects using Source Generators

Language: C# - Size: 90.8 KB - Last synced at: about 18 hours ago - Pushed at: about 19 hours ago - Stars: 33 - Forks: 6

CodingFlow/decorator-generator

Source generator for decorator pattern boilerplate code in C#.

Language: C# - Size: 1.58 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 15 - Forks: 5

sator-imaging/FUnit

Unit Testing Framework for File-based Apps

Language: C# - Size: 132 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 0 - Forks: 0

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: 202 KB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 9 - Forks: 1

credfeto/credfeto-enum-source-generation

C# source generator for producing faster enum lookups

Language: C# - Size: 3.64 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 20 - Forks: 1

archi-Doc/ValueLink

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

Language: C# - Size: 1.28 MB - Last synced at: 1 day ago - Pushed at: 2 days ago - Stars: 10 - Forks: 1

archi-Doc/Tinyhand

Tiny and simple data format/serializer.

Language: C# - Size: 2.97 MB - Last synced at: 1 day ago - Pushed at: 2 days ago - Stars: 22 - Forks: 3

Stepami/hydrascript

TypeScript & Go inspired small interpreted programming language written in C#. The interpreter built with DDD principles and Clean Architecture. Implementation powered by Source Generators

Language: C# - Size: 932 KB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 79 - Forks: 6

ZingBallyhoo/StackXML

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

Language: C# - Size: 169 KB - Last synced at: about 24 hours ago - Pushed at: 3 months ago - Stars: 69 - Forks: 9

amis92/csharp-source-generators

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

Size: 336 KB - Last synced at: 2 days ago - Pushed at: about 2 months ago - Stars: 2,307 - Forks: 221

christianhelle/refitter

A tool for generating Refit interfaces and contracts from OpenAPI (Swagger) specifications

Language: C# - Size: 4.87 MB - Last synced at: 1 day ago - Pushed at: 4 days ago - Stars: 347 - Forks: 63

distantcam/EndpointGenerator

Source Generator to help create minimal api endpoint mappings.

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

codecentric/net_automatic_interface

.Net Source Generator for Automatic Interfaces

Language: C# - Size: 354 KB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 109 - Forks: 20

aviationexam/json-converter-source-generator

Source generated polymorphic JSON converters

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

martinothamar/Mediator

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

Language: C# - Size: 1.61 MB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 3,111 - Forks: 140

distantcam/AutoCtor

A Roslyn source generator for creating constructors.

Language: C# - Size: 938 KB - Last synced at: 5 days ago - Pushed at: 5 days ago - Stars: 100 - Forks: 4

Dvurechensky-Docs/BasicKnowledgeCSharp

Базовые знания языка C#

Language: C# - Size: 3.95 MB - Last synced at: 6 days ago - Pushed at: 6 days ago - Stars: 0 - Forks: 0

mikepringle/QueryByShape

Autogenerates GraphQL queries at build-time based on the "shape" of your result type

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

riok/mapperly

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

Language: C# - Size: 5.51 MB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 3,730 - Forks: 197

Dvurechensky-Docs/PatternsCSharpProgramming

Разбор шаблонов проектирования

Language: C# - Size: 1.1 MB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 1 - Forks: 0

Dvurechensky-Docs/PatternsCSharpExtraAddons

Паттерны проектирования кода на C#

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

JasonBock/Rocks

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

Language: C# - Size: 18.3 MB - Last synced at: 5 days ago - Pushed at: 8 days ago - Stars: 331 - Forks: 23

Cat-Lips/GodotSharp.SourceGenerators

C# source generators for the Godot Game Engine

Language: C# - Size: 602 KB - Last synced at: 8 days ago - Pushed at: 8 days ago - Stars: 224 - Forks: 24

devlooped/ThisAssembly

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

Language: C# - Size: 1.74 MB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 496 - Forks: 25

domn1995/dunet

C# discriminated union source generator

Language: C# - Size: 527 KB - Last synced at: 9 days ago - Pushed at: 17 days ago - Stars: 807 - Forks: 24

cathei/LinqGen

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

Language: C# - Size: 2.2 MB - Last synced at: 1 day ago - Pushed at: over 1 year ago - Stars: 314 - Forks: 11

HavenDV/DependencyPropertyGenerator

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

Language: C# - Size: 1.17 MB - Last synced at: 14 days ago - Pushed at: 14 days ago - Stars: 139 - Forks: 9

Nyrest/FastGenericNew

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

Language: C# - Size: 4.32 MB - Last synced at: 8 days ago - Pushed at: 2 months ago - Stars: 270 - Forks: 10

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: 15 days ago - Pushed at: 15 days ago - Stars: 157 - Forks: 20

k94ll13nn3/AutoConstructor

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

Language: C# - Size: 499 KB - Last synced at: 16 days ago - Pushed at: 16 days ago - Stars: 59 - Forks: 4

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: 8 days ago - Pushed at: over 3 years ago - Stars: 79 - Forks: 7

YairHalberstadt/stronginject

compile time dependency injection for .NET

Language: C# - Size: 1.35 MB - Last synced at: 15 days ago - Pushed at: 5 months ago - Stars: 864 - Forks: 25

cezarypiatek/GRPC-Mock-Server

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

Language: C# - Size: 102 KB - Last synced at: 18 days ago - Pushed at: 18 days ago - Stars: 33 - Forks: 2

diegofrata/Generator.Equals

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

Language: C# - Size: 255 KB - Last synced at: 7 days ago - Pushed at: 4 months ago - Stars: 164 - Forks: 21

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: 7.17 MB - Last synced at: 9 days ago - Pushed at: 9 days ago - Stars: 307 - Forks: 13

DavidLievrouw/ValueObjects

A roslyn generator and analyzer to cure Primitive Obsession

Language: C# - Size: 279 KB - Last synced at: 20 days ago - Pushed at: 20 days ago - Stars: 0 - 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: 15 days ago - Pushed at: 10 months ago - Stars: 31 - Forks: 0

hanachiru/RapidEnum

Enum utility with SourceGenerator for C#/.NET

Language: C# - Size: 589 KB - Last synced at: 2 days ago - Pushed at: 2 months ago - Stars: 63 - Forks: 2

Voltstro-Studios/VoltRpc

VoltRpc - An RPC library which is designed to be both simple to use and fast.

Language: C# - Size: 868 KB - Last synced at: 22 days ago - Pushed at: about 1 year ago - Stars: 15 - Forks: 4

coplt/Coplt.Union

Tagged union for c#

Language: C# - Size: 222 KB - Last synced at: 18 days ago - Pushed at: about 2 months ago - Stars: 21 - Forks: 2

ImmediatePlatform/Immediate.Validations

Source generated validations for Immediate.Handlers parameters

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

filiptrivan/spiderly

.NET (C#) boilerplate code generator that transforms an EF Core model into a fully customizable .NET (C#) + Angular web app

Language: C# - Size: 45.8 MB - Last synced at: about 21 hours ago - Pushed at: about 22 hours ago - Stars: 44 - Forks: 15

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: 363 KB - Last synced at: 11 days ago - Pushed at: 6 months ago - Stars: 28 - Forks: 0

ycanardeau/ResXGenerator

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

Language: C# - Size: 226 KB - Last synced at: 29 days ago - Pushed at: 29 days ago - Stars: 40 - Forks: 6

nenoNaninu/TypedSignalR.Client

C# Source Generator to Create Strongly Typed SignalR Clients.

Language: C# - Size: 2.4 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 192 - Forks: 9

byme8/ZeroQL

C# GraphQL client with Linq-like syntax

Language: C# - Size: 1020 KB - Last synced at: 4 days ago - Pushed at: about 1 month ago - Stars: 312 - Forks: 18

mostmand/Cloneable

Auto generate Clone method using C# Source Generator

Language: C# - Size: 53.7 KB - Last synced at: 3 days ago - Pushed at: over 2 years ago - Stars: 85 - Forks: 12

ignatandrei/RSCG_Examples

Roslyn Source Code Generators with Examples

Language: HTML - Size: 1.15 GB - Last synced at: 15 days ago - Pushed at: about 1 month ago - Stars: 93 - Forks: 6

ImmediatePlatform/Immediate.Handlers

Source Generated implementation of the Mediator pattern

Language: C# - Size: 368 KB - Last synced at: 19 days ago - Pushed at: 21 days ago - Stars: 159 - Forks: 4

SteveDunn/Vogen

A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects

Language: C# - Size: 341 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 1,255 - Forks: 72

HSyr/BuildDateTimeGenerator

C# source code generator for project build date and time

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

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: 19 days ago - Pushed at: about 4 years ago - Stars: 100 - Forks: 12

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: about 1 month ago - Pushed at: almost 3 years ago - Stars: 47 - Forks: 3

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: 25 days ago - Pushed at: over 2 years ago - Stars: 123 - Forks: 14

kant2002/WinFormsComInterop

ComWrappers required to run NativeAOT and WinForms

Language: C# - Size: 761 KB - Last synced at: 5 days ago - Pushed at: 12 months ago - Stars: 276 - Forks: 40

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: about 1 month ago - Pushed at: almost 4 years ago - Stars: 48 - Forks: 1

ImmediatePlatform/Immediate.Apis

Source Generated registrations connecting Immediate.Handlers and minimal APIs

Language: C# - Size: 267 KB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 38 - Forks: 1

DevTeam/Immutype

Immutability is easy!

Language: C# - Size: 140 KB - Last synced at: 22 days ago - Pushed at: about 2 months ago - Stars: 52 - Forks: 3

Stepami/visitor-net

First-ever acyclic generic extensible typesafe implementation of Visitor pattern for .NET without any usage of dynamic cast. Implementation powered by Source Generators

Language: C# - Size: 114 KB - Last synced at: about 1 month ago - Pushed at: about 2 months ago - Stars: 42 - Forks: 2

TheArchitectDev/Architect.DomainModeling

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

Language: C# - Size: 408 KB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 74 - Forks: 5

HamedFathi/MockableStaticGenerator

A C# source generator to make an interface and a class wrapper to test static and extension methods.

Language: C# - Size: 84 KB - Last synced at: 20 days ago - Pushed at: about 3 years ago - Stars: 16 - Forks: 1

CollinAlpert/Lombok.NET

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

Language: C# - Size: 283 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 336 - Forks: 16

MelGrubb/BuilderGenerator

A source-generator-based implementation of the Builder pattern

Language: C# - Size: 817 KB - Last synced at: 7 days ago - Pushed at: 8 months ago - Stars: 44 - Forks: 9

devlooped/avatar 📦

A modern compile-time generated interception/proxy library

Language: C# - Size: 1.32 MB - Last synced at: 2 days ago - Pushed at: over 2 years ago - Stars: 141 - Forks: 10

Yeah69/MrMeeseeks.DIE

Compile-time dependency injection container which requires minimal configuration

Language: C# - Size: 19.3 MB - Last synced at: about 2 months ago - Pushed at: about 2 months ago - Stars: 7 - Forks: 0

Scribbly-Fun/Scribbly.Stencil

A minimal API endpoint source code generator designed to streamline project structure and endpoint declarations.

Language: C# - Size: 5.63 MB - Last synced at: 21 days ago - Pushed at: about 2 months ago - Stars: 5 - Forks: 0

x2bool/mockup

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

Language: C# - Size: 66.4 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 48 - Forks: 1

martinothamar/WrapperValueObject

A .NET source generator for creating simple value objects wrapping primitive types.

Language: C# - Size: 51.8 KB - Last synced at: about 2 months ago - Pushed at: about 3 years ago - Stars: 53 - Forks: 3

BlazorOcticons/BlazorOcticons

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

Language: HTML - Size: 1.15 MB - Last synced at: about 1 month ago - Pushed at: over 1 year ago - Stars: 33 - Forks: 4

GobieGenerator/Gobie

Simple C# source generation based on custom templates

Language: C# - Size: 1.37 MB - Last synced at: 22 days ago - Pushed at: over 2 years ago - Stars: 107 - Forks: 5

StefanStolz/ShadowWriter

Leverage the capabilities of Roslyn source generators to help generate boilerplate code efficiently.

Language: C# - Size: 556 KB - Last synced at: 21 days ago - Pushed at: 2 months ago - Stars: 0 - Forks: 0

Ceiridge/BetterEnums

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

Language: C# - Size: 25.4 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 44 - Forks: 2

dibble-james/LinQL

LINQ like access to a GraphQL Server

Language: C# - Size: 120 KB - Last synced at: about 1 month ago - Pushed at: 2 months ago - Stars: 3 - Forks: 1

pstlnce/Aegis

Fastest mapper DataReader to strongly typed objects

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

cyriaca/Azura

source generation based serialization

Language: C# - Size: 113 KB - Last synced at: 14 days ago - Pushed at: almost 4 years ago - Stars: 6 - Forks: 1

dimohy/GenPack

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

Language: C# - Size: 143 KB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 9 - Forks: 0

ufcpp/StringLiteralGenerator

C# Source Generator for UTF-8 binary literal

Language: C# - Size: 59.6 KB - Last synced at: about 2 months ago - Pushed at: about 1 year ago - Stars: 146 - Forks: 3

Tyrrrz/MiniRazor 📦

Portable Razor compiler & code generator

Language: C# - Size: 164 KB - Last synced at: 15 days ago - Pushed at: over 2 years ago - Stars: 229 - Forks: 25

leoformaggi/enum-utilities-generator

A source generator to generate compile-time mapping of enums and description attributes

Language: C# - Size: 41 KB - Last synced at: 29 days ago - Pushed at: over 3 years ago - Stars: 24 - Forks: 4

HamedFathi/EnumerationClassGenerator

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

Language: C# - Size: 24.4 KB - Last synced at: 10 days ago - Pushed at: about 3 years ago - Stars: 18 - Forks: 3

ashenBlade/EnumClass 📦

Souce Generator that will generate Kotlin like enum class but in C#

Language: C# - Size: 288 KB - Last synced at: 22 days ago - Pushed at: over 2 years ago - Stars: 5 - Forks: 0

giladfrid009/SimpleSIMD

Easy to use SIMD accelerated Array and Span methods

Language: C# - Size: 295 KB - Last synced at: 3 months ago - Pushed at: almost 3 years ago - Stars: 92 - Forks: 3

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: about 1 month ago - Pushed at: over 1 year ago - Stars: 62 - Forks: 6

ufcpp/ValueChangedGenerator

Roslyn Code Fix / Source Generator for generating PropertyChanged from inner struct members.

Language: C# - Size: 216 KB - Last synced at: 27 days ago - Pushed at: over 2 years ago - Stars: 14 - Forks: 4

LokiMidgard/AutoInvoke.Generator

A generator that generates a method that invokes, a specified generic method, for ever Type in your project that sattisfis a defined constraint

Language: C# - Size: 90.8 KB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 10 - Forks: 1

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: 2 months ago - Pushed at: 8 months ago - Stars: 195 - Forks: 18

IGood/boilerplatezero

boilerplatezero is a collection of C# source generators

Language: C# - Size: 129 KB - Last synced at: 3 months ago - Pushed at: almost 2 years ago - Stars: 40 - Forks: 4

Atulin/AutoDbSet

Automagically create `DbSet`s in your `DbContext`

Language: C# - Size: 35.2 KB - Last synced at: 3 months ago - Pushed at: 6 months ago - Stars: 1 - Forks: 0

AvaloniaUtils/ShowMeTheXaml.Avalonia

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

Language: C# - Size: 202 KB - Last synced at: 23 days ago - Pushed at: 4 months ago - Stars: 38 - Forks: 2

SoftStoneDevelop/StackMemoryCollections

Fast unsafe collections for memory reuse by stack type. Adding elements without overhead when increasing Capacity. Can also be used in as classic collection with resizing or on a custom memory allocator.

Language: C# - Size: 2.45 MB - Last synced at: about 1 month ago - Pushed at: about 2 years ago - Stars: 6 - Forks: 0

Georgiy-Petrov/StepwiseBuilderGenerator

Language: C# - Size: 186 KB - Last synced at: about 1 month ago - Pushed at: 5 months ago - Stars: 6 - Forks: 0

ChristophHornung/EmbeddedResourceGenerator

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

Language: C# - Size: 109 KB - Last synced at: 9 days ago - Pushed at: 7 months ago - Stars: 13 - Forks: 3

trungnt2910/DotnetBrowser

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

Language: C# - Size: 45.4 MB - Last synced at: 4 months ago - Pushed at: over 2 years ago - Stars: 11 - Forks: 1

anton-yashin/LightMock.Generator

aot mock source generator

Language: C# - Size: 730 KB - Last synced at: 5 days ago - Pushed at: 5 months ago - Stars: 11 - Forks: 0

VocaDB/ResXFileCodeGenerator 📦

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

Language: C# - Size: 185 KB - Last synced at: about 2 months ago - Pushed at: almost 3 years ago - Stars: 59 - Forks: 12

RohitJha07/BlazorOcticons5

Easily integrate GitHub Octicons into your Blazor projects with BlazorOcticons. Customize `.razor` components for a seamless development experience. 🐙🌟

Language: HTML - Size: 1.14 MB - Last synced at: 4 months ago - Pushed at: 4 months ago - Stars: 0 - Forks: 0

beakona/AutoInterface

C# interface-to-member source generator

Language: C# - Size: 262 KB - Last synced at: about 2 months ago - Pushed at: 4 months ago - Stars: 84 - Forks: 11