Compiler Warning (Future Error) AL0677

Note

The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!

The member '{0}' in object '{1}' cannot be declared as protected in object type '{2}'.

Important

This warning will become an error with Business Central 2022 release wave 2.

Get Started with AL
Developing Extensions