Compiler Warning (Future Error) AL0733

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. If you'd like to see us prioritize certain areas within the AL diagnostics, you can file a GitHub issue, in the Feedback section at the bottom of this page, choose This page, fill in the template, and include REF PRI in the title. Thanks!

Access modifier '{0}' is not allowed for member '{1}' in the context of object type '{2}'.

Important

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

Description

The access modifier is not allowed for the declared member in the context of the containing type.

See Also

Getting Started with AL
Developing Extensions