Even though attribute {0} inherits AttributeUsage from its base type, you should consider explicitly specifying AttributeUsage ...