PostSharp6.7//API Reference/Post­Sharp.​Constraints Namespace/Experimental­Attribute Class/Experimental­Attribute Methods/Experimental­Attribute.​Validate­Code Method

ExperimentalAttribute.ValidateCode Method

Validates the constraint.

Namespace:  PostSharp.Constraints
Assembly:  PostSharp (in PostSharp.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
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.

Implements

IReferentialConstraint.ValidateCode(Object, Assembly)
See Also