MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ExtensibilityMulticast­Attribute­Usage­AttributePersist­Meta­Data
Open sandboxFocus

MulticastAttributeUsageAttribute.PersistMetaData Property

PersistMetaData

By default, custom attributes (metadata) are preserved in the code. To remove them, use the advice RemoveAttributes(IDeclaration, INamedType).

Declaration
public bool PersistMetaData { get; set; }
Property Value
Type Description
System.Boolean