Metalama//API Documentation/Aspect API/Metalama.​Framework.​Aspects/Introduce­Attribute/When­Inherited
Open sandboxFocus

Property WhenInherited

WhenInherited

Gets or sets the implementation strategy (like Override, Fail or Ignore) when the member is already declared in a parent class of the target type. The default value is Fail.

Declaration
public OverrideStrategy WhenInherited { get; set; }
Property Value
Type Description
OverrideStrategy