Visual Studio compiler throws errors for use of EN/ENO, but the CSharpExamples still shows this as a possibility. Which is correct? Are we able to use EN/ENO functionality in C# libraries?

Visual Studio compiler throws errors for use of EN/ENO, but the CSharpExamples still shows this as a possibility. Which is correct? Are we able to use EN/ENO functionality in C# libraries?

Hi Rob, all errors with the “Iec” prefix are coming from the IecAnalyzer and are implemented by us. They can be deactivated if they hinder in any case, but it is a guidance given by us and should not be ignored. In this case it is a bug, like lots of other keywords, are EN and ENO allowed. This will be fixed with the 2026.0 Toolchain and you can change the severity of that rule “Iec077” for a quick fix.