Open sandboxFocus

Method CompileTimeValidate

CompileTimeValidate(LocationInfo)

Validates that the current aspect has been applied to a valid location.

Declaration
protected virtual bool CompileTimeValidate(LocationInfo target)
Parameters
Type Name Description
LocationInfo target

The location to which the current aspect has been applied.

Returns
Type Description
bool

true if target is a valid target for the current aspect, otherwise false.