Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 466 Bytes

File metadata and controls

11 lines (6 loc) · 466 Bytes

Iec054 - Only use Function attribute in Function Container or on classes

Severity: Error Error

Checks the use of the attribute [Function], reports a diagnostic if it is not inside a class attributed with [FunctionContainer] or at a class.

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.