Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An attempt was made to use a class that is not derived from System.Attribute.
Error ID: BC31504
To correct this error
- Define custom attributes as classes that derive from
System.Attributeby adding anImportsstatement to the first line of code in the class.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.