MetalamaAPI documentationAspect APIMetalama.​Framework.​AspectsIntroduce­AttributeWhen­Inherited
Open sandboxFocus

IntroduceAttribute.WhenInherited Property

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