Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / Reference­Constraint Class / Reference­Constraint Methods / Reference­Constraint.​Validate­Reference Method

ReferenceConstraint.ValidateReference Method

Validates a reference to the target declaration of the current constraint.

Namespace:  PostSharp.Constraints
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
protected abstract void ValidateReference(
	ICodeReference reference
)

Parameters

reference
Type: PostSharp.Reflection.ICodeReference
Represents a reference to the target of the current constraint.
See Also