The attribute [DataType]
may only be used on class declarations if they also have the [Function]
attribute.
You can also use the provided automatic Code Fix to remove the attribute or put it on the [User]
method or [Function]
method if there is only one suitable. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)
Remove the attribute.