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
- High-performance zero-reflection approach to C# metaprogramming☆28Updated last month
- ☆27Updated 3 years ago
- Extremely fast and lightweight minimalistic object mapper generated on the fly☆42Updated 3 weeks ago
- Stack based zero-allocation XML serializer and deserializer powered by C# 9 source generators☆49Updated last year
- A source generator to generate compile-time mapping of enums and description attributes☆23Updated 2 years ago
- BigMachines is State Machine library for .NET☆37Updated last month
- ☆43Updated last month
- Actual C# Enums with values and better performance as a source generator☆39Updated 7 months ago
- A C# library for efficient bit-level reading and writing also adding bit field support☆41Updated 2 months ago
- A Roslyn source generator for creating constructors.☆85Updated this week
- A Roslyn analyzer with rules related to generation and consumption of enumerables and async enumerables in C#.☆42Updated 5 months ago
- ZeroIoC is reflectionless IoC Container for C#☆44Updated 3 months ago
- A C# source generator to create an enumeration class from an enum type.☆16Updated 2 years ago
- C# SourceGenerator helper which helps you query your files, and adds LINQ support☆22Updated last year
- C# interface-to-member source generator☆76Updated 2 months ago
- Immutability is easy!☆41Updated last week
- Example implementation of IValueTaskSource☆31Updated last year
- This project uses Source Generation to generate an interface and a Proxy class for classes. This makes it possible to wrap external class…☆38Updated last month
- Durian is a collection of Roslyn-based analyzers and source generators that extend the default capabilities of C#.☆57Updated 2 years ago
- Non-boxing passing of values.☆27Updated 3 months ago
- Draft C# Source Generator for API clients☆12Updated 2 years ago
- Spectre.IO is a .NET library containing cross-platform abstractions and implementations for file system I/O.☆53Updated 4 months ago
- 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
- A LINQ-like extensions for C# that uses SIMD extensions to parallelize the operations☆37Updated last month
- Linq for Span<T> using SourceGenerators☆49Updated 3 years ago
- Allows using C# source generators using a fluent, type safe interface rather than string templating.☆24Updated this week
- Analyzers checking System.Reflection☆80Updated 10 months ago
- A .NET source generator for creating simple value objects wrapping primitive types.☆52Updated last year
- Implementation for pooled in-memory streams for .NET☆39Updated 8 months ago
- A C# source generator to make an interface and a class wrapper to test static and extension methods.☆14Updated 2 years ago