PostSharp.ILAPI ReferencePost­Sharp.​ConstraintsProtected­AttributeValidate­Code
Open sandboxFocus

ProtectedAttribute.ValidateCode Method

ValidateCode(Object, Assembly)

Validates the constraint.

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

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

System.Reflection.Assembly assembly

The assembly being currently processed.

Overrides
ReferentialConstraint.ValidateCode(Object, Assembly)