PostSharpAPI ReferencePost­Sharp.​ConstraintsIReferential­ConstraintValidate­Code
Open sandboxFocus

IReferentialConstraint.ValidateCode Method

ValidateCode(Object, Assembly)

Validates the constraint.

Declaration
void ValidateCode(object target, Assembly assembly)
Parameters
Type Name Description
Object target

Declaration (Assembly, System.Type, MethodInfo, ConstructorInfo, System.Reflection.PropertyInfo, EventInfo, System.Reflection.FieldInfo, ParameterInfo) to which the constraint has been applied.

Assembly assembly

The assembly being currently processed.