Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 458 Bytes

File metadata and controls

11 lines (6 loc) · 458 Bytes

Iec039 - User type Init methods must not have parameters

Severity: Error Error

One Init() method of a user type (struct 's attributed with [Structure], [Array] or [String]) must not have parameters.

Solution

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

Remove the parameters from one Init()method.