Aaronontheweb on dev
Docs: Programmatic Akka.NET Con… (compare)
FieldInfo.SetValue(object, object), but that requires an object as a first param. So we generated code responsible for casting it back to object (but only for readonly fields). So struct created using activator → casted to its type → casted back to object, was causing an error.