
-
I'd recommend opening a discussion thread on https://github.com/dotnet/csharplang/discussions/new to see if this is something the language could possibly provide as a separate feature so that all kinds of enums work, regardless of target framework or what compiled them.
-
Nutrient
Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
-
There is a github project StronglyTypedId which promises to support the latter kind of thing via source generation though I haven't yet tried it in practice.
-
You might wanna take a look at https://github.com/Cysharp/UnitGenerator we've used it on some of our systems at work and works pretty well overall as Value Objects.