'<name>' cannot be named as a parameter in an attribute specifier because it is not a field or property
An attribute block sets a value for a nonvariable member of the attribute. You can assign values only to variable members such as fields or properties.
Error ID: BC32010
To correct this error
Ensure that the attribute and member names are spelled correctly.
Remove the argument from the attribute block if the member is nonvariable.