Open sandboxFocus

Property PersistMetaData

PersistMetaData

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

Declaration
[Obsolete("By default, custom attributes (metadata) are preserved in the code. To remove them, use the advice 'IAdviceFactory.RemoveAttributes(IDeclaration, INamedType)'.", false)]
public bool PersistMetaData { get; set; }
Property Value
Type Description
bool