Skip to content

Latest commit

 

History

History
13 lines (6 loc) · 414 Bytes

File metadata and controls

13 lines (6 loc) · 414 Bytes

Iec079 - Only use Port attributes in Program

Severity: Error Error

The attributes [InputPort] and [OutputPort] should only be used inside classes marked with the [Program] attribute.

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.