Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 423 Bytes

File metadata and controls

11 lines (6 loc) · 423 Bytes

Iec049 - User attribute should only be used in Function Blocks

Severity: Error Error

Checks the attribute [User], reports a diagnostic if it is not inside a class attributed with [FunctionBlock].

Solution

You can also use the provided automatic Code Fix to remove the attribute. ( Press Alt + Enter on the Error line to find the Code Fix in the context menu)

Remove the attribute.