Checks all [OPC]
, [Ehmi]
, [ProfiCloud]
and [Redundant]
attributes, reports if one is not on fields of classes attributed with [FunctionBlock]
or [Program]
that are of primitive type, IecString
/IecWString
type or a user defined type (a struct
with [String]
, [Array]
or [Structure]
attribute or an enum with the [Enumeration]
attribute).
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.