PostSharpAPI ReferencePost­Sharp.​Patterns.​ThreadingReentrant­AttributeCompile­Time­Validate
Open sandboxFocus

ReentrantAttribute.CompileTimeValidate Method

CompileTimeValidate(Object)

Method invoked at build time to ensure that the aspect has been applied to the right target.

Declaration
public bool CompileTimeValidate(object target)
Parameters
Type Name Description
Object target

Target element.

Returns
Type Description
Boolean

true if the aspect was applied to an acceptable target, otherwise false.

Implements
IValidableAnnotation.CompileTimeValidate(Object)