Open sandboxFocus

Method RemoveAttributesAsync

RemoveAttributesAsync(IDeclaration, INamedType)

Removes custom attributes of a type, given as an INamedType, from a given declaration and all contained declarations.

Declaration
Task RemoveAttributesAsync(IDeclaration targetDeclaration, INamedType attributeType)
Parameters
Type Name Description
IDeclaration targetDeclaration
INamedType attributeType
Returns
Type Description
Task

RemoveAttributesAsync(IDeclaration, Type)

Removes custom attributes of a type, given as a reflection Type, from a given declaration and all contained declarations.

Declaration
Task RemoveAttributesAsync(IDeclaration targetDeclaration, Type attributeType)
Parameters
Type Name Description
IDeclaration targetDeclaration
Type attributeType
Returns
Type Description
Task