InternalAttribute.ValidateCode Method |
Validates the constraint.
Namespace: PostSharp.Constraints
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public override void ValidateCode( Object target, Assembly assembly )
Parameters
- target
- Type: System.Object
Declaration (Assembly, Type, MethodInfo, ConstructorInfo, PropertyInfo, EventInfo, FieldInfo, ParameterInfo) to which the constraint has been applied. - assembly
- Type: System.Reflection.Assembly
The assembly being currently processed.