CustomAttributeInstance.Target Property |
Gets the declaration on which the custom attribute is defined.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
C#
public Object Target { get; }
Property Value
Type: ObjectA reflection object: Assembly, Type, MethodInfo, ConstructorInfo, ParameterInfo, PropertyInfo, EventInfo, FieldInfo.