TypeLevelAspect.CompileTimeValidate Method (Object) |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.9.1.0 (6.9.1.0)
public override sealed bool CompileTimeValidate( Object target )
Parameters
- target
- Type: System.Object
Code element (Assembly, Type, FieldInfo, MethodBase, PropertyInfo, EventInfo, ParameterInfo, or LocationInfo) to which the aspect has been applied.
Return Value
Type: Booleantrue if the aspect was applied to an acceptable target, otherwise false.