Open sandboxFocus

Enum ArgumentAmbiguityResolution

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 ArgumentAmbiguityResolution

Fields

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.