jbakic / Shielded

A strict and mostly lock-free Software Transactional Memory (STM) for .NET
MIT License
239 stars 21 forks source link

Please support .net standard transactional pocos. #14

Open AceHack opened 5 years ago

AceHack commented 5 years ago

Either using compile-time code generation or inheriting from base classes (not strictly poco) or Reflection.Emit or something of that nature.

jbakic commented 5 years ago

Hello there :) This is on my to-do list, but I never got around to it. I'll leave the issue open. The best way seems to try to use Reflection.Emit, to avoid adding Roslyn as a dependency, or separating the ProxyGen into a new NuGet package with the dependency.

stoyanov-x commented 4 years ago

This Record implementation uses dotnet-codegen. It might be worth considering it.