I’m not sure how you’re using private constructors.

The only two cases I’ve used it was for:
1. All static classes
2. Singletons where the instance is generated in the class.

It looks like you’re using casting with the Enums?

> On Aug 14, 2020, at 7:03 PM, Christofer Dutz <christofer.d...@c-ware.de> 
> wrote:
> 
> Any idea what could be causing this? As soon as I remove the "private" in 
> front of the constructor, all is good again.

Reply via email to