Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 555 Bytes

File metadata and controls

11 lines (6 loc) · 555 Bytes

Iec061 - Only use NotOverridable on POUs

Severity: Error Error

Checks all [NotOverridable] attributes, reports if not used on classes attributed with [Function], [FunctionBlock], [FunctionContainer] or [Program] or methods of classes attributed with [FunctionContainer].

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 or meet the attribute's requirements named above.