Currently blocked because abstract static members are only supported in preview language versions
This would (a) make it impossible to forget to implement the Default property, and (b) ensure it uses the correct type. Currently it is quite easy to copy the property from another class and forget to change the type, which ends up being not useful.
Currently blocked because abstract static members are only supported in preview language versions
This would (a) make it impossible to forget to implement the Default property, and (b) ensure it uses the correct type. Currently it is quite easy to copy the property from another class and forget to change the type, which ends up being not useful.