PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Introduce­Member­Attribute Class / Introduce­Member­Attribute Properties / Introduce­Member­Attribute.​Is­Virtual Property

IntroduceMemberAttribute.IsVirtual Property

Determines whether the introduced member should be virtual.

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool IsVirtual { get; set; }

Property Value

Type: Boolean

Value of this property is ignored when the member to be introduced already exists in the aspect target type or its base type.

See Also