Open sandboxFocus

Property UnsupportedTargetAction

UnsupportedTargetAction

Gets or sets the action to take when the aspect is applied to an unsupported target method.

Declaration
public UnsupportedTargetAction UnsupportedTargetAction { get; set; }
Property Value
Type Description
UnsupportedTargetAction
Remarks

A target method is unsupported, for example, when semantic advising is requested for a kind of method that does not support it. By default, PostSharp emits a build-time error. Set this property to Ignore to skip the target silently, or to Fallback to fall back to non-semantic advising.

See Also