Class InterfaceMemberOverrideStrategy
Member conflict behavior of interface introduction advice.
Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class InterfaceMemberOverrideStrategy : Enum
Fields
Name | Description |
---|---|
Default | The advice fails with a compilation error if a matching interface member already exists in the target declaration. Same as Fail. |
Fail | The advice fails with a compilation error if a matching interface member already exists in the target declaration. |
MakeExplicit | The advice introduces the interface member as explicit even if the interface member was supposed to be introduced as implicit. |
value__ |