Spinnernicholas / EnumFastToStringDotNet
This is a Visual Studio C# source generator for automatically generating enum extension methods that implement a switch expression based ToString method. Why? The default enum ToString method implements a binary search which is great for large lists but becomes time and memory inefficient for a just a few items when compared to a switch expressi…
☆31Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for EnumFastToStringDotNet
- Extremely fast and lightweight minimalistic object mapper generated on the fly☆42Updated last month
- Source Generator for dumping the git branch information, commit hash, and if the working tree is dirty or clean on projects that install …☆39Updated 2 years ago
- ☆44Updated last week
- ZeroIoC is reflectionless IoC Container for C#☆44Updated 4 months ago
- Allows using C# source generators using a fluent, type safe interface rather than string templating.☆24Updated this week
- High-performance zero-reflection approach to C# metaprogramming☆28Updated last month
- Linq for Span<T> using SourceGenerators☆50Updated 3 years ago
- Simple C# source generation based on custom templates☆97Updated last year
- A .NET source generator for creating simple value objects wrapping primitive types.☆53Updated 2 years ago
- This project uses Source Generation to generate an interface and a Proxy class for classes. This makes it possible to wrap external class…☆39Updated 2 weeks ago
- BigMachines is State Machine library for .NET☆37Updated this week
- A Roslyn analyzer with rules related to generation and consumption of enumerables and async enumerables in C#.☆43Updated 5 months ago
- C# interface-to-member source generator☆76Updated 2 months ago
- Analyzers checking System.Reflection☆80Updated 11 months ago
- A lightweight utility library to create a Roslyn AdhocWorkspace from an existing solution or a csproj☆69Updated 8 months ago
- A set of generators helping dealing with structs in C#☆45Updated 3 years ago
- Source code generator for generating `ToString` method☆18Updated last year
- A Roslyn source generator for creating constructors.☆84Updated this week
- Highly efficient compile-time general purpose DI container based on C# source generators.☆32Updated 2 years ago
- Implementation for pooled in-memory streams for .NET☆39Updated 9 months ago
- Spectre.IO is a .NET library containing cross-platform abstractions and implementations for file system I/O.☆53Updated 4 months ago
- High-performance network packet decoding and packet decoder source generator☆37Updated 2 years ago
- Example implementation of IValueTaskSource☆31Updated last year
- Simple C# source generator for text templates☆31Updated 2 years ago
- String cache to merge duplicate strings; capped with 2 generation LRU eviction and further evictions on Gen2 GC collections.☆67Updated last year
- Stack based zero-allocation XML serializer and deserializer powered by C# 9 source generators☆49Updated 2 years ago
- 🧵 Expressive aliases to ConfigureAwait(true) and ConfigureAwait(false)☆73Updated last year
- A source generator to generate compile-time mapping of enums and description attributes☆23Updated 2 years ago
- A C# source generator to create an enumeration class from an enum type.☆16Updated 2 years ago
- ☆28Updated 3 years ago