The type of a field using the 'DefaultValue' attribute must admit default initialization, i.e. have 'null' as a proper value ...

The type of a field using the 'DefaultValue' attribute must admit default initialization, i.e. have 'null' as a proper value or be a struct type whose fields all admit default initialization. You can use 'DefaultValue(false)' to disable this check