PostSharp.ILAPI ReferencePost­Sharp.​Aspects.​AdvicesMember­Override­ActionOverride­Or­Fail
Open sandboxFocus

MemberOverrideAction.OverrideOrFail Field

Tries to override the member, and fails if it is impossible (i.e. if the existing member is defined in a base type and is sealed or non-virtual).

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public const MemberOverrideAction OverrideOrFail
Returns
Type Description
MemberOverrideAction