This also happens when the sealed class has a overwritten equals method, it does'nt seem to matter (I omitted it here)
b
Burkhard
11/28/2019, 7:10 PM
This is intentional and has nothing to do with sealed classes. Data classes just don’t work with inheritance and they will only include properties in their primary constructor.