Rush StackShopBlogEvents
Skip to main content


"The @preapproved tag cannot be applied to ___ because it is not a supported declaration type."


The @preapproved tag is only supported for the following types of declarations:

  • classes
  • enums
  • interfaces
  • namespaces

The types are supported because they are nesting containers whose members can have frequent changes.

How to fix

Remove the @preapproved tag.

See also