ICodeActionBuilder.RemoveAttributesAsync Method
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
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Removes custom attributes of a type, given as a reflection System.Type, from a given declaration and all contained declarations.
Declaration
Task RemoveAttributesAsync(IDeclaration targetDeclaration, Type attributeType)
Parameters
Type |
Name |
Description |
IDeclaration |
targetDeclaration |
|
System.Type |
attributeType |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|