PostSharp6.1/API Reference/Post­Sharp.​Constraints Namespace/IReferential­Constraint Interface/IReferential­Constraint Methods/IReferential­Constraint.​Validate­Code Method

IReferentialConstraint.ValidateCode Method

Validates the constraint.

Namespace:  PostSharp.Constraints
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
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.
See Also