AddAttribute(AttributeConstruction)
Adds a custom attribute to the current declaration.
Declaration
void AddAttribute(AttributeConstruction attribute)
Parameters
Type | Name | Description |
---|---|---|
AttributeConstruction | attribute |
Metalama.Framework.Code.Collections
Metalama.Framework.Code.Comparers
Metalama.Framework.Code.DeclarationBuilders
Metalama.Framework.Code.Invokers
Metalama.Framework.Code.SyntaxBuilders
Metalama.Framework.Code.Types
Metalama.Framework.Diagnostics
Metalama.Framework.Eligibility
Adds a custom attribute to the current declaration.
void AddAttribute(AttributeConstruction attribute)
Type | Name | Description |
---|---|---|
AttributeConstruction | attribute |