PostSharpAPI ReferencePost­Sharp.​ConstraintsReference­Constraint
Open sandboxFocus

ReferenceConstraint Class

Base class for constraints validating code references.

Inheritance
System.Object
ReferenceConstraint
Namespace: PostSharp.Constraints
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
public abstract class ReferenceConstraint : ReferentialConstraint, IReferentialConstraint, IConstraint

Constructors

Name Description
ReferenceConstraint()

Methods

Name Description
ValidateCode(Object, Assembly)
ValidateReference(ICodeReference)

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