Specifies the behavior of ArgumentAttribute when several arguments of the target method match the type of the advice parameter.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public enum ArgumentAmbiguityResolutionFields
| Name | Description |
|---|---|
| Default | Same as Error. |
| Error | The compiler reports an error. This is the default behavior. |
| First | The first matching argument, in the order of the parameter list, is selected. |
| Last | The last matching argument, in the order of the parameter list, is selected. |