EventLevelAspect.CompileTimeValidate Method (Object) |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.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.